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§
- 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
Compound
s. - jcompound
- A convenience macro for constructing
Compound
<
JavaString
>
s
Structs§
- Compound
- A map type with
String
keys andValue
values. - Error
- Errors that can occur when encoding or decoding binary NBT.
Enums§
Functions§
- from_
binary - Decodes uncompressed NBT binary data from the provided slice.
- to_
binary - Encodes uncompressed NBT binary data to the provided writer.