mirror of
https://github.com/ViaVersion/ViaNBT.git
synced 2024-11-29 12:45:15 +01:00
104486c6e1
* Most notably, move the tag name out the of tags themselves * Always read/write CompoundTags in NBTIO * Don't wrap values given in Tag#setValue / Tag constructors * Abstract NumberTag class for easier (and primitive) number handling * Don't use reflection when creating tag instances * Directly use value in Tag#clone() for number tags * Implement tag specific equals() methods * Update to Java 8 * Replace links using http with https in maven pom * Remove custom nbt types * Proper checks for non-null values
933 B
933 B
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.