valence/crates/valence_registry
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 Registry Redesign (#361) 2023-06-11 09:08:38 -07:00
README.md Reorganize Project (#321) 2023-04-21 14:43:59 -07:00

valence_registry

Manages Minecraft's networked registries in a generic way. This includes the registry codec sent to clients during the initial join.

Consumers of registry such as biome and dimension are expected to update themselves in the registries defined here. Minecraft's default registry codec is loaded by default.

End users are not expected to use this module directly.