User Tools

Site Tools


Standard Registries

Minecraft has registries for many kinds of objects, such as blocks, items or entities. These are the registries in vanilla:

(Note: For version 1.19.3 and above, please replace Registry with Registries.)

General registries

These registries are useful for many types of mods.

  • Registry.REGISTRIES
    • Contains all the registries themselves.
  • Registry.BLOCK
  • Registry.ITEM
    • Contains all items (including block items).
    • Contains the 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
    • Contains all enchantments.
  • Registry.POTION
    • Contains all different potion types, such as “long potion of night vision”, “water” or “potion of luck”.
    • Contains all dimension types.
    • Contains all screen handlers. Screen handlers are used to synchronize GUI state between the server and the client.
  • Registry.RECIPE_TYPE
    • Contains all recipe serializers. Recipe serializers are used to load recipes, and there can be many serializers for a single type (such as both shaped and shapeless crafting recipes).
    • Contains all painting motives, or the different types of paintings.
  • Registry.SOUND_EVENT
    • Contains all different sound events like entity.item.pickup.
  • Registry.STAT
    • Contains all different stat types. Stats use a generic type, <T>, to get different data for different T values.
      • Stats that don't depend on outside objects (eg. walk_one_cm) use the custom stat type, which uses registered Identifiers as the T type.
      • Stats that aren't custom stats might depend on a specific block or item type, like Stats.MINED.
  • Registry.CUSTOM_STAT
    • Contains all “custom stats”, which are identifiers for stats that don't depend on outside objects.


Most of these registries, apart from ENTITY_TYPE itself, are related to entity AI.

  • Registry.ENTITY_TYPE
    • Contains the EntityType of each entity. Like block entity types, entity types are used for syncing and deserialization.
  • Registry.SCHEDULE
    • Contains schedules for entities (usually villagers). Schedules control their activities based on the time of day.
  • Registry.ACTIVITY
    • Controls activities for entities (usually villagers). Activities, such as play or work, control the behavior of entities.
  • Registry.SENSOR_TYPE
    • Contains the type of each entity sensor. Sensors allow entities to “sense” different things and store them in their memory.
    • Like schedules and activities, this is mostly used by villagers.
    • Contains all types of memory modules. Memory module types describe different things entities can remember.
  • Registry.VILLAGER_TYPE
    • Contains all villager biome types.
    • Contains all villager professions.
    • Contains all types of points of interest. Points of interest allow entities to search for different blocks in the world, such as villager job sites. They are also used to locate nether portals.

World generation

World generation in Minecraft is complex, and there are a lot of different registries for world gen.

  • Registry.BIOME
  • Registry.FEATURE
  • Registry.CARVER
    • Contains all carvers. Carvers are used to create caves and ravines.
  • Registry.DECORATOR
    • Contains all decorators. Decorators are used to place features.
    • Contains all biome source types. They determine which biome is placed where during world generation.
    • Contains all tree decorator types. Tree decorators can add additional blocks, such as beehives or vines, to trees.
    • Contains all foliage placer types. Foliage placers are used to generate the leaves of trees.
    • Contains all block state provider types. They are used to select a possibly random block state based on a position.
    • Contains all block placer types. Block placers are used to place blocks in features like RandomPatchFeature.
    • Contains all chunk generator types. Chunk generators define the basic shape of the terrain, such as surface for overworld-like, caves for nether-like and floating_islands for end-like terrain.
  • Registry.CHUNK_STATUS
    • Contains all chunk status types. They describe the current progress of world generation in a chunk.
    • Contains all structure piece types. Structure pieces are smaller parts of a structure, such as a single room.
  • Registry.RULE_TEST
    • Contains all rule test types. They are used to match blocks in structure generation.
    • Contains all structure processor types. Structure processors modify structures after they have been generated.
    • Contains all structure pool elements. Structure pool elements are even smaller parts of structures, and they are contained within pool structure pieces. They are used for generating structures that are based on datapacks (such as structures using jigsaws).
    • Contains all surface builders. Surface builders are used to place the surface blocks of a biome, such as grass in many overworld biomes.
tutorial/registry_types.txt · Last modified: 2022/12/15 23:50 by solidblock