Expand description
§azalea-registry
Minecraft’s registries are a system that give identifiers to certain enums the game.
Some registries, defined in crate::builtin, are static for the client and server. This includes blocks and items.
Other registries, defined in crate::data, are sent to us by the server. This includes things such as enchantments and biomes.
Re-exports§
pub use azalea_registry_macros as macros;
Modules§
- builtin
- All built-in registries.
- data
- Definitions for data-driven registries that implement
[
DataRegistry]. - data_
registry - item
- registry_
holder - The data sent to the client in the
ClientboundRegistryDataPacket. - tags
Macros§
Structs§
- Optional
Registry - A registry that might not be present.
Enums§
- Custom
Registry - A registry that will either take an ID or a resource location.
- Holder
- A reference to either a registry or a custom value (usually something with
an
Identifier). - Holder
Set