Skip to content

Version 3.0.0

Compare
Choose a tag to compare
@piegamesde piegamesde released this 07 Jul 18:49
· 5 commits to develop since this release

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