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
<com.mojang.serialization.MapCodec<? extends DensityFunction>> static final Registry
<Enchantment> 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 DefaultedRegistry
<PaintingVariant> 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()
static Set
<ResourceLocation> 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_298703_, BuiltInRegistries.RegistryBootstrap<T> p_298612_) 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
-
ENCHANTMENT
-
ENTITY_TYPE
-
ITEM
-
POTION
-
PARTICLE_TYPE
-
BLOCK_ENTITY_TYPE
-
PAINTING_VARIANT
-
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_PATTERNS
-
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
-
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_298703_, BuiltInRegistries.RegistryBootstrap<T> p_298612_) -
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
-
getVanillaRegistrationOrder
-