Skip to content

Another library for Minecraft's Named Binary Tag (NBT) format

License

Notifications You must be signed in to change notification settings

SamHDev/luna_nbt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Named Binary Tag (NBT)

The The Named Binary Tag, is a structured binary format used by the game Minecraft for a variety of purposes such as, Player Data and World Saves as well as being used within the Minecraft Protocol.

NBT Specification

This crate is yet another implementation of the NBT format.

crates.io badge docs.rs badge Downloads badge

Key features

  • Support for Serialisation and Deserialization with the Serde framework.
  • Ability to create partial or complete documents through the Tag and Blob objects.
  • Ability to read/write from a socket or buffer.

Cargo Features

  • serde (default) includes Serde serialisation and deserialization support.
  • serde_boolean (default) converts booleans to bytes during serialisation and deserialization.
  • serde_unsigned converts unsigned to their signed counterparts during serialisation and deserialization.
  • debug (default) debug trait impl for tags and blobs
  • arrays utils for writing byte, int and long arrays. (dev branch)
  • compression gzip and DEFLATE support. (dev branch)

Install

Place one of the following in your Cargo.Toml file:

# Stable(ish)
luna_nbt = "0.0.4"

# Master/Dev
git = "https://github.com/samhdev/luna_nbt"

Links

About

Another library for Minecraft's Named Binary Tag (NBT) format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages