Skip to content

knbt v0.11.0

Compare
Choose a tag to compare
@BenWoodworth BenWoodworth released this 04 Oct 04:37
· 48 commits to 0.11 since this release

Changes

  • Implemented Stringified NBT deserialization
  • Allow Boolean values to be serialized
    • Serialized with Byte tags: false = 0b, true = 1b
    • Added NbtByte(Boolean) constructor and NbtByte.booleanValue property
    • Added NbtCompoundBuilder.put(name, boolean) and NbtListBuilder.add(boolean) functions
  • Added an nbt property to NbtEncoder and NbtDecoder, so NBT configurations can be used by serializers

Breaking Changes

  • Made NbtException classes internal (they were accidentally left public)
    • Use SerializationException instead