Package net.minecraft.core.registries
Class BuiltInRegistries
java.lang.Object
net.minecraft.core.registries.BuiltInRegistries
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Registry
<ArmorMaterial> static final Registry
<com.mojang.serialization.MapCodec<? extends BiomeSource>> static final DefaultedRegistry
<Block> static final Registry
<BlockEntityType<?>> static final Registry
<BlockPredicateType<?>> static final Registry
<BlockStateProviderType<?>> static final Registry
<WorldCarver<?>> static final Registry
<CatVariant> static final Registry
<com.mojang.serialization.MapCodec<? extends ChunkGenerator>> static final DefaultedRegistry
<ChunkStatus> static final Registry
<ArgumentTypeInfo<?, ?>> static final Registry
<CreativeModeTab> static final Registry
<ResourceLocation> static final Registry
<DataComponentType<?>> static final Registry
<DecoratedPotPattern> static final Registry
<com.mojang.serialization.MapCodec<? extends DensityFunction>> static final Registry
<DataComponentType<?>> static final Registry
<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>> static final Registry
<com.mojang.serialization.MapCodec<? extends LevelBasedValue>> static final Registry
<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>> static final Registry
<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>> static final Registry
<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>> static final Registry
<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>> static final DefaultedRegistry
<EntityType<?>> static final Registry
<FeatureSizeType<?>> static final Registry
<FloatProviderType<?>> static final DefaultedRegistry
<Fluid> static final Registry
<FoliagePlacerType<?>> static final Registry
<FrogVariant> static final DefaultedRegistry
<GameEvent> static final Registry
<HeightProviderType<?>> static final Registry
<Instrument> static final Registry
<IntProviderType<?>> static final DefaultedRegistry
<Item> static final Registry
<ItemSubPredicate.Type<?>> private static final Map
<ResourceLocation, Supplier<?>> private static final org.slf4j.Logger
static final Registry
<LootItemConditionType> static final Registry
<LootItemFunctionType<?>> static final Registry
<LootNbtProviderType> static final Registry
<LootNumberProviderType> static final Registry
<LootPoolEntryType> static final Registry
<LootScoreProviderType> static final Registry
<MapDecorationType> static final Registry
<com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource>> static final Registry
<com.mojang.serialization.MapCodec<? extends SurfaceRules.RuleSource>> static final DefaultedRegistry
<MemoryModuleType<?>> static final Registry
<NumberFormatType<?>> static final Registry
<ParticleType<?>> static final Registry
<PlacementModifierType<?>> static final Registry
<com.mojang.serialization.MapCodec<? extends PoolAliasBinding>> static final Registry
<PosRuleTestType<?>> static final Registry
<PositionSourceType<?>> static final Registry
<RecipeSerializer<?>> static final Registry
<RecipeType<?>> static final Registry
<RootPlacerType<?>> static final Registry
<RuleBlockEntityModifierType<?>> static final Registry
<RuleTestType<?>> static final DefaultedRegistry
<SensorType<?>> static final Registry
<SoundEvent> static final Registry
<StructurePieceType> static final Registry
<StructurePlacementType<?>> static final Registry
<StructurePoolElementType<?>> static final Registry
<StructureProcessorType<?>> static final Registry
<StructureType<?>> static final Registry
<TreeDecoratorType<?>> static final Registry
<CriterionTrigger<?>> static final Registry
<TrunkPlacerType<?>> static final DefaultedRegistry
<VillagerProfession> static final DefaultedRegistry
<VillagerType> private static final WritableRegistry
<WritableRegistry<?>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
private static void
private static void
freeze()
private static <T,
R extends WritableRegistry<T>>
RinternalRegister
(ResourceKey<? extends Registry<T>> p_259230_, R p_260327_, BuiltInRegistries.RegistryBootstrap<T> p_259210_) private static <T> DefaultedRegistry
<T> registerDefaulted
(ResourceKey<? extends Registry<T>> p_259887_, String p_259325_, BuiltInRegistries.RegistryBootstrap<T> p_259759_) private static <T> DefaultedRegistry
<T> registerDefaultedWithIntrusiveHolders
(ResourceKey<? extends Registry<T>> p_259296_, String p_259101_, BuiltInRegistries.RegistryBootstrap<T> p_259485_) private static <T> Registry
<T> registerSimple
(ResourceKey<? extends Registry<T>> p_260095_, BuiltInRegistries.RegistryBootstrap<T> p_259057_) private static <T> Registry
<T> registerSimpleWithIntrusiveHolders
(ResourceKey<? extends Registry<T>> p_297531_, BuiltInRegistries.RegistryBootstrap<T> p_298446_) private static <T extends Registry<?>>
void
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
LOADERS
-
WRITABLE_REGISTRY
-
GAME_EVENT
-
SOUND_EVENT
-
FLUID
-
MOB_EFFECT
-
BLOCK
-
ENTITY_TYPE
-
ITEM
-
POTION
-
PARTICLE_TYPE
-
BLOCK_ENTITY_TYPE
-
CUSTOM_STAT
-
CHUNK_STATUS
-
RULE_TEST
-
RULE_BLOCK_ENTITY_MODIFIER
-
POS_RULE_TEST
-
MENU
-
RECIPE_TYPE
-
RECIPE_SERIALIZER
-
ATTRIBUTE
-
POSITION_SOURCE_TYPE
-
COMMAND_ARGUMENT_TYPE
-
STAT_TYPE
-
VILLAGER_TYPE
-
VILLAGER_PROFESSION
-
POINT_OF_INTEREST_TYPE
-
MEMORY_MODULE_TYPE
-
SENSOR_TYPE
-
SCHEDULE
-
ACTIVITY
-
LOOT_POOL_ENTRY_TYPE
-
LOOT_FUNCTION_TYPE
-
LOOT_CONDITION_TYPE
-
LOOT_NUMBER_PROVIDER_TYPE
-
LOOT_NBT_PROVIDER_TYPE
-
LOOT_SCORE_PROVIDER_TYPE
-
FLOAT_PROVIDER_TYPE
-
INT_PROVIDER_TYPE
-
HEIGHT_PROVIDER_TYPE
-
BLOCK_PREDICATE_TYPE
-
CARVER
-
FEATURE
-
STRUCTURE_PLACEMENT
-
STRUCTURE_PIECE
-
STRUCTURE_TYPE
-
PLACEMENT_MODIFIER_TYPE
-
BLOCKSTATE_PROVIDER_TYPE
-
FOLIAGE_PLACER_TYPE
-
TRUNK_PLACER_TYPE
-
ROOT_PLACER_TYPE
-
TREE_DECORATOR_TYPE
-
FEATURE_SIZE_TYPE
-
BIOME_SOURCE
-
CHUNK_GENERATOR
public static final Registry<com.mojang.serialization.MapCodec<? extends ChunkGenerator>> CHUNK_GENERATOR -
MATERIAL_CONDITION
public static final Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource>> MATERIAL_CONDITION -
MATERIAL_RULE
public static final Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.RuleSource>> MATERIAL_RULE -
DENSITY_FUNCTION_TYPE
public static final Registry<com.mojang.serialization.MapCodec<? extends DensityFunction>> DENSITY_FUNCTION_TYPE -
BLOCK_TYPE
-
STRUCTURE_PROCESSOR
-
STRUCTURE_POOL_ELEMENT
-
POOL_ALIAS_BINDING_TYPE
public static final Registry<com.mojang.serialization.MapCodec<? extends PoolAliasBinding>> POOL_ALIAS_BINDING_TYPE -
CAT_VARIANT
-
FROG_VARIANT
-
INSTRUMENT
-
DECORATED_POT_PATTERN
-
CREATIVE_MODE_TAB
-
TRIGGER_TYPES
-
NUMBER_FORMAT_TYPE
-
ARMOR_MATERIAL
-
DATA_COMPONENT_TYPE
-
ENTITY_SUB_PREDICATE_TYPE
public static final Registry<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>> ENTITY_SUB_PREDICATE_TYPE -
ITEM_SUB_PREDICATE_TYPE
-
MAP_DECORATION_TYPE
-
ENCHANTMENT_EFFECT_COMPONENT_TYPE
-
ENCHANTMENT_LEVEL_BASED_VALUE_TYPE
public static final Registry<com.mojang.serialization.MapCodec<? extends LevelBasedValue>> ENCHANTMENT_LEVEL_BASED_VALUE_TYPE -
ENCHANTMENT_ENTITY_EFFECT_TYPE
public static final Registry<com.mojang.serialization.MapCodec<? extends EnchantmentEntityEffect>> ENCHANTMENT_ENTITY_EFFECT_TYPE -
ENCHANTMENT_LOCATION_BASED_EFFECT_TYPE
public static final Registry<com.mojang.serialization.MapCodec<? extends EnchantmentLocationBasedEffect>> ENCHANTMENT_LOCATION_BASED_EFFECT_TYPE -
ENCHANTMENT_VALUE_EFFECT_TYPE
public static final Registry<com.mojang.serialization.MapCodec<? extends EnchantmentValueEffect>> ENCHANTMENT_VALUE_EFFECT_TYPE -
ENCHANTMENT_PROVIDER_TYPE
public static final Registry<com.mojang.serialization.MapCodec<? extends EnchantmentProvider>> ENCHANTMENT_PROVIDER_TYPE -
REGISTRY
-
-
Constructor Details
-
BuiltInRegistries
public BuiltInRegistries()
-
-
Method Details
-
registerSimple
private static <T> Registry<T> registerSimple(ResourceKey<? extends Registry<T>> p_260095_, BuiltInRegistries.RegistryBootstrap<T> p_259057_) -
registerSimpleWithIntrusiveHolders
private static <T> Registry<T> registerSimpleWithIntrusiveHolders(ResourceKey<? extends Registry<T>> p_297531_, BuiltInRegistries.RegistryBootstrap<T> p_298446_) -
registerDefaulted
private static <T> DefaultedRegistry<T> registerDefaulted(ResourceKey<? extends Registry<T>> p_259887_, String p_259325_, BuiltInRegistries.RegistryBootstrap<T> p_259759_) -
registerDefaultedWithIntrusiveHolders
private static <T> DefaultedRegistry<T> registerDefaultedWithIntrusiveHolders(ResourceKey<? extends Registry<T>> p_259296_, String p_259101_, BuiltInRegistries.RegistryBootstrap<T> p_259485_) -
internalRegister
private static <T,R extends WritableRegistry<T>> R internalRegister(ResourceKey<? extends Registry<T>> p_259230_, R p_260327_, BuiltInRegistries.RegistryBootstrap<T> p_259210_) -
bootStrap
public static void bootStrap() -
createContents
private static void createContents() -
freeze
private static void freeze() -
validate
-