net.minecraft.registry

public class RegistryKeys

net.minecraft.core.registries.Registries
net.minecraft.class_7924
net.minecraft.registry.RegistryKeys

Field summary

Modifier and TypeField
public static final Identifier
ROOT_REGISTRY_NAME
field_47497
ROOT
public static final RegistryKey<Registry<Activity>>
ACTIVITY
field_41222
ACTIVITY
public static final RegistryKey<Registry<EntityAttribute>>
ATTRIBUTE
field_41251
ATTRIBUTE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends BiomeSource>>>
BIOME_SOURCE
field_41253
BIOME_SOURCE
public static final RegistryKey<Registry<BlockEntityType<?>>>
BLOCK_ENTITY_TYPE
field_41255
BLOCK_ENTITY_TYPE
public static final RegistryKey<Registry<BlockPredicateType<?>>>
BLOCK_PREDICATE_TYPE
field_41256
BLOCK_PREDICATE_TYPE
public static final RegistryKey<Registry<BlockStateProviderType<?>>>
BLOCK_STATE_PROVIDER_TYPE
field_41257
BLOCK_STATE_PROVIDER_TYPE
public static final RegistryKey<Registry<Block>>
BLOCK
field_41254
BLOCK
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends Carver>>>
CARVER_TYPE
field_1_7971
CARVER_TYPE_WORLDGEN
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>>
CHUNK_GENERATOR
field_41260
CHUNK_GENERATOR
public static final RegistryKey<Registry<ChunkStatus>>
CHUNK_STATUS
field_41261
CHUNK_STATUS
public static final RegistryKey<Registry<ArgumentSerializer<?, ?>>>
COMMAND_ARGUMENT_TYPE
field_41262
COMMAND_ARGUMENT_TYPE
public static final RegistryKey<Registry<ConsumeEffect$Type<?>>>
CONSUME_EFFECT_TYPE
field_53968
CONSUME_EFFECT_TYPE
public static final RegistryKey<Registry<ItemGroup>>
CREATIVE_MODE_TAB
field_44688
ITEM_GROUP
public static final RegistryKey<Registry<Identifier>>
CUSTOM_STAT
field_41263
CUSTOM_STAT
public static final RegistryKey<Registry<ComponentPredicate$Type<?>>>
DATA_COMPONENT_PREDICATE_TYPE
field_56406
DATA_COMPONENT_PREDICATE_TYPE
public static final RegistryKey<Registry<ComponentType<?>>>
DATA_COMPONENT_TYPE
field_49659
DATA_COMPONENT_TYPE
public static final RegistryKey<Registry<GameRule<?>>>
GAME_RULE
field_64253
GAME_RULE
public static final RegistryKey<Registry<DebugSubscriptionType<?>>>
DEBUG_SUBSCRIPTION
field_62997
DEBUG_SUBSCRIPTION
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>>>
DENSITY_FUNCTION_TYPE
field_41264
DENSITY_FUNCTION_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends DialogBody>>>
DIALOG_BODY_TYPE
field_60819
DIALOG_BODY_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends Dialog>>>
DIALOG_TYPE
field_60820
DIALOG_TYPE
public static final RegistryKey<Registry<ComponentType<?>>>
ENCHANTMENT_EFFECT_COMPONENT_TYPE
field_51838
ENCHANTMENT_EFFECT_COMPONENT_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>>>
ENCHANTMENT_ENTITY_EFFECT_TYPE
field_51840
ENCHANTMENT_ENTITY_EFFECT_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLevelBasedValue>>>
ENCHANTMENT_LEVEL_BASED_VALUE_TYPE
field_51841
ENCHANTMENT_LEVEL_BASED_VALUE_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>>>
ENCHANTMENT_LOCATION_BASED_EFFECT_TYPE
field_51842
ENCHANTMENT_LOCATION_BASED_EFFECT_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>>>
ENCHANTMENT_PROVIDER_TYPE
field_51843
ENCHANTMENT_PROVIDER_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>>>
ENCHANTMENT_VALUE_EFFECT_TYPE
field_51844
ENCHANTMENT_VALUE_EFFECT_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends EntitySubPredicate>>>
ENTITY_SUB_PREDICATE_TYPE
field_49913
ENTITY_SUB_PREDICATE_TYPE
public static final RegistryKey<Registry<EntityType<?>>>
ENTITY_TYPE
field_41266
ENTITY_TYPE
public static final RegistryKey<Registry<EnvironmentAttribute<?>>>
ENVIRONMENT_ATTRIBUTE
field_63927
ENVIRONMENT_ATTRIBUTE
public static final RegistryKey<Registry<EnvironmentAttributeType<?>>>
ATTRIBUTE_TYPE
field_63928
ATTRIBUTE_TYPE
public static final RegistryKey<Registry<FeatureSizeType<?>>>
FEATURE_SIZE_TYPE
field_41268
FEATURE_SIZE_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends Feature>>>
FEATURE_TYPE
field_1_7343
FEATURE_TYPE_WORLDGEN
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends FloatProvider>>>
FLOAT_PROVIDER_TYPE
field_41269
FLOAT_PROVIDER_TYPE
public static final RegistryKey<Registry<Fluid>>
FLUID
field_41270
FLUID
public static final RegistryKey<Registry<FoliagePlacerType<?>>>
FOLIAGE_PLACER_TYPE
field_41271
FOLIAGE_PLACER_TYPE
public static final RegistryKey<Registry<GameEvent>>
GAME_EVENT
field_41273
GAME_EVENT
public static final RegistryKey<Registry<HeightProviderType<?>>>
HEIGHT_PROVIDER_TYPE
field_41274
HEIGHT_PROVIDER_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends InputControl>>>
INPUT_CONTROL_TYPE
field_60816
INPUT_CONTROL_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends IntProvider>>>
INT_PROVIDER_TYPE
field_41196
INT_PROVIDER_TYPE
public static final RegistryKey<Registry<Item>>
ITEM
field_41197
ITEM
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends SlotSource>>>
SLOT_SOURCE_TYPE
field_64252
SLOT_SOURCE_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends LootCondition>>>
LOOT_CONDITION_TYPE
field_41198
LOOT_CONDITION_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends LootFunction>>>
LOOT_FUNCTION_TYPE
field_41199
LOOT_FUNCTION_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends LootNbtProvider>>>
LOOT_NBT_PROVIDER_TYPE
field_41200
LOOT_NBT_PROVIDER_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends LootNumberProvider>>>
LOOT_NUMBER_PROVIDER_TYPE
field_41201
LOOT_NUMBER_PROVIDER_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends LootPoolEntry>>>
LOOT_POOL_ENTRY_TYPE
field_41202
LOOT_POOL_ENTRY_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends LootScoreProvider>>>
LOOT_SCORE_PROVIDER_TYPE
field_41203
LOOT_SCORE_PROVIDER_TYPE
public static final RegistryKey<Registry<MapDecorationType>>
MAP_DECORATION_TYPE
field_50082
MAP_DECORATION_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends MaterialRules$MaterialCondition>>>
MATERIAL_CONDITION_TYPE
field_1_7344
MATERIAL_CONDITION_TYPE_WORLDGEN
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends MaterialRules$MaterialRule>>>
MATERIAL_RULE_TYPE
field_1_7345
MATERIAL_RULE_TYPE_WORLDGEN
public static final RegistryKey<Registry<MemoryModuleType<?>>>
MEMORY_MODULE_TYPE
field_41206
MEMORY_MODULE_TYPE
public static final RegistryKey<Registry<ScreenHandlerType<?>>>
MENU
field_41207
SCREEN_HANDLER
public static final RegistryKey<Registry<StatusEffect>>
MOB_EFFECT
field_41208
STATUS_EFFECT
public static final RegistryKey<Registry<NumberFormatType<?>>>
NUMBER_FORMAT_TYPE
field_47556
NUMBER_FORMAT_TYPE
public static final RegistryKey<Registry<ParticleType<?>>>
PARTICLE_TYPE
field_41210
PARTICLE_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends PlacementModifier>>>
PLACEMENT_MODIFIER_TYPE
field_41211
PLACEMENT_MODIFIER_TYPE
public static final RegistryKey<Registry<PointOfInterestType>>
POINT_OF_INTEREST_TYPE
field_41212
POINT_OF_INTEREST_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends StructurePoolAliasBinding>>>
POOL_ALIAS_BINDING
field_46913
POOL_ALIAS_BINDING
public static final RegistryKey<Registry<PositionSourceType<?>>>
POSITION_SOURCE_TYPE
field_41213
POSITION_SOURCE_TYPE
public static final RegistryKey<Registry<PosRuleTestType<?>>>
POS_RULE_TEST
field_41214
POS_RULE_TEST
public static final RegistryKey<Registry<Potion>>
POTION
field_41215
POTION
public static final RegistryKey<Registry<RecipeBookCategory>>
RECIPE_BOOK_CATEGORY
field_54928
RECIPE_BOOK_CATEGORY
public static final RegistryKey<Registry<RecipeDisplay$Serializer<?>>>
RECIPE_DISPLAY
field_54875
RECIPE_DISPLAY
public static final RegistryKey<Registry<RecipeSerializer<?>>>
RECIPE_SERIALIZER
field_41216
RECIPE_SERIALIZER
public static final RegistryKey<Registry<RecipeType<?>>>
RECIPE_TYPE
field_41217
RECIPE_TYPE
public static final RegistryKey<Registry<RootPlacerType<?>>>
ROOT_PLACER_TYPE
field_41218
ROOT_PLACER_TYPE
public static final RegistryKey<Registry<RuleBlockEntityModifierType<?>>>
RULE_BLOCK_ENTITY_MODIFIER
field_43382
RULE_BLOCK_ENTITY_MODIFIER
public static final RegistryKey<Registry<RuleTestType<?>>>
RULE_TEST
field_41219
RULE_TEST
public static final RegistryKey<Registry<SensorType<?>>>
SENSOR_TYPE
field_41221
SENSOR_TYPE
public static final RegistryKey<Registry<SlotDisplay$Serializer<?>>>
SLOT_DISPLAY
field_54876
SLOT_DISPLAY
public static final RegistryKey<Registry<SoundEvent>>
SOUND_EVENT
field_41225
SOUND_EVENT
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends SpawnCondition>>>
SPAWN_CONDITION_TYPE
field_56405
SPAWN_CONDITION_TYPE
public static final RegistryKey<Registry<StatType<?>>>
STAT_TYPE
field_41226
STAT_TYPE
public static final RegistryKey<Registry<StructurePieceType>>
STRUCTURE_PIECE
field_41227
STRUCTURE_PIECE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends StructurePlacement>>>
STRUCTURE_PLACEMENT
field_41228
STRUCTURE_PLACEMENT
public static final RegistryKey<Registry<StructurePoolElementType<?>>>
STRUCTURE_POOL_ELEMENT
field_41229
STRUCTURE_POOL_ELEMENT
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends StructureProcessor>>>
STRUCTURE_PROCESSOR
field_41230
STRUCTURE_PROCESSOR
public static final RegistryKey<Registry<StructureType<?>>>
STRUCTURE_TYPE
field_41231
STRUCTURE_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends DialogAction>>>
DIALOG_ACTION_TYPE
field_61039
DIALOG_ACTION_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends TestEnvironmentDefinition<?>>>>
TEST_ENVIRONMENT_DEFINITION_TYPE
field_56158
TEST_ENVIRONMENT_DEFINITION_TYPE
public static final RegistryKey<Registry<Consumer<TestContext>>>
TEST_FUNCTION
field_56157
TEST_FUNCTION
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends TestInstance>>>
TEST_INSTANCE_TYPE
field_56159
TEST_INSTANCE_TYPE
public static final RegistryKey<Registry<ChunkTicketType>>
TICKET_TYPE
field_55882
TICKET_TYPE
public static final RegistryKey<Registry<TreeDecoratorType<?>>>
TREE_DECORATOR_TYPE
field_41232
TREE_DECORATOR_TYPE
public static final RegistryKey<Registry<TrunkPlacerType<?>>>
TRUNK_PLACER_TYPE
field_41233
TRUNK_PLACER_TYPE
public static final RegistryKey<Registry<VillagerProfession>>
VILLAGER_PROFESSION
field_41234
VILLAGER_PROFESSION
public static final RegistryKey<Registry<VillagerType>>
VILLAGER_TYPE
field_41235
VILLAGER_TYPE
public static final RegistryKey<Registry<IncomingRpcMethod<?, ?>>>
INCOMING_RPC_METHOD
field_62492
INCOMING_RPC_METHODS
public static final RegistryKey<Registry<OutgoingRpcMethod<?, ?>>>
OUTGOING_RPC_METHOD
field_62493
OUTGOING_RPC_METHODS
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends Permission>>>
PERMISSION_TYPE
field_63645
PERMISSION_TYPE
public static final RegistryKey<Registry<com.mojang.serialization.MapCodec<? extends PermissionCheck>>>
PERMISSION_CHECK_TYPE
field_63646
PERMISSION_CHECK_TYPE
public static final RegistryKey<Registry<BannerPattern>>
BANNER_PATTERN
field_41252
BANNER_PATTERN
public static final RegistryKey<Registry<Biome>>
BIOME
field_41236
BIOME
public static final RegistryKey<Registry<CatSoundVariant>>
CAT_SOUND_VARIANT
field_1_1801
CAT_SOUND_VARIANT
public static final RegistryKey<Registry<CatVariant>>
CAT_VARIANT
field_41259
CAT_VARIANT
public static final RegistryKey<Registry<Carver>>
CARVER
field_1_7970
CARVER_WORLDGEN
public static final RegistryKey<Registry<MessageType>>
CHAT_TYPE
field_41237
MESSAGE_TYPE
public static final RegistryKey<Registry<ChickenSoundVariant>>
CHICKEN_SOUND_VARIANT
field_1_1802
CHICKEN_SOUND_VARIANT
public static final RegistryKey<Registry<ChickenVariant>>
CHICKEN_VARIANT
field_56596
CHICKEN_VARIANT
public static final RegistryKey<Registry<ZombieNautilusVariant>>
ZOMBIE_NAUTILUS_VARIANT
field_64475
ZOMBIE_NAUTILUS_VARIANT
public static final RegistryKey<Registry<Feature>>
FEATURE
field_41267
FEATURE
public static final RegistryKey<Registry<CowSoundVariant>>
COW_SOUND_VARIANT
field_1_1803
COW_SOUND_VARIANT
public static final RegistryKey<Registry<CowVariant>>
COW_VARIANT
field_56510
COW_VARIANT
public static final RegistryKey<Registry<DamageType>>
DAMAGE_TYPE
field_42534
DAMAGE_TYPE
public static final RegistryKey<Registry<DensityFunction>>
DENSITY_FUNCTION
field_41240
DENSITY_FUNCTION
public static final RegistryKey<Registry<Dialog>>
DIALOG
field_60818
DIALOG
public static final RegistryKey<Registry<DimensionType>>
DIMENSION_TYPE
field_41241
DIMENSION_TYPE
public static final RegistryKey<Registry<EnchantmentProvider>>
ENCHANTMENT_PROVIDER
field_51839
ENCHANTMENT_PROVIDER
public static final RegistryKey<Registry<Enchantment>>
ENCHANTMENT
field_41265
ENCHANTMENT
public static final RegistryKey<Registry<FlatLevelGeneratorPreset>>
FLAT_LEVEL_GENERATOR_PRESET
field_41242
FLAT_LEVEL_GENERATOR_PRESET
public static final RegistryKey<Registry<FrogVariant>>
FROG_VARIANT
field_41272
FROG_VARIANT
public static final RegistryKey<Registry<Instrument>>
INSTRUMENT
field_41275
INSTRUMENT
public static final RegistryKey<Registry<JukeboxSong>>
JUKEBOX_SONG
field_52176
JUKEBOX_SONG
public static final RegistryKey<Registry<MaterialRules$MaterialCondition>>
MATERIAL_CONDITION
field_41204
MATERIAL_CONDITION
public static final RegistryKey<Registry<MaterialRules$MaterialRule>>
MATERIAL_RULE
field_41205
MATERIAL_RULE
public static final RegistryKey<Registry<MultiNoiseBiomeSourceParameterList>>
MULTI_NOISE_BIOME_SOURCE_PARAMETER_LIST
field_43089
MULTI_NOISE_BIOME_SOURCE_PARAMETER_LIST
public static final RegistryKey<Registry<ChunkGeneratorSettings>>
NOISE_SETTINGS
field_41243
CHUNK_GENERATOR_SETTINGS
public static final RegistryKey<Registry<DoublePerlinNoiseSampler$NoiseParameters>>
NOISE
field_41244
NOISE_PARAMETERS
public static final RegistryKey<Registry<PaintingVariant>>
PAINTING_VARIANT
field_41209
PAINTING_VARIANT
public static final RegistryKey<Registry<PigSoundVariant>>
PIG_SOUND_VARIANT
field_1_1804
PIG_SOUND_VARIANT
public static final RegistryKey<Registry<PigVariant>>
PIG_VARIANT
field_55883
PIG_VARIANT
public static final RegistryKey<Registry<PlacedFeature>>
PLACED_FEATURE
field_41245
PLACED_FEATURE
public static final RegistryKey<Registry<StructureProcessorList>>
PROCESSOR_LIST
field_41247
PROCESSOR_LIST
public static final RegistryKey<Registry<StructureSet>>
STRUCTURE_SET
field_41248
STRUCTURE_SET
public static final RegistryKey<Registry<Structure>>
STRUCTURE
field_41246
STRUCTURE
public static final RegistryKey<Registry<SulfurCubeArchetype>>
SULFUR_CUBE_ARCHETYPE
field_1_3553
SULFUR_CUBE_ARCHETYPE
public static final RegistryKey<Registry<StructurePool>>
TEMPLATE_POOL
field_41249
TEMPLATE_POOL
public static final RegistryKey<Registry<TestEnvironmentDefinition<?>>>
TEST_ENVIRONMENT
field_56160
TEST_ENVIRONMENT
public static final RegistryKey<Registry<TestInstance>>
TEST_INSTANCE
field_56161
TEST_INSTANCE
public static final RegistryKey<Registry<Timeline>>
TIMELINE
field_64476
TIMELINE
public static final RegistryKey<Registry<TradeSet>>
TRADE_SET
field_1_110
TRADE_SET
public static final RegistryKey<Registry<TrialSpawnerConfig>>
TRIAL_SPAWNER_CONFIG
field_54032
TRIAL_SPAWNER
public static final RegistryKey<Registry<Criterion<?>>>
TRIGGER_TYPE
field_47498
CRITERION
public static final RegistryKey<Registry<ArmorTrimMaterial>>
TRIM_MATERIAL
field_42083
TRIM_MATERIAL
public static final RegistryKey<Registry<ArmorTrimPattern>>
TRIM_PATTERN
field_42082
TRIM_PATTERN
public static final RegistryKey<Registry<VillagerTrade>>
VILLAGER_TRADE
field_1_111
VILLAGER_TRADE
public static final RegistryKey<Registry<WolfVariant>>
WOLF_VARIANT
field_49772
WOLF_VARIANT
public static final RegistryKey<Registry<WolfSoundVariant>>
WOLF_SOUND_VARIANT
field_57110
WOLF_SOUND_VARIANT
public static final RegistryKey<Registry<WorldClockKey>>
WORLD_CLOCK
field_1_982
WORLD_CLOCK
public static final RegistryKey<Registry<WorldPreset>>
WORLD_PRESET
field_41250
WORLD_PRESET
public static final RegistryKey<Registry<DecoratedPotPattern>>
DECORATED_POT_PATTERN
field_42941
DECORATED_POT_PATTERN
public static final RegistryKey<Registry<World>>
DIMENSION
field_41223
WORLD
public static final RegistryKey<Registry<DimensionOptions>>
LEVEL_STEM
field_41224
DIMENSION
public static final RegistryKey<Registry<LootTable>>
LOOT_TABLE
field_50079
LOOT_TABLE
public static final RegistryKey<Registry<LootFunction>>
ITEM_MODIFIER
field_50080
ITEM_MODIFIER
public static final RegistryKey<Registry<LootCondition>>
PREDICATE
field_50081
PREDICATE
public static final RegistryKey<Registry<SlotSource>>
SLOT_SOURCE
field_1_7346
SLOT_SOURCE
public static final RegistryKey<Registry<Advancement>>
ADVANCEMENT
field_52177
ADVANCEMENT
public static final RegistryKey<Registry<Recipe<?>>>
RECIPE
field_52178
RECIPE

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static RegistryKey<World>
levelStemToLevel(ResourceKey<LevelStem> levelStem)
method_47516(class_5321<class_5363> arg0)
toWorldKey(RegistryKey<DimensionOptions> key)
public static RegistryKey<DimensionOptions>
levelToLevelStem(ResourceKey<Level> level)
method_47518(class_5321<class_1937> arg0)
toDimensionKey(RegistryKey<World> key)
private static <T> RegistryKey<Registry<T>>
createRegistryKey(String name)
method_47517(String arg0)
of(String id)
private static String
registryDirPath(ResourceKey<? extends Registry<?>> registryKey)
method_1_886(class_5321<? extends class_2378<?>> arg0)
getRawPath(RegistryKey<? extends Registry<?>> registryRef)
public static String
elementsDirPath(ResourceKey<? extends Registry<?>> registryKey)
method_60915(class_5321<? extends class_2378<?>> arg0)
getPath(RegistryKey<? extends Registry<?>> registryRef)
public static String
tagsDirPath(ResourceKey<? extends Registry<?>> registryKey)
method_60916(class_5321<? extends class_2378<?>> arg0)
getTagPath(RegistryKey<? extends Registry<?>> registryRef)
public static String
componentsDirPath(ResourceKey<? extends Registry<?>> registryKey)
method_1_885(class_5321<? extends class_2378<?>> arg0)
getComponentPath(RegistryKey<? extends Registry<?>> registryRef)