A library for dealing with Minecraft NBT and SNBT.
Go to file
Nassim Jahnke 412b730811 2.1.3 Release
Improve ListTag type error
2023-10-07 22:13:05 +10:00
.github/workflows Add CI action. 2019-08-27 23:53:25 -07:00
src/main/java/com/github/steveice10/opennbt 2.1.3 Release 2023-10-07 22:13:05 +10:00
.gitignore General cleanup, fixes, and re-versioning. 2015-07-20 11:13:51 -07:00
LICENSE.txt 2.1.1, remove Guava dependency 2023-03-03 13:51:13 +01:00
pom.xml 2.1.3 Release 2023-10-07 22:13:05 +10:00
README.md Various optimizations and improvements 2021-03-14 18:21:42 +01:00

OpenNBT

OpenNBT is a library for reading and writing NBT files, with some extra custom tags added to allow the storage of more data types.

This fork contains various improvements and changes specifically made for use in Via plugins, including but not limited to the following list:

  • Most notably, move the tag name out the of tags themselves
  • Add primitive getter methods to number types
  • Don't wrap values given in Tag#setValue / Tag constructors
  • Abstract NumberTag class for easier number handling
  • Always read/write CompoundTags in NBTIO
  • Don't use reflection when creating tag instances
  • Directly use value in clone()
  • Implement tag specific equals() methods
  • Update to Java 8

Building the Source

OpenNBT uses Maven to manage dependencies. Simply run 'mvn clean install' in the source's directory.

License

OpenNBT is licensed under the MIT license.