Crate valence_nbt
source ·Expand description
valence_nbt
A library for encoding and decoding Minecraft’s Named Binary Tag (NBT) format.
Features
binary
: Adds support for serializing and deserializing in Java edition’s binary format.snbt
: Adds support for serializing and deserializing in “stringified” format.preserve_order
: Causes the order of fields inCompound
s to be preserved during insertion and deletion at a slight cost to performance. The iterators onCompound
can then implementDoubleEndedIterator
.serde
Adds support forserde
Re-exports
Modules
- Zero-cost conversion functions for
valence_nbt
.
Macros
- A convenience macro for constructing
Compound
s.
Enums
- One of the possible NBT data types.