Package net.minecraft.core.registries
Class Registries
java.lang.Object
net.minecraft.core.registries.Registries
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<Activity>> static final ResourceKey
<Registry<Advancement>> static final ResourceKey
<Registry<ArmorMaterial>> static final ResourceKey
<Registry<Attribute>> static final ResourceKey
<Registry<BannerPattern>> static final ResourceKey
<Registry<Biome>> static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends BiomeSource>>> static final ResourceKey
<Registry<Block>> static final ResourceKey
<Registry<BlockEntityType<?>>> static final ResourceKey
<Registry<BlockPredicateType<?>>> static final ResourceKey
<Registry<BlockStateProviderType<?>>> static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends Block>>> static final ResourceKey
<Registry<WorldCarver<?>>> static final ResourceKey
<Registry<CatVariant>> static final ResourceKey
<Registry<ChatType>> static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> static final ResourceKey
<Registry<ChunkStatus>> static final ResourceKey
<Registry<ArgumentTypeInfo<?, ?>>> static final ResourceKey
<Registry<ConfiguredWorldCarver<?>>> static final ResourceKey
<Registry<ConfiguredFeature<?, ?>>> static final ResourceKey
<Registry<CreativeModeTab>> static final ResourceKey
<Registry<ResourceLocation>> static final ResourceKey
<Registry<DamageType>> static final ResourceKey
<Registry<DataComponentType<?>>> static final ResourceKey
<Registry<DecoratedPotPattern>> static final ResourceKey
<Registry<DensityFunction>> static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>>> static final ResourceKey
<Registry<Level>> static final ResourceKey
<Registry<DimensionType>> static final ResourceKey
<Registry<Enchantment>> static final ResourceKey
<Registry<DataComponentType<?>>> static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>>> static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends LevelBasedValue>>> static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>>> static final ResourceKey
<Registry<EnchantmentProvider>> static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>>> static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>>> static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>>> static final ResourceKey
<Registry<EntityType<?>>> static final ResourceKey
<Registry<Feature<?>>> static final ResourceKey
<Registry<FeatureSizeType<?>>> static final ResourceKey
<Registry<FlatLevelGeneratorPreset>> static final ResourceKey
<Registry<FloatProviderType<?>>> static final ResourceKey
<Registry<Fluid>> static final ResourceKey
<Registry<FoliagePlacerType<?>>> static final ResourceKey
<Registry<FrogVariant>> static final ResourceKey
<Registry<GameEvent>> static final ResourceKey
<Registry<HeightProviderType<?>>> static final ResourceKey
<Registry<Instrument>> static final ResourceKey
<Registry<IntProviderType<?>>> static final ResourceKey
<Registry<Item>> static final ResourceKey
<Registry<LootItemFunction>> static final ResourceKey
<Registry<ItemSubPredicate.Type<?>>> static final ResourceKey
<Registry<JukeboxSong>> static final ResourceKey
<Registry<LevelStem>> static final ResourceKey
<Registry<LootItemConditionType>> static final ResourceKey
<Registry<LootItemFunctionType<?>>> static final ResourceKey
<Registry<LootNbtProviderType>> static final ResourceKey
<Registry<LootNumberProviderType>> static final ResourceKey
<Registry<LootPoolEntryType>> static final ResourceKey
<Registry<LootScoreProviderType>> static final ResourceKey
<Registry<LootTable>> static final ResourceKey
<Registry<MapDecorationType>> static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource>>> static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.RuleSource>>> static final ResourceKey
<Registry<MemoryModuleType<?>>> static final ResourceKey
<Registry<MenuType<?>>> static final ResourceKey
<Registry<MobEffect>> static final ResourceKey
<Registry<MultiNoiseBiomeSourceParameterList>> static final ResourceKey
<Registry<NormalNoise.NoiseParameters>> static final ResourceKey
<Registry<NoiseGeneratorSettings>> static final ResourceKey
<Registry<NumberFormatType<?>>> static final ResourceKey
<Registry<PaintingVariant>> static final ResourceKey
<Registry<ParticleType<?>>> static final ResourceKey
<Registry<PlacedFeature>> static final ResourceKey
<Registry<PlacementModifierType<?>>> static final ResourceKey
<Registry<PoiType>> static final ResourceKey
<Registry<com.mojang.serialization.MapCodec<? extends PoolAliasBinding>>> static final ResourceKey
<Registry<PosRuleTestType<?>>> static final ResourceKey
<Registry<PositionSourceType<?>>> static final ResourceKey
<Registry<Potion>> static final ResourceKey
<Registry<LootItemCondition>> static final ResourceKey
<Registry<StructureProcessorList>> static final ResourceKey
<Registry<Recipe<?>>> static final ResourceKey
<Registry<RecipeSerializer<?>>> static final ResourceKey
<Registry<RecipeType<?>>> static final ResourceKey
<Registry<RootPlacerType<?>>> static final ResourceLocation
static final ResourceKey
<Registry<RuleBlockEntityModifierType<?>>> static final ResourceKey
<Registry<RuleTestType<?>>> static final ResourceKey
<Registry<Schedule>> static final ResourceKey
<Registry<SensorType<?>>> static final ResourceKey
<Registry<SoundEvent>> static final ResourceKey
<Registry<StatType<?>>> static final ResourceKey
<Registry<Structure>> static final ResourceKey
<Registry<StructurePieceType>> static final ResourceKey
<Registry<StructurePlacementType<?>>> static final ResourceKey
<Registry<StructurePoolElementType<?>>> static final ResourceKey
<Registry<StructureProcessorType<?>>> static final ResourceKey
<Registry<StructureSet>> static final ResourceKey
<Registry<StructureType<?>>> static final ResourceKey
<Registry<StructureTemplatePool>> static final ResourceKey
<Registry<TreeDecoratorType<?>>> static final ResourceKey
<Registry<CriterionTrigger<?>>> static final ResourceKey
<Registry<TrimMaterial>> static final ResourceKey
<Registry<TrimPattern>> static final ResourceKey
<Registry<TrunkPlacerType<?>>> static final ResourceKey
<Registry<VillagerProfession>> static final ResourceKey
<Registry<VillagerType>> static final ResourceKey
<Registry<WolfVariant>> static final ResourceKey
<Registry<WorldPreset>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> ResourceKey
<Registry<T>> createRegistryKey
(String p_259572_) static String
elementsDirPath
(ResourceKey<? extends Registry<?>> p_343743_) static ResourceKey
<Level> levelStemToLevel
(ResourceKey<LevelStem> p_259475_) static ResourceKey
<LevelStem> levelToLevelStem
(ResourceKey<Level> p_260225_) static String
tagsDirPath
(ResourceKey<? extends Registry<?>> p_343025_)
-
Field Details
-
ROOT_REGISTRY_NAME
-
ACTIVITY
-
ATTRIBUTE
-
BANNER_PATTERN
-
BIOME_SOURCE
public static final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends BiomeSource>>> BIOME_SOURCE -
BLOCK
-
BLOCK_TYPE
public static final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends Block>>> BLOCK_TYPE -
BLOCK_ENTITY_TYPE
-
BLOCK_PREDICATE_TYPE
-
BLOCK_STATE_PROVIDER_TYPE
-
CARVER
-
CAT_VARIANT
-
WOLF_VARIANT
-
CHUNK_GENERATOR
public static final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> CHUNK_GENERATOR -
CHUNK_STATUS
-
COMMAND_ARGUMENT_TYPE
-
CREATIVE_MODE_TAB
-
CUSTOM_STAT
-
DAMAGE_TYPE
-
DENSITY_FUNCTION_TYPE
public static final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>>> DENSITY_FUNCTION_TYPE -
ENCHANTMENT_ENTITY_EFFECT_TYPE
public static final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>>> ENCHANTMENT_ENTITY_EFFECT_TYPE -
ENCHANTMENT_LEVEL_BASED_VALUE_TYPE
public static final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends LevelBasedValue>>> ENCHANTMENT_LEVEL_BASED_VALUE_TYPE -
ENCHANTMENT_LOCATION_BASED_EFFECT_TYPE
public static final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>>> ENCHANTMENT_LOCATION_BASED_EFFECT_TYPE -
ENCHANTMENT_PROVIDER_TYPE
public static final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>>> ENCHANTMENT_PROVIDER_TYPE -
ENCHANTMENT_VALUE_EFFECT_TYPE
public static final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>>> ENCHANTMENT_VALUE_EFFECT_TYPE -
ENTITY_TYPE
-
FEATURE
-
FEATURE_SIZE_TYPE
-
FLOAT_PROVIDER_TYPE
-
FLUID
-
FOLIAGE_PLACER_TYPE
-
FROG_VARIANT
-
GAME_EVENT
-
HEIGHT_PROVIDER_TYPE
-
INSTRUMENT
-
INT_PROVIDER_TYPE
-
ITEM
-
JUKEBOX_SONG
-
LOOT_CONDITION_TYPE
-
LOOT_FUNCTION_TYPE
-
LOOT_NBT_PROVIDER_TYPE
-
LOOT_NUMBER_PROVIDER_TYPE
-
LOOT_POOL_ENTRY_TYPE
-
LOOT_SCORE_PROVIDER_TYPE
-
MATERIAL_CONDITION
public static final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource>>> MATERIAL_CONDITION -
MATERIAL_RULE
public static final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.RuleSource>>> MATERIAL_RULE -
MEMORY_MODULE_TYPE
-
MENU
-
MOB_EFFECT
-
PAINTING_VARIANT
-
PARTICLE_TYPE
-
PLACEMENT_MODIFIER_TYPE
-
POINT_OF_INTEREST_TYPE
-
POSITION_SOURCE_TYPE
-
POS_RULE_TEST
-
POTION
-
RECIPE_SERIALIZER
-
RECIPE_TYPE
-
ROOT_PLACER_TYPE
-
RULE_TEST
-
RULE_BLOCK_ENTITY_MODIFIER
public static final ResourceKey<Registry<RuleBlockEntityModifierType<?>>> RULE_BLOCK_ENTITY_MODIFIER -
SCHEDULE
-
SENSOR_TYPE
-
SOUND_EVENT
-
STAT_TYPE
-
STRUCTURE_PIECE
-
STRUCTURE_PLACEMENT
-
STRUCTURE_POOL_ELEMENT
-
POOL_ALIAS_BINDING
public static final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends PoolAliasBinding>>> POOL_ALIAS_BINDING -
STRUCTURE_PROCESSOR
-
STRUCTURE_TYPE
-
TREE_DECORATOR_TYPE
-
TRUNK_PLACER_TYPE
-
VILLAGER_PROFESSION
-
VILLAGER_TYPE
-
DECORATED_POT_PATTERN
-
NUMBER_FORMAT_TYPE
-
ARMOR_MATERIAL
-
DATA_COMPONENT_TYPE
-
ENTITY_SUB_PREDICATE_TYPE
public static final ResourceKey<Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>>> ENTITY_SUB_PREDICATE_TYPE -
ITEM_SUB_PREDICATE_TYPE
-
MAP_DECORATION_TYPE
-
ENCHANTMENT_EFFECT_COMPONENT_TYPE
-
BIOME
-
CHAT_TYPE
-
CONFIGURED_CARVER
-
CONFIGURED_FEATURE
-
DENSITY_FUNCTION
-
DIMENSION_TYPE
-
ENCHANTMENT
-
ENCHANTMENT_PROVIDER
-
FLAT_LEVEL_GENERATOR_PRESET
-
NOISE_SETTINGS
-
NOISE
-
PLACED_FEATURE
-
STRUCTURE
-
PROCESSOR_LIST
-
STRUCTURE_SET
-
TEMPLATE_POOL
-
TRIGGER_TYPE
-
TRIM_MATERIAL
-
TRIM_PATTERN
-
WORLD_PRESET
-
MULTI_NOISE_BIOME_SOURCE_PARAMETER_LIST
public static final ResourceKey<Registry<MultiNoiseBiomeSourceParameterList>> MULTI_NOISE_BIOME_SOURCE_PARAMETER_LIST -
DIMENSION
-
LEVEL_STEM
-
LOOT_TABLE
-
ITEM_MODIFIER
-
PREDICATE
-
ADVANCEMENT
-
RECIPE
-
-
Constructor Details
-
Registries
public Registries()
-
-
Method Details
-
levelStemToLevel
-
levelToLevelStem
-
createRegistryKey
-
elementsDirPath
-
tagsDirPath
-