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.
Modules§
- builtin
- All built-in registries.
- data
- Definitions for data-driven registries that implement
DataRegistry. - identifier
- An arbitrary identifier or resource location.
- tags
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
Traits§
- Data
Registry - A registry which has its values decided by the server in the
ClientboundRegistryDatapacket. - Data
Registry Key - Data
Registry KeyRef - Registry