Releases: piegamesde/nbt
Releases · piegamesde/nbt
Version 3.0.1
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
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 castByteArrayTag
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.
- By setting a flag in
- 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 affectsPalette
(nowPalette1_13
) andChunk#extractFromLong
(nowChunk#extractFromLong1_13
). - A new method
Chunk#extractFromLong1_16
was added. There is noPalette1_16
counterpart as there is no need for it due to the new format.
- The old methods and classes got deprecated and renamed to have the suffix
- Updated Gradle to version 6
Version 2.0.0
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
ListTag
s now save theTagType
of their child elements, instead of theirClass<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
Important changes
- Improved compression options
- Code cleanup
- Added RegionFile reading support
- Support the new
LongArrayTag