Skip to content

Releases: arnaudrmt/SwiftNBT

v1.0.0 - Initial Release

28 Nov 15:11

Choose a tag to compare

Features

  • Auto-Decompression: Automatically detects and handles GZip and ZLib headers using the native system zlib, ensuring 100% compatibility with Minecraft data (RFC 1952).
  • Type Safety: Built on a comprehensive NBTTag enum that strictly represents every Minecraft data type (Byte, Short, Int, Long, Float, Double, Arrays, Lists, Compounds).
  • Syntactic Sugar: Navigate complex NBT trees effortlessly using dictionary-like subscripts (e.g., tag["display"]["Name"]) and safe optional casting.
  • Debug Tools: Includes a handy .printTree() method to visualize the NBT structure hierarchy in the console.
  • Lightweight: Zero external dependencies (other than system libraries), keeping your build times fast and binary size small.