The NBT Java library provides a simple read and write API for Minecraft NBT files and streams.
You can find basic usage examples for the library in the
Please report bugs in our Bugtracker. If you don't want to wait for them to fixed by one of our project members you can also submit a bugfix on GitHub with the pull request feature (please refer to the contribution section for more information and notices).
You need to have Maven installed (http://maven.apache.org). Once installed, simply run:
mvn clean install
Maven will automatically download dependencies for you. Note: For that to work, be sure to add Maven to your "PATH".
You can include this library into your projects easily by adding the following repository and dependency to your project:
<!- ... --> <repository> <id>evil-co</id> <url>http://basket.cindyscats.com/content/repositories/releases/</url> </repository> <!- ... --> <dependency> <groupId>com.evilco.mc</groupId> <artifactId>nbt</artifactId> <version>1.0.2</version> </dependency> <!- ... -->
We happily accept contributions. The best way to do this is to fork the project on GitHub, add your changes, and then submit a pull request. We'll look at it, make comments, and merge it into the project if everything works out.
By submitting code, you agree to license your code under the Apache 2.0 License.