A high-performance, pure-Rust implementation of the Named Binary Tag (NBT) format, specifically tailored for Minecraft Bedrock Edition but including support for Java Edition. Part of the bedrock-crustaceans ecosystem.
- Bedrock Optimized: Full support for Little Endian and Varint encoding used in Bedrock.
- Memory Efficient: Optimized for low-allocation parsing and high-speed serialization.
- Unstructed Data: Support for NBT data with no predefined structure.
- Serde Integration: Optional
serdesupport for easy mapping between Rust structs and NBT. - Strictly Typed: Safe handling of Compound, List, and Byte Array tags.
Add this to your Cargo.toml:
[dependencies]
nbtx = "3.0"and then start deserialising with nbtx. Or take a look at any of the other examples
We welcome contributions of all kinds, including bug fixes, new features, docs updates, and improvements across crates.
Please read the full contribution guide here: CONTRIBUTING.md
For guidance or collaboration, connect with the community on Discord.
This project is licensed under the Apache License 2.0. See the LICENSE for the details.