/valence_nbt

Valence's NBT library, extracted from https://github.com/valence-rs/valence/pull/599

Primary LanguageRustMIT LicenseMIT

valence_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.