Crate valence_nbt
source ·Expand description
§Crates
The standard crates used in Valence projects.
All crates here are exported by the main valence
crate. valence
is the intended interface for both end users and third-party plugin authors.
Crates are versioned in lockstep with the exception of valence_nbt
.
The output of cargo depgraph --workspace-only | tred | dot -Tsvg -o assets/depgraph.svg
looks like this:
Re-exports§
pub use binary::from_binary;
pub use binary::to_binary;
pub use compound::Compound;
pub use list::List;
pub use value::Value;
Modules§
- Support for serializing and deserializing compounds in Java edition’s binary format.
- Zero-cost conversion functions for
valence_nbt
.
Macros§
- A convenience macro for constructing
Compound
s.
Structs§
- Errors that can occur when encoding or decoding binary NBT.
Enums§
- One of the possible NBT data types.