move NBTUtil / tests for NBTUtil / fix custom tags
20 files changed
tree: cf3578a4357fbfdf75102369ef90e904ab42b03d
  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);