Skip to content

cerus/simple-nbt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maven Central badge GitHub Workflow Status

simple-nbt

Very simple implementation of the NBT (Named Binary Tag) format.

Features

  • Reading (un)compressed nbt
  • Writing (un)compressed nbt
  • Custom tag implementations
  • NBT -> stringified NBT (Tag#stringify())

Installation

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>

Usage

Take a look at the examples

References