Skip to content

Releases: piegamesde/nbt

Version 3.0.1

02 Aug 19:32
Compare
Choose a tag to compare

Changes

  • Write permission when opening Region files is now optional. This means that read-only mounted Minecraft worlds won't fail with permission denied anymore (except if your try to modify and write them, of course).

Version 3.0.0

07 Jul 18:49
Compare
Choose a tag to compare

Changes

  • Renamed the base package to de.piegames.nbt.
    • Obviously, this is a breaking change!
    • Apart from this, the API itself remains backwards compatible. This means that changing the imports should suffice to upgrade to this version.
  • Allow raw array parsing
    • By setting a flag in NBTInputStream, all primitive arrays will be read as byte arrays. Some API was added to cast ByteArrayTag into the respective representation.
    • This should improve performance for applications that read huge NBT files, but are only interested in a few bits of data from them.
  • Minecraft 1.16 support: The actual data formats did not change. The only notable thing that changed is how the palette data of a chunk is encoded.
    • The old methods and classes got deprecated and renamed to have the suffix 1_13. This affects Palette (now Palette1_13) and Chunk#extractFromLong (now Chunk#extractFromLong1_13).
    • A new method Chunk#extractFromLong1_16 was added. There is no Palette1_16 counterpart as there is no need for it due to the new format.
  • Updated Gradle to version 6

Version 2.0.0

01 Aug 11:33
Compare
Choose a tag to compare

Changes

Warning: this version is not fully backwards-compatible to previous releases!

  • Removed old, unused code (including the GUI stub)
  • Removed deprecated methods
  • Use Optional to access a tag's value as well as its children in a less painful, type-safe manner (no more casting!).
  • Allow tags to be mutated
  • ListTags now save the TagType of their child elements, instead of their Class<T extends Tag<?>>
  • Rewrote the RegionFile API, thanks to contructive feedback from @xcube16.
  • Updated to Java 8
  • Updated Gradle to 5.0+

Version 1.1.0

01 Aug 11:20
Compare
Choose a tag to compare

Important changes

  • Improved compression options
  • Code cleanup
  • Added RegionFile reading support
  • Support the new LongArrayTag