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:
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§
- An NBT list value.
- One of the possible NBT data types.
- Represents an arbitrary NBT value.
Functions§
- Decodes uncompressed NBT binary data from the provided slice.
- Encodes uncompressed NBT binary data to the provided writer.