Crate valence_nbt

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 in Compounds to be preserved during insertion and deletion at a slight cost to performance. The iterators on Compound can then implement DoubleEndedIterator.
  • serde Adds support for serde

Re-exports§

pub use compound::Compound;
pub use list::List;
pub use value::Value;

Modules§

compound
conv
Zero-cost conversion functions for valence_nbt.
list
value

Macros§

compound
A convenience macro for constructing Compounds.

Enums§

Tag
One of the possible NBT data types.