Skip to content

v0.19.2

Latest

Choose a tag to compare

@ShrBox ShrBox released this 08 Jul 09:27
054ae2d

Added

  • Added NbtCompound::hasTag(key) for checking whether a compound contains a
    tag @zimuya4153

Changed

  • Improved NBT parsing and mutation:
    NBT.parseSNBT(snbt) now parses scalar and list SNBT values in addition to
    compounds; NbtCompound::set* APIs now create missing keys automatically;
    array/object-based NBT builders plus NbtList::addTag / setTag now accept
    null as EndTag @zimuya4153
  • Renamed the exposed SNBT format enum binding from SnbtFormatEnumBuilder to
    SnbtFormat @zimuya4153
  • Adjusted toSNBT(space) formatting so one-argument indented output uses
    partial line-feed formatting @zimuya4153

Fixed

  • Fixed NBT list setter APIs so replacing existing elements no longer fails due
    to stale type checks @zimuya4153
  • Fixed byte-list to-object conversion in the NBT JSON bridge @zimuya4153