valence/crates/valence_dimension
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_dimension

Contains dimension types and the dimension type registry. Minecraft's default dimensions are added to the registry by default.

NOTE:

  • Modifying the dimension type registry after the server has started can break invariants within instances and clients! Make sure there are no instances or clients spawned before mutating.