Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Registries

Generated from the 26.3 decompile by tools/gen_reference.py. Do not edit by hand.

Every registry key in the game but the root registry’s own. 156 of them are declared in Registries; five more are declared by the class that owns them (ClockTimeMarkers, EquipmentAssets, RecipePropertySet, ServerFunctionLibrary, WaypointStyleAssets) with the public ResourceKey.createRegistryKey rather than Registries’ private helper, which is why this total is larger than the 156 identifiers and registries counts. Built-in registries are created empty when BuiltInRegistries loads, filled during Bootstrap.bootStrap — most by BuiltInRegistries.bootStrap through their owners’ own bootstrap methods, the block, item and entity-type registries earlier, by their owner classes’ static initialisers, which Bootstrap.bootStrap reaches first — and frozen; data-pack registries are loaded per world by RegistryDataLoader from JSON (WORLD_REGISTRIES, or DIMENSION_REGISTRIES for level stems), and the reloadable ones by the same loader on every data-pack reload (RELOADABLE_REGISTRIES, read by ReloadableServerRegistries); synced ones are sent to the client in the configuration phase (SYNCHRONIZED_REGISTRIES). A key that is none of these is a registry type the game reasons about without a global instance (e.g. per-world or client-side). See Identifiers and registries.

161 keys · 95 built-in · 60 data-pack, 8 of them reloadable · 32 synced

keyelement typekindsynced
activity (Registries.ACTIVITY)Activitybuilt-in
advancement (Registries.ADVANCEMENT)Advancementdata-pack (reloadable)
attribute (Registries.ATTRIBUTE)Attributebuilt-in
attribute_type (Registries.ATTRIBUTE_TYPE)AttributeType<…>built-in
banner_pattern (Registries.BANNER_PATTERN)BannerPatterndata-packyes
block (Registries.BLOCK)Blockbuilt-in
block_entity_type (Registries.BLOCK_ENTITY_TYPE)BlockEntityType<…>built-in
block_predicate_type (Registries.BLOCK_PREDICATE_TYPE)BlockPredicateType<…>built-in
block_transformer (Registries.BLOCK_TRANSFORMER)BlockTransformerdata-packyes
cat_sound_variant (Registries.CAT_SOUND_VARIANT)CatSoundVariantdata-packyes
cat_variant (Registries.CAT_VARIANT)CatVariantdata-packyes
chat_type (Registries.CHAT_TYPE)ChatTypedata-packyes
chicken_sound_variant (Registries.CHICKEN_SOUND_VARIANT)ChickenSoundVariantdata-packyes
chicken_variant (Registries.CHICKEN_VARIANT)ChickenVariantdata-packyes
chunk_status (Registries.CHUNK_STATUS)ChunkStatusbuilt-in
clock_time_marker (ClockTimeMarkers.ROOT_ID)ClockTimeMarker—
command_argument_type (Registries.COMMAND_ARGUMENT_TYPE)ArgumentTypeInfo<…>built-in
consume_effect_type (Registries.CONSUME_EFFECT_TYPE)ConsumeEffect.Type<…>built-in
context_float_provider (Registries.CONTEXT_FLOAT_PROVIDER)ContextFloatProviderdata-pack (reloadable)
context_float_provider_type (Registries.CONTEXT_FLOAT_PROVIDER_TYPE)MapCodec<…>built-in
context_int_provider (Registries.CONTEXT_INT_PROVIDER)ContextIntProviderdata-pack (reloadable)
context_int_provider_type (Registries.CONTEXT_INT_PROVIDER_TYPE)MapCodec<…>built-in
context_key_set (Registries.CONTEXT_KEY_SET)ContextKeySetbuilt-in
cow_sound_variant (Registries.COW_SOUND_VARIANT)CowSoundVariantdata-packyes
cow_variant (Registries.COW_VARIANT)CowVariantdata-packyes
creative_mode_tab (Registries.CREATIVE_MODE_TAB)CreativeModeTabbuilt-in
custom_stat (Registries.CUSTOM_STAT)Identifierbuilt-in
damage_type (Registries.DAMAGE_TYPE)DamageTypedata-packyes
data_component_predicate_type (Registries.DATA_COMPONENT_PREDICATE_TYPE)DataComponentPredicate.Type<…>built-in
data_component_type (Registries.DATA_COMPONENT_TYPE)DataComponentType<…>built-in
debug_subscription (Registries.DEBUG_SUBSCRIPTION)DebugSubscription<…>built-in
decorated_pot_pattern (Registries.DECORATED_POT_PATTERN)DecoratedPotPatterndata-packyes
dialog (Registries.DIALOG)Dialogdata-packyes
dialog_action_type (Registries.DIALOG_ACTION_TYPE)MapCodec<…>built-in
dialog_body_type (Registries.DIALOG_BODY_TYPE)MapCodec<…>built-in
dialog_type (Registries.DIALOG_TYPE)MapCodec<…>built-in
dimension (Registries.DIMENSION)Level—
dimension (Registries.LEVEL_STEM)LevelStemdata-pack (dimension)
dimension_type (Registries.DIMENSION_TYPE)DimensionTypedata-packyes
enchantment (Registries.ENCHANTMENT)Enchantmentdata-packyes
enchantment_effect_component_type (Registries.ENCHANTMENT_EFFECT_COMPONENT_TYPE)DataComponentType<…>built-in
enchantment_entity_effect_type (Registries.ENCHANTMENT_ENTITY_EFFECT_TYPE)MapCodec<…>built-in
enchantment_level_based_value_type (Registries.ENCHANTMENT_LEVEL_BASED_VALUE_TYPE)MapCodec<…>built-in
enchantment_location_based_effect_type (Registries.ENCHANTMENT_LOCATION_BASED_EFFECT_TYPE)MapCodec<…>built-in
enchantment_provider (Registries.ENCHANTMENT_PROVIDER)EnchantmentProviderdata-pack
enchantment_provider_type (Registries.ENCHANTMENT_PROVIDER_TYPE)MapCodec<…>built-in
enchantment_value_effect_type (Registries.ENCHANTMENT_VALUE_EFFECT_TYPE)MapCodec<…>built-in
entity_sub_predicate_type (Registries.ENTITY_SUB_PREDICATE_TYPE)Codec<…>built-in
entity_type (Registries.ENTITY_TYPE)EntityType<…>built-in
environment_attribute (Registries.ENVIRONMENT_ATTRIBUTE)EnvironmentAttribute<…>built-in
equipment_asset (EquipmentAssets.ROOT_ID)EquipmentAsset—
float_provider_type (Registries.FLOAT_PROVIDER_TYPE)MapCodec<…>built-in
fluid (Registries.FLUID)Fluidbuilt-in
frog_variant (Registries.FROG_VARIANT)FrogVariantdata-packyes
function (ServerFunctionLibrary.TYPE_KEY)CommandFunction<…>—
game_event (Registries.GAME_EVENT)GameEventbuilt-in
game_rule (Registries.GAME_RULE)GameRule<…>built-in
height_provider_type (Registries.HEIGHT_PROVIDER_TYPE)HeightProviderType<…>built-in
incoming_rpc_methods (Registries.INCOMING_RPC_METHOD)IncomingRpcMethod<…>built-in
input_control_type (Registries.INPUT_CONTROL_TYPE)MapCodec<…>built-in
instrument (Registries.INSTRUMENT)Instrumentdata-packyes
int_provider_type (Registries.INT_PROVIDER_TYPE)MapCodec<…>built-in
item (Registries.ITEM)Itembuilt-in
item_modifier (Registries.ITEM_MODIFIER)LootItemFunctiondata-pack (reloadable)
jukebox_song (Registries.JUKEBOX_SONG)JukeboxSongdata-packyes
loot_condition_type (Registries.LOOT_CONDITION_TYPE)MapCodec<…>built-in
loot_function_type (Registries.LOOT_FUNCTION_TYPE)MapCodec<…>built-in
loot_nbt_provider_type (Registries.LOOT_NBT_PROVIDER_TYPE)MapCodec<…>built-in
loot_pool_entry_type (Registries.LOOT_POOL_ENTRY_TYPE)MapCodec<…>built-in
loot_score_provider_type (Registries.LOOT_SCORE_PROVIDER_TYPE)MapCodec<…>built-in
loot_table (Registries.LOOT_TABLE)LootTabledata-pack (reloadable)
map_decoration_type (Registries.MAP_DECORATION_TYPE)MapDecorationTypebuilt-in
memory_module_type (Registries.MEMORY_MODULE_TYPE)MemoryModuleType<…>built-in
menu (Registries.MENU)MenuType<…>built-in
mob_effect (Registries.MOB_EFFECT)MobEffectbuilt-in
number_format_type (Registries.NUMBER_FORMAT_TYPE)NumberFormatType<…>built-in
outgoing_rpc_methods (Registries.OUTGOING_RPC_METHOD)OutgoingRpcMethod<…>built-in
painting_variant (Registries.PAINTING_VARIANT)PaintingVariantdata-packyes
particle_type (Registries.PARTICLE_TYPE)ParticleType<…>built-in
permission_check_type (Registries.PERMISSION_CHECK_TYPE)MapCodec<…>built-in
permission_type (Registries.PERMISSION_TYPE)MapCodec<…>built-in
pig_sound_variant (Registries.PIG_SOUND_VARIANT)PigSoundVariantdata-packyes
pig_variant (Registries.PIG_VARIANT)PigVariantdata-packyes
point_of_interest_type (Registries.POINT_OF_INTEREST_TYPE)PoiTypebuilt-in
pos_rule_test (Registries.POS_RULE_TEST)PosRuleTestType<…>built-in
position_source_type (Registries.POSITION_SOURCE_TYPE)PositionSourceType<…>built-in
potion (Registries.POTION)Potionbuilt-in
predicate (Registries.PREDICATE)LootItemConditiondata-pack (reloadable)
recipe (Registries.RECIPE)Recipe<…>data-pack (reloadable)
recipe_book_category (Registries.RECIPE_BOOK_CATEGORY)RecipeBookCategorybuilt-in
recipe_display (Registries.RECIPE_DISPLAY)RecipeDisplay.Type<…>built-in
recipe_property_set (RecipePropertySet.TYPE_KEY)RecipePropertySet—
recipe_serializer (Registries.RECIPE_SERIALIZER)RecipeSerializer<…>built-in
recipe_type (Registries.RECIPE_TYPE)RecipeType<…>built-in
rule_block_entity_modifier (Registries.RULE_BLOCK_ENTITY_MODIFIER)RuleBlockEntityModifierType<…>built-in
rule_test (Registries.RULE_TEST)RuleTestType<…>built-in
sensor_type (Registries.SENSOR_TYPE)SensorType<…>built-in
slot_display (Registries.SLOT_DISPLAY)SlotDisplay.Type<…>built-in
slot_source (Registries.SLOT_SOURCE)SlotSourcedata-pack (reloadable)
slot_source_type (Registries.SLOT_SOURCE_TYPE)MapCodec<…>built-in
sound_event (Registries.SOUND_EVENT)SoundEventbuilt-in
spawn_condition_type (Registries.SPAWN_CONDITION_TYPE)MapCodec<…>built-in
stat_type (Registries.STAT_TYPE)StatType<…>built-in
sulfur_cube_archetype (Registries.SULFUR_CUBE_ARCHETYPE)SulfurCubeArchetypedata-packyes
test_environment (Registries.TEST_ENVIRONMENT)TestEnvironmentDefinition<…>data-packyes
test_environment_definition_type (Registries.TEST_ENVIRONMENT_DEFINITION_TYPE)MapCodec<…>built-in
test_function (Registries.TEST_FUNCTION)Consumer<…>built-in
test_instance (Registries.TEST_INSTANCE)GameTestInstancedata-packyes
test_instance_type (Registries.TEST_INSTANCE_TYPE)MapCodec<…>built-in
ticket_type (Registries.TICKET_TYPE)TicketTypebuilt-in
timeline (Registries.TIMELINE)Timelinedata-packyes
trade_set (Registries.TRADE_SET)TradeSetdata-pack
trial_spawner (Registries.TRIAL_SPAWNER_CONFIG)TrialSpawnerConfigdata-pack
trigger_type (Registries.TRIGGER_TYPE)CriterionTrigger<…>built-in
trim_material (Registries.TRIM_MATERIAL)TrimMaterialdata-packyes
trim_pattern (Registries.TRIM_PATTERN)TrimPatterndata-packyes
villager_profession (Registries.VILLAGER_PROFESSION)VillagerProfessionbuilt-in
villager_trade (Registries.VILLAGER_TRADE)VillagerTradedata-pack
villager_type (Registries.VILLAGER_TYPE)VillagerTypebuilt-in
waypoint_style_asset (WaypointStyleAssets.ROOT_ID)WaypointStyleAsset—
wolf_sound_variant (Registries.WOLF_SOUND_VARIANT)WolfSoundVariantdata-packyes
wolf_variant (Registries.WOLF_VARIANT)WolfVariantdata-packyes
world_clock (Registries.WORLD_CLOCK)WorldClockdata-packyes
worldgen/biome (Registries.BIOME)Biomedata-packyes
worldgen/biome_source (Registries.BIOME_SOURCE)MapCodec<…>built-in
worldgen/block_state_provider (Registries.BLOCK_STATE_PROVIDER)BlockStateProviderdata-packyes
worldgen/block_state_provider_type (Registries.BLOCK_STATE_PROVIDER_TYPE)MapCodec<…>built-in
worldgen/carver (Registries.CARVER)WorldCarverdata-pack
worldgen/carver_type (Registries.CARVER_TYPE)MapCodec<…>built-in
worldgen/chunk_generator (Registries.CHUNK_GENERATOR)MapCodec<…>built-in
worldgen/density_function (Registries.DENSITY_FUNCTION)DensityFunctiondata-pack
worldgen/density_function_type (Registries.DENSITY_FUNCTION_TYPE)MapCodec<…>built-in
worldgen/feature (Registries.FEATURE)Featuredata-pack
worldgen/feature_size_type (Registries.FEATURE_SIZE_TYPE)FeatureSizeType<…>built-in
worldgen/feature_type (Registries.FEATURE_TYPE)MapCodec<…>built-in
worldgen/flat_level_generator_preset (Registries.FLAT_LEVEL_GENERATOR_PRESET)FlatLevelGeneratorPresetdata-pack
worldgen/foliage_placer_type (Registries.FOLIAGE_PLACER_TYPE)FoliagePlacerType<…>built-in
worldgen/material_condition (Registries.MATERIAL_CONDITION)MaterialConditiondata-pack
worldgen/material_condition_type (Registries.MATERIAL_CONDITION_TYPE)MapCodec<…>built-in
worldgen/material_rule (Registries.MATERIAL_RULE)MaterialRuledata-pack
worldgen/material_rule_type (Registries.MATERIAL_RULE_TYPE)MapCodec<…>built-in
worldgen/multi_noise_biome_source_parameter_list (Registries.MULTI_NOISE_BIOME_SOURCE_PARAMETER_LIST)MultiNoiseBiomeSourceParameterListdata-pack
worldgen/noise (Registries.NOISE)NormalNoisedata-pack
worldgen/noise_settings (Registries.NOISE_SETTINGS)NoiseGeneratorSettingsdata-pack
worldgen/placed_feature (Registries.PLACED_FEATURE)PlacedFeaturedata-pack
worldgen/placement_modifier_type (Registries.PLACEMENT_MODIFIER_TYPE)MapCodec<…>built-in
worldgen/pool_alias_binding (Registries.POOL_ALIAS_BINDING)MapCodec<…>built-in
worldgen/processor_list (Registries.PROCESSOR_LIST)StructureProcessorListdata-pack
worldgen/root_placer_type (Registries.ROOT_PLACER_TYPE)RootPlacerType<…>built-in
worldgen/structure (Registries.STRUCTURE)Structuredata-pack
worldgen/structure_piece (Registries.STRUCTURE_PIECE)StructurePieceTypebuilt-in
worldgen/structure_placement (Registries.STRUCTURE_PLACEMENT)MapCodec<…>built-in
worldgen/structure_pool_element (Registries.STRUCTURE_POOL_ELEMENT)StructurePoolElementType<…>built-in
worldgen/structure_processor (Registries.STRUCTURE_PROCESSOR)MapCodec<…>built-in
worldgen/structure_set (Registries.STRUCTURE_SET)StructureSetdata-pack
worldgen/structure_type (Registries.STRUCTURE_TYPE)StructureType<…>built-in
worldgen/template_pool (Registries.TEMPLATE_POOL)StructureTemplatePooldata-pack
worldgen/tree_decorator_type (Registries.TREE_DECORATOR_TYPE)TreeDecoratorType<…>built-in
worldgen/trunk_placer_type (Registries.TRUNK_PLACER_TYPE)TrunkPlacerType<…>built-in
worldgen/world_preset (Registries.WORLD_PRESET)WorldPresetdata-pack
zombie_nautilus_variant (Registries.ZOMBIE_NAUTILUS_VARIANT)ZombieNautilusVariantdata-packyes