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:

dependency graph

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§

binary
Support for serializing and deserializing compounds in Java edition’s binary format.
compound
conv
Zero-cost conversion functions for valence_nbt.
list
serde
snbt
value

Macros§

compound
A convenience macro for constructing Compounds.
jcompound
A convenience macro for constructing Compound<JavaString>s

Structs§

Error
Errors that can occur when encoding or decoding binary NBT.

Enums§

Tag
One of the possible NBT data types.

Type Aliases§

Result