Class Registries
java.lang.Object
net.minecraft.core.registries.Registries
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceKey<Registry<Activity>> static final ResourceKey<Registry<Advancement>> static final ResourceKey<Registry<Attribute>> static final ResourceKey<Registry<AttributeType<?>>> static final ResourceKey<Registry<BannerPattern>> static final ResourceKey<Registry<Biome>> static final ResourceKey<Registry<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<MapCodec<? extends Block>>> static final ResourceKey<Registry<WorldCarver<?>>> static final ResourceKey<Registry<CatSoundVariant>> static final ResourceKey<Registry<CatVariant>> static final ResourceKey<Registry<ChatType>> static final ResourceKey<Registry<ChickenSoundVariant>> static final ResourceKey<Registry<ChickenVariant>> static final ResourceKey<Registry<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<ConsumeEffect.Type<?>>> static final ResourceKey<Registry<CowSoundVariant>> static final ResourceKey<Registry<CowVariant>> static final ResourceKey<Registry<CreativeModeTab>> static final ResourceKey<Registry<Identifier>> static final ResourceKey<Registry<DamageType>> static final ResourceKey<Registry<DataComponentPredicate.Type<?>>> static final ResourceKey<Registry<DataComponentType<?>>> static final ResourceKey<Registry<DebugSubscription<?>>> static final ResourceKey<Registry<DecoratedPotPattern>> static final ResourceKey<Registry<DensityFunction>> static final ResourceKey<Registry<MapCodec<? extends DensityFunction>>> static final ResourceKey<Registry<Dialog>> static final ResourceKey<Registry<MapCodec<? extends Action>>> static final ResourceKey<Registry<MapCodec<? extends DialogBody>>> static final ResourceKey<Registry<MapCodec<? extends Dialog>>> static final ResourceKey<Registry<Level>> static final ResourceKey<Registry<DimensionType>> static final ResourceKey<Registry<Enchantment>> static final ResourceKey<Registry<DataComponentType<?>>> static final ResourceKey<Registry<MapCodec<? extends EnchantmentEntityEffect>>> static final ResourceKey<Registry<MapCodec<? extends LevelBasedValue>>> static final ResourceKey<Registry<MapCodec<? extends EnchantmentLocationBasedEffect>>> static final ResourceKey<Registry<EnchantmentProvider>> static final ResourceKey<Registry<MapCodec<? extends EnchantmentProvider>>> static final ResourceKey<Registry<MapCodec<? extends EnchantmentValueEffect>>> static final ResourceKey<Registry<MapCodec<? extends EntitySubPredicate>>> static final ResourceKey<Registry<EntityType<?>>> static final ResourceKey<Registry<EnvironmentAttribute<?>>> static final ResourceKey<Registry<Feature<?>>> static final ResourceKey<Registry<FeatureSizeType<?>>> static final ResourceKey<Registry<FlatLevelGeneratorPreset>> static final ResourceKey<Registry<MapCodec<? extends FloatProvider>>> static final ResourceKey<Registry<Fluid>> static final ResourceKey<Registry<FoliagePlacerType<?>>> static final ResourceKey<Registry<FrogVariant>> static final ResourceKey<Registry<GameEvent>> static final ResourceKey<Registry<GameRule<?>>> static final ResourceKey<Registry<HeightProviderType<?>>> static final ResourceKey<Registry<IncomingRpcMethod<?, ?>>> static final ResourceKey<Registry<MapCodec<? extends InputControl>>> static final ResourceKey<Registry<Instrument>> static final ResourceKey<Registry<MapCodec<? extends IntProvider>>> static final ResourceKey<Registry<Item>> static final ResourceKey<Registry<LootItemFunction>> static final ResourceKey<Registry<JukeboxSong>> static final ResourceKey<Registry<LevelStem>> static final ResourceKey<Registry<MapCodec<? extends LootItemCondition>>> static final ResourceKey<Registry<MapCodec<? extends LootItemFunction>>> static final ResourceKey<Registry<MapCodec<? extends NbtProvider>>> static final ResourceKey<Registry<MapCodec<? extends NumberProvider>>> static final ResourceKey<Registry<MapCodec<? extends LootPoolEntryContainer>>> static final ResourceKey<Registry<MapCodec<? extends ScoreboardNameProvider>>> static final ResourceKey<Registry<LootTable>> static final ResourceKey<Registry<MapDecorationType>> static final ResourceKey<Registry<MapCodec<? extends SurfaceRules.ConditionSource>>> static final ResourceKey<Registry<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<OutgoingRpcMethod<?, ?>>> static final ResourceKey<Registry<PaintingVariant>> static final ResourceKey<Registry<ParticleType<?>>> static final ResourceKey<Registry<MapCodec<? extends PermissionCheck>>> static final ResourceKey<Registry<MapCodec<? extends Permission>>> static final ResourceKey<Registry<PigSoundVariant>> static final ResourceKey<Registry<PigVariant>> static final ResourceKey<Registry<PlacedFeature>> static final ResourceKey<Registry<PlacementModifierType<?>>> static final ResourceKey<Registry<PoiType>> static final ResourceKey<Registry<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<RecipeBookCategory>> static final ResourceKey<Registry<RecipeDisplay.Type<?>>> static final ResourceKey<Registry<RecipeSerializer<?>>> static final ResourceKey<Registry<RecipeType<?>>> static final ResourceKey<Registry<RootPlacerType<?>>> static final Identifierstatic final ResourceKey<Registry<RuleBlockEntityModifierType<?>>> static final ResourceKey<Registry<RuleTestType<?>>> static final ResourceKey<Registry<SensorType<?>>> static final ResourceKey<Registry<SlotDisplay.Type<?>>> static final ResourceKey<Registry<MapCodec<? extends SlotSource>>> static final ResourceKey<Registry<SoundEvent>> static final ResourceKey<Registry<MapCodec<? extends SpawnCondition>>> 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<TestEnvironmentDefinition<?>>> static final ResourceKey<Registry<MapCodec<? extends TestEnvironmentDefinition<?>>>> static final ResourceKey<Registry<Consumer<GameTestHelper>>> static final ResourceKey<Registry<GameTestInstance>> static final ResourceKey<Registry<MapCodec<? extends GameTestInstance>>> static final ResourceKey<Registry<TicketType>> static final ResourceKey<Registry<Timeline>> static final ResourceKey<Registry<TradeSet>> static final ResourceKey<Registry<TreeDecoratorType<?>>> static final ResourceKey<Registry<TrialSpawnerConfig>> 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<VillagerTrade>> static final ResourceKey<Registry<VillagerType>> static final ResourceKey<Registry<WolfSoundVariant>> static final ResourceKey<Registry<WolfVariant>> static final ResourceKey<Registry<WorldClock>> static final ResourceKey<Registry<WorldPreset>> static final ResourceKey<Registry<ZombieNautilusVariant>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcomponentsDirPath(ResourceKey<? extends Registry<?>> registryKey) private static <T> ResourceKey<Registry<T>> createRegistryKey(String name) static StringelementsDirPath(ResourceKey<? extends Registry<?>> registryKey) static ResourceKey<Level> levelStemToLevel(ResourceKey<LevelStem> levelStem) static ResourceKey<LevelStem> levelToLevelStem(ResourceKey<Level> level) private static StringregistryDirPath(ResourceKey<? extends Registry<?>> registryKey) static StringtagsDirPath(ResourceKey<? extends Registry<?>> registryKey)
-
Field Details
-
ROOT_REGISTRY_NAME
-
ACTIVITY
-
ATTRIBUTE
-
BIOME_SOURCE
-
BLOCK_ENTITY_TYPE
-
BLOCK_PREDICATE_TYPE
-
BLOCK_STATE_PROVIDER_TYPE
-
BLOCK_TYPE
-
BLOCK
-
CARVER
-
CHUNK_GENERATOR
-
CHUNK_STATUS
-
COMMAND_ARGUMENT_TYPE
-
CONSUME_EFFECT_TYPE
-
CREATIVE_MODE_TAB
-
CUSTOM_STAT
-
DATA_COMPONENT_PREDICATE_TYPE
public static final ResourceKey<Registry<DataComponentPredicate.Type<?>>> DATA_COMPONENT_PREDICATE_TYPE -
DATA_COMPONENT_TYPE
-
GAME_RULE
-
DEBUG_SUBSCRIPTION
-
DECORATED_POT_PATTERN
-
DENSITY_FUNCTION_TYPE
public static final ResourceKey<Registry<MapCodec<? extends DensityFunction>>> DENSITY_FUNCTION_TYPE -
DIALOG_BODY_TYPE
-
DIALOG_TYPE
-
ENCHANTMENT_EFFECT_COMPONENT_TYPE
-
ENCHANTMENT_ENTITY_EFFECT_TYPE
public static final ResourceKey<Registry<MapCodec<? extends EnchantmentEntityEffect>>> ENCHANTMENT_ENTITY_EFFECT_TYPE -
ENCHANTMENT_LEVEL_BASED_VALUE_TYPE
public static final ResourceKey<Registry<MapCodec<? extends LevelBasedValue>>> ENCHANTMENT_LEVEL_BASED_VALUE_TYPE -
ENCHANTMENT_LOCATION_BASED_EFFECT_TYPE
public static final ResourceKey<Registry<MapCodec<? extends EnchantmentLocationBasedEffect>>> ENCHANTMENT_LOCATION_BASED_EFFECT_TYPE -
ENCHANTMENT_PROVIDER_TYPE
public static final ResourceKey<Registry<MapCodec<? extends EnchantmentProvider>>> ENCHANTMENT_PROVIDER_TYPE -
ENCHANTMENT_VALUE_EFFECT_TYPE
public static final ResourceKey<Registry<MapCodec<? extends EnchantmentValueEffect>>> ENCHANTMENT_VALUE_EFFECT_TYPE -
ENTITY_SUB_PREDICATE_TYPE
public static final ResourceKey<Registry<MapCodec<? extends EntitySubPredicate>>> ENTITY_SUB_PREDICATE_TYPE -
ENTITY_TYPE
-
ENVIRONMENT_ATTRIBUTE
-
ATTRIBUTE_TYPE
-
FEATURE_SIZE_TYPE
-
FEATURE
-
FLOAT_PROVIDER_TYPE
-
FLUID
-
FOLIAGE_PLACER_TYPE
-
GAME_EVENT
-
HEIGHT_PROVIDER_TYPE
-
INPUT_CONTROL_TYPE
-
INT_PROVIDER_TYPE
-
ITEM
-
SLOT_SOURCE_TYPE
-
LOOT_CONDITION_TYPE
public static final ResourceKey<Registry<MapCodec<? extends LootItemCondition>>> LOOT_CONDITION_TYPE -
LOOT_FUNCTION_TYPE
-
LOOT_NBT_PROVIDER_TYPE
-
LOOT_NUMBER_PROVIDER_TYPE
public static final ResourceKey<Registry<MapCodec<? extends NumberProvider>>> LOOT_NUMBER_PROVIDER_TYPE -
LOOT_POOL_ENTRY_TYPE
public static final ResourceKey<Registry<MapCodec<? extends LootPoolEntryContainer>>> LOOT_POOL_ENTRY_TYPE -
LOOT_SCORE_PROVIDER_TYPE
public static final ResourceKey<Registry<MapCodec<? extends ScoreboardNameProvider>>> LOOT_SCORE_PROVIDER_TYPE -
MAP_DECORATION_TYPE
-
MATERIAL_CONDITION
public static final ResourceKey<Registry<MapCodec<? extends SurfaceRules.ConditionSource>>> MATERIAL_CONDITION -
MATERIAL_RULE
public static final ResourceKey<Registry<MapCodec<? extends SurfaceRules.RuleSource>>> MATERIAL_RULE -
MEMORY_MODULE_TYPE
-
MENU
-
MOB_EFFECT
-
NUMBER_FORMAT_TYPE
-
PARTICLE_TYPE
-
PLACEMENT_MODIFIER_TYPE
-
POINT_OF_INTEREST_TYPE
-
POOL_ALIAS_BINDING
-
POSITION_SOURCE_TYPE
-
POS_RULE_TEST
-
POTION
-
RECIPE_BOOK_CATEGORY
-
RECIPE_DISPLAY
-
RECIPE_SERIALIZER
-
RECIPE_TYPE
-
ROOT_PLACER_TYPE
-
RULE_BLOCK_ENTITY_MODIFIER
public static final ResourceKey<Registry<RuleBlockEntityModifierType<?>>> RULE_BLOCK_ENTITY_MODIFIER -
RULE_TEST
-
SENSOR_TYPE
-
SLOT_DISPLAY
-
SOUND_EVENT
-
SPAWN_CONDITION_TYPE
-
STAT_TYPE
-
STRUCTURE_PIECE
-
STRUCTURE_PLACEMENT
-
STRUCTURE_POOL_ELEMENT
-
STRUCTURE_PROCESSOR
-
STRUCTURE_TYPE
-
DIALOG_ACTION_TYPE
-
TEST_ENVIRONMENT_DEFINITION_TYPE
public static final ResourceKey<Registry<MapCodec<? extends TestEnvironmentDefinition<?>>>> TEST_ENVIRONMENT_DEFINITION_TYPE -
TEST_FUNCTION
-
TEST_INSTANCE_TYPE
-
TICKET_TYPE
-
TREE_DECORATOR_TYPE
-
TRUNK_PLACER_TYPE
-
VILLAGER_PROFESSION
-
VILLAGER_TYPE
-
INCOMING_RPC_METHOD
-
OUTGOING_RPC_METHOD
-
PERMISSION_TYPE
-
PERMISSION_CHECK_TYPE
public static final ResourceKey<Registry<MapCodec<? extends PermissionCheck>>> PERMISSION_CHECK_TYPE -
BANNER_PATTERN
-
BIOME
-
CAT_SOUND_VARIANT
-
CAT_VARIANT
-
CHAT_TYPE
-
CHICKEN_SOUND_VARIANT
-
CHICKEN_VARIANT
-
ZOMBIE_NAUTILUS_VARIANT
-
CONFIGURED_CARVER
-
CONFIGURED_FEATURE
-
COW_SOUND_VARIANT
-
COW_VARIANT
-
DAMAGE_TYPE
-
DENSITY_FUNCTION
-
DIALOG
-
DIMENSION_TYPE
-
ENCHANTMENT_PROVIDER
-
ENCHANTMENT
-
FLAT_LEVEL_GENERATOR_PRESET
-
FROG_VARIANT
-
INSTRUMENT
-
JUKEBOX_SONG
-
MULTI_NOISE_BIOME_SOURCE_PARAMETER_LIST
public static final ResourceKey<Registry<MultiNoiseBiomeSourceParameterList>> MULTI_NOISE_BIOME_SOURCE_PARAMETER_LIST -
NOISE_SETTINGS
-
NOISE
-
PAINTING_VARIANT
-
PIG_SOUND_VARIANT
-
PIG_VARIANT
-
PLACED_FEATURE
-
PROCESSOR_LIST
-
STRUCTURE_SET
-
STRUCTURE
-
TEMPLATE_POOL
-
TEST_ENVIRONMENT
-
TEST_INSTANCE
-
TIMELINE
-
TRADE_SET
-
TRIAL_SPAWNER_CONFIG
-
TRIGGER_TYPE
-
TRIM_MATERIAL
-
TRIM_PATTERN
-
VILLAGER_TRADE
-
WOLF_VARIANT
-
WOLF_SOUND_VARIANT
-
WORLD_CLOCK
-
WORLD_PRESET
-
DIMENSION
-
LEVEL_STEM
-
LOOT_TABLE
-
ITEM_MODIFIER
-
PREDICATE
-
ADVANCEMENT
-
RECIPE
-
-
Constructor Details
-
Registries
public Registries()
-
-
Method Details
-
levelStemToLevel
-
levelToLevelStem
-
createRegistryKey
-
registryDirPath
-
elementsDirPath
-
tagsDirPath
-
componentsDirPath
-