mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 22:41:30 +11:00
c4741b68b8
## 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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
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 onCompound
can then implement [DoubleEndedIterator
].serde
Adds support forserde