Crate chunkedge_nbt

Crate chunkedge_nbt 

Source
Expand description

§chunkedge_nbt

A library for encoding and decoding Minecraft’s Named Binary Tag (NBT) format.

§Features

  • binary: Serialize and deserialize in Java edition’s binary format.
  • snbt: Serialize and deserialize in “stringified” format.
  • preserve_order: Preserve the order of fields in Compounds during insertion and deletion. The iterators on Compound then implement DoubleEndedIterator.
  • serde: Adds support for serde.
  • java_string: Adds support for Java-compatible strings via the java_string crate.
  • chunkedge_ident: Adds compatibility with the chunkedge_ident crate.

Re-exports§

pub use binary::from_binary;
pub use binary::from_network_binary;
pub use binary::to_binary;
pub use binary::to_network_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 chunkedge_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