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<BannerPattern>
static final Registry<com.mojang.serialization.Codec<? 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.Codec<? extends ChunkGenerator>>
static final DefaultedRegistry<ChunkStatus>
static final Registry<ArgumentTypeInfo<?,
?>> static final Registry<CreativeModeTab>
static final Registry<ResourceLocation>
static final Registry<com.mojang.serialization.Codec<? extends DensityFunction>>
static final Registry<Enchantment>
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>
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<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>>
static final Registry<com.mojang.serialization.Codec<? 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.Codec<? extends PoolAliasBinding>>
static final Registry<PosRuleTestType<?>>
static final Registry<PositionSourceType<?>>
static final DefaultedRegistry<Potion>
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_, com.mojang.serialization.Lifecycle p_259258_) private static <T> DefaultedRegistry<T>
registerDefaulted
(ResourceKey<? extends Registry<T>> p_259400_, String p_259678_, com.mojang.serialization.Lifecycle p_259157_, BuiltInRegistries.RegistryBootstrap<T> p_259806_) 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_260010_, String p_260220_, com.mojang.serialization.Lifecycle p_260139_, BuiltInRegistries.RegistryBootstrap<T> p_260185_) 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_259121_, com.mojang.serialization.Lifecycle p_259977_, BuiltInRegistries.RegistryBootstrap<T> p_259874_) 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.Codec<? extends ChunkGenerator>> CHUNK_GENERATOR -
MATERIAL_CONDITION
public static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>> MATERIAL_CONDITION -
MATERIAL_RULE
public static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>> MATERIAL_RULE -
DENSITY_FUNCTION_TYPE
public static final Registry<com.mojang.serialization.Codec<? extends DensityFunction>> DENSITY_FUNCTION_TYPE -
BLOCK_TYPE
-
STRUCTURE_PROCESSOR
-
STRUCTURE_POOL_ELEMENT
-
POOL_ALIAS_BINDING_TYPE
public static final Registry<com.mojang.serialization.Codec<? extends PoolAliasBinding>> POOL_ALIAS_BINDING_TYPE -
CAT_VARIANT
-
FROG_VARIANT
-
BANNER_PATTERN
-
INSTRUMENT
-
DECORATED_POT_PATTERNS
-
CREATIVE_MODE_TAB
-
TRIGGER_TYPES
-
NUMBER_FORMAT_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_) -
registerSimple
private static <T> Registry<T> registerSimple(ResourceKey<? extends Registry<T>> p_259121_, com.mojang.serialization.Lifecycle p_259977_, BuiltInRegistries.RegistryBootstrap<T> p_259874_) -
registerDefaulted
private static <T> DefaultedRegistry<T> registerDefaulted(ResourceKey<? extends Registry<T>> p_259400_, String p_259678_, com.mojang.serialization.Lifecycle p_259157_, BuiltInRegistries.RegistryBootstrap<T> p_259806_) -
registerDefaultedWithIntrusiveHolders
private static <T> DefaultedRegistry<T> registerDefaultedWithIntrusiveHolders(ResourceKey<? extends Registry<T>> p_260010_, String p_260220_, com.mojang.serialization.Lifecycle p_260139_, BuiltInRegistries.RegistryBootstrap<T> p_260185_) -
internalRegister
private static <T,R extends WritableRegistry<T>> R internalRegister(ResourceKey<? extends Registry<T>> p_259230_, R p_260327_, BuiltInRegistries.RegistryBootstrap<T> p_259210_, com.mojang.serialization.Lifecycle p_259258_) -
bootStrap
public static void bootStrap() -
createContents
private static void createContents() -
freeze
private static void freeze() -
validate
-
getVanillaRegistrationOrder
-