move NBTUtil
17 files changed
tree: 30d7bbe94c77f6219ce90f2595c94beb314ec9bc
  1. .gitignore
  2. .travis.yml
  3. LICENSE
  4. README.md
  5. build.gradle
  6. gradle/wrapper/
  7. gradlew
  8. gradlew.bat
  9. settings.gradle
  10. src/
README.md

NBT Build Status

A java implementation of the NBT protocol, including a way to implement custom tags.


Creating Tags

ByteTag bt = new ByteTag("8bitRetroNumber", (byte) 1);
DoubleTag dt = new DoubleTag("64bitFloatingPointNumber", 1.234);

CompoundTag ct = new CompoundTag("compound");

ct.set(bt);
ct.set(dt);