Skip to main content

Crate azalea_registry

Crate azalea_registry 

Source
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§

define_data_components
define_effect_components
registry_holder

Structs§

OptionalRegistry
A registry that might not be present.

Enums§

CustomRegistry
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).
HolderSet

Traits§

BuiltinRegistry
Registry