Crate valence::nbt

source ·
Expand description

valence_nbt

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

Features

  • binary: Adds support for serializing and deserializing in Java edition’s binary format.
  • snbt: Adds support for serializing and deserializing in “stringified” format.
  • preserve_order: Causes the order of fields in Compounds to be preserved during insertion and deletion at a slight cost to performance. The iterators on Compound can then implement DoubleEndedIterator.
  • serde Adds support for serde

Modules

Macros

Structs

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.