valence/crates/valence_nbt
Ryan Johnson c4741b68b8
Registry Redesign (#361)
## Description

- Revert the "biomes/dimensions as entities" idea since it caused too
many problems without much to show for it.
- Make use of `valence_nbt`'s serde support in `valence_biome` and
`valence_dimension`.
- Reduce boilerplate, reorganize `valence_registry` a bit.
- Tweak default biome registry such that `BiomeId::default` always
corresponds to "minecraft:plains".
- Add `Option` and unit variant support to `valence_nbt`'s serde impl.
2023-06-11 09:08:38 -07:00
..
src Registry Redesign (#361) 2023-06-11 09:08:38 -07:00
Cargo.toml serde support for valence_nbt + fixes. (#352) 2023-06-04 05:56:10 -07:00
README.md serde support for valence_nbt + fixes. (#352) 2023-06-04 05:56:10 -07:00

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 [Compound]s 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