Very simple implementation of the NBT (Named Binary Tag) format.
- Reading (un)compressed nbt
- Writing (un)compressed nbt
- Custom tag implementations
- NBT -> stringified NBT (
Tag#stringify()
)
simple-nbt is available in the Maven central repository.
<dependencies>
<depencency>
<groupId>dev.cerus</groupId>
<artifactId>simple-nbt</artifactId>
<version>1.1.8</version> <!-- Replace with latest version -->
<scope>compile</scope>
</depencency>
</dependencies>
Prior to 1.1.8
You can add simple-nbt to your project with Maven using Jitpack.io:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.cerus</groupId>
<artifactId>simple-nbt</artifactId>
<version>v1.1.4</version>
</dependency>
</dependencies>
Take a look at the examples