Outdated page and not necessary.
Minecraft has registries for many kinds of objects, such as blocks, items or entities. These are the registries in vanilla:
The page is outdated. For version 1.19.3 and above, please replaceRegistry
withRegistries
.
Some of the reigstries may not exist in latest versions, as they are data-driven. For example, you cannot find biome registries inRegistry.BIOME
andRegistries.BIOME
. However, their registry keys exist inRegistryKeys.BIOME
. More information see registry_keys.
These registries are useful for many types of mods.
Registry.REGISTRIES
Registry.BLOCK
Registry.ITEM
Registry.BLOCK_ENTITY_TYPE
BlockEntityType
of each block entity. Block entity types are used to deserialize block entities and store compatible blocks.Registry.STATUS_EFFECT
Registry.PARTICLE_TYPE
Registry.FLUID
Registry.ENCHANTMENT
Registry.POTION
Registry.DIMENSION_TYPE
Registry.SCREEN_HANDLER
Registry.RECIPE_TYPE
Registry.RECIPE_SERIALIZER
Registry.PAINTING_MOTIVE
Registry.SOUND_EVENT
entity.item.pickup
.Registry.STAT
<T>
, to get different data for different T
values.walk_one_cm
) use the custom
stat type, which uses registered Identifier
s as the T
type.custom
stats might depend on a specific block or item type, like Stats.MINED
.Registry.CUSTOM_STAT
Most of these registries, apart from ENTITY_TYPE
itself, are related to entity AI.
Registry.ENTITY_TYPE
EntityType
of each entity. Like block entity types, entity types are used for syncing and deserialization.Registry.SCHEDULE
Registry.ACTIVITY
play
or work
, control the behavior of entities.Registry.SENSOR_TYPE
Registry.MEMORY_MODULE_TYPE
Registry.VILLAGER_TYPE
Registry.VILLAGER_PROFESSION
Registry.POINT_OF_INTEREST_TYPE
World generation in Minecraft is complex, and there are a lot of different registries for world gen.
Registry.BIOME
Registry.FEATURE
Registry.STRUCTURE_FEATURE
Registry.CARVER
Registry.DECORATOR
Registry.BIOME_SOURCE_TYPE
Registry.TREE_DECORATOR_TYPE
Registry.FOLIAGE_PLACER_TYPE
Registry.BLOCK_STATE_PROVIDER_TYPE
Registry.BLOCK_PLACER_TYPE
RandomPatchFeature
.Registry.CHUNK_GENERATOR_TYPE
surface
for overworld-like, caves
for nether-like and floating_islands
for end-like terrain.Registry.CHUNK_STATUS
Registry.STRUCTURE_PIECE
Registry.RULE_TEST
Registry.STRUCTURE_PROCESSOR
Registry.STRUCTURE_POOL_ELEMENT
Registry.SURFACE_BUILDER