类 BuiltInRegistries
java.lang.Object
net.minecraft.core.registries.BuiltInRegistries
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明已过时。已过时。Forge: UseForgeRegistries.ATTRIBUTES
instead.static final Registry<BannerPattern>
static final Registry<com.mojang.serialization.Codec<? extends BiomeSource>>
static final DefaultedRegistry<Block>
已过时。Forge: UseForgeRegistries.BLOCKS
instead.static final Registry<BlockEntityType<?>>
已过时。Forge: UseForgeRegistries.BLOCK_ENTITY_TYPES
instead.static final Registry<BlockPredicateType<?>>
static final Registry<BlockStateProviderType<?>>
已过时。Forge: UseForgeRegistries.BLOCK_STATE_PROVIDER_TYPES
instead.static final Registry<WorldCarver<?>>
已过时。Forge: UseForgeRegistries.WORLD_CARVERS
instead.static final Registry<CatVariant>
static final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>
static final DefaultedRegistry<ChunkStatus>
已过时。Forge: UseForgeRegistries.CHUNK_STATUS
instead.static final Registry<ArgumentTypeInfo<?,
?>> 已过时。Forge: UseForgeRegistries.COMMAND_ARGUMENT_TYPES
instead.static final Registry<CreativeModeTab>
static final Registry<ResourceLocation>
static final Registry<com.mojang.serialization.Codec<? extends DensityFunction>>
static final Registry<Enchantment>
已过时。Forge: UseForgeRegistries.ENCHANTMENTS
instead.static final DefaultedRegistry<EntityType<?>>
已过时。Forge: UseForgeRegistries.ENTITY_TYPES
instead.已过时。Forge: UseForgeRegistries.FEATURES
instead.static final Registry<FeatureSizeType<?>>
static final Registry<FloatProviderType<?>>
static final DefaultedRegistry<Fluid>
已过时。Forge: UseForgeRegistries.FLUIDS
instead.static final Registry<FoliagePlacerType<?>>
已过时。Forge: UseForgeRegistries.FOLIAGE_PLACER_TYPES
instead.static final Registry<FrogVariant>
static final DefaultedRegistry<GameEvent>
static final Registry<HeightProviderType<?>>
static final Registry<Instrument>
static final Registry<IntProviderType<?>>
static final DefaultedRegistry<Item>
已过时。Forge: UseForgeRegistries.ITEMS
instead.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<?>>
已过时。Forge: UseForgeRegistries.MEMORY_MODULE_TYPES
instead.已过时。Forge: UseForgeRegistries.MENU_TYPES
instead.已过时。Forge: UseForgeRegistries.MOB_EFFECTS
instead.static final DefaultedRegistry<PaintingVariant>
已过时。Forge: UseForgeRegistries.PAINTING_VARIANTS
instead.static final Registry<ParticleType<?>>
已过时。Forge: UseForgeRegistries.PARTICLE_TYPES
instead.static final Registry<PlacementModifierType<?>>
已过时。Forge: UseForgeRegistries.POI_TYPES
instead.static final Registry<PosRuleTestType<?>>
static final Registry<PositionSourceType<?>>
static final DefaultedRegistry<Potion>
已过时。Forge: UseForgeRegistries.POTIONS
instead.static final Registry<RecipeSerializer<?>>
已过时。Forge: UseForgeRegistries.RECIPE_SERIALIZERS
instead.static final Registry<RecipeType<?>>
已过时。Forge: UseForgeRegistries.RECIPE_TYPES
instead.static final Registry<RootPlacerType<?>>
static final ResourceLocation
static final Registry<RuleBlockEntityModifierType<?>>
static final Registry<RuleTestType<?>>
已过时。Forge: UseForgeRegistries.SCHEDULES
instead.static final DefaultedRegistry<SensorType<?>>
已过时。Forge: UseForgeRegistries.SENSOR_TYPES
instead.static final Registry<SoundEvent>
已过时。Forge: UseForgeRegistries.SOUND_EVENTS
instead.已过时。Forge: UseForgeRegistries.STAT_TYPES
instead.static final Registry<StructurePieceType>
static final Registry<StructurePlacementType<?>>
static final Registry<StructurePoolElementType<?>>
static final Registry<StructureProcessorType<?>>
static final Registry<StructureType<?>>
static final Registry<TreeDecoratorType<?>>
已过时。Forge: UseForgeRegistries.TREE_DECORATOR_TYPES
instead.static final Registry<TrunkPlacerType<?>>
static final DefaultedRegistry<VillagerProfession>
已过时。Forge: UseForgeRegistries.VILLAGER_PROFESSIONS
instead.static final DefaultedRegistry<VillagerType>
private static final WritableRegistry<WritableRegistry<?>>
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static void
private static void
private static <T> Registry<T>
forge
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, BuiltInRegistries.RegistryBootstrap<T> def) private static <T> DefaultedRegistry<T>
forge
(ResourceKey<? extends Registry<T>> key, String defKey, com.mojang.serialization.Lifecycle cycle, BuiltInRegistries.RegistryBootstrap<T> def) private static <T> DefaultedRegistry<T>
forge
(ResourceKey<? extends Registry<T>> key, String defKey, BuiltInRegistries.RegistryBootstrap<T> def) private static <T> Registry<T>
forge
(ResourceKey<? extends Registry<T>> key, BuiltInRegistries.RegistryBootstrap<T> def) private static void
freeze()
private static <T,
R extends WritableRegistry<T>>
RinternalRegister
(ResourceKey<? extends Registry<T>> pKey, R pRegistry, BuiltInRegistries.RegistryBootstrap<T> pBootstrap, com.mojang.serialization.Lifecycle pLifecycle) private static <T> DefaultedRegistry<T>
registerDefaulted
(ResourceKey<? extends Registry<T>> pKey, String pDefaultKey, com.mojang.serialization.Lifecycle pLifecycle, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) private static <T> DefaultedRegistry<T>
registerDefaulted
(ResourceKey<? extends Registry<T>> pKey, String pDefaultKey, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) private static <T> DefaultedRegistry<T>
registerDefaultedWithIntrusiveHolders
(ResourceKey<? extends Registry<T>> pKey, String pDefaultKey, com.mojang.serialization.Lifecycle pLifecycle, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) private static <T> DefaultedRegistry<T>
registerDefaultedWithIntrusiveHolders
(ResourceKey<? extends Registry<T>> pKey, String pDefaultKey, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) private static <T> Registry<T>
registerSimple
(ResourceKey<? extends Registry<T>> pKey, com.mojang.serialization.Lifecycle pLifecycle, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) private static <T> Registry<T>
registerSimple
(ResourceKey<? extends Registry<T>> pKey, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) private static <T extends Registry<?>>
void
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
LOADERS
-
ROOT_REGISTRY_NAME
-
WRITABLE_REGISTRY
-
GAME_EVENT
-
SOUND_EVENT
已过时。Forge: UseForgeRegistries.SOUND_EVENTS
instead. -
FLUID
已过时。Forge: UseForgeRegistries.FLUIDS
instead. -
MOB_EFFECT
已过时。Forge: UseForgeRegistries.MOB_EFFECTS
instead. -
BLOCK
已过时。Forge: UseForgeRegistries.BLOCKS
instead. -
ENCHANTMENT
已过时。Forge: UseForgeRegistries.ENCHANTMENTS
instead. -
ENTITY_TYPE
已过时。Forge: UseForgeRegistries.ENTITY_TYPES
instead. -
ITEM
已过时。Forge: UseForgeRegistries.ITEMS
instead. -
POTION
已过时。Forge: UseForgeRegistries.POTIONS
instead. -
PARTICLE_TYPE
已过时。Forge: UseForgeRegistries.PARTICLE_TYPES
instead. -
BLOCK_ENTITY_TYPE
已过时。Forge: UseForgeRegistries.BLOCK_ENTITY_TYPES
instead. -
PAINTING_VARIANT
已过时。Forge: UseForgeRegistries.PAINTING_VARIANTS
instead. -
CUSTOM_STAT
-
CHUNK_STATUS
已过时。Forge: UseForgeRegistries.CHUNK_STATUS
instead. -
RULE_TEST
-
RULE_BLOCK_ENTITY_MODIFIER
-
POS_RULE_TEST
-
MENU
已过时。Forge: UseForgeRegistries.MENU_TYPES
instead. -
RECIPE_TYPE
已过时。Forge: UseForgeRegistries.RECIPE_TYPES
instead. -
RECIPE_SERIALIZER
已过时。Forge: UseForgeRegistries.RECIPE_SERIALIZERS
instead. -
ATTRIBUTE
已过时。Forge: UseForgeRegistries.ATTRIBUTES
instead. -
POSITION_SOURCE_TYPE
-
COMMAND_ARGUMENT_TYPE
已过时。Forge: UseForgeRegistries.COMMAND_ARGUMENT_TYPES
instead. -
STAT_TYPE
已过时。Forge: UseForgeRegistries.STAT_TYPES
instead. -
VILLAGER_TYPE
-
VILLAGER_PROFESSION
已过时。Forge: UseForgeRegistries.VILLAGER_PROFESSIONS
instead. -
POINT_OF_INTEREST_TYPE
已过时。Forge: UseForgeRegistries.POI_TYPES
instead. -
MEMORY_MODULE_TYPE
已过时。Forge: UseForgeRegistries.MEMORY_MODULE_TYPES
instead. -
SENSOR_TYPE
已过时。Forge: UseForgeRegistries.SENSOR_TYPES
instead. -
SCHEDULE
已过时。Forge: UseForgeRegistries.SCHEDULES
instead. -
ACTIVITY
已过时。Forge: UseForgeRegistries.ACTIVITIES
instead. -
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
已过时。Forge: UseForgeRegistries.WORLD_CARVERS
instead. -
FEATURE
已过时。Forge: UseForgeRegistries.FEATURES
instead. -
STRUCTURE_PLACEMENT
-
STRUCTURE_PIECE
-
STRUCTURE_TYPE
-
PLACEMENT_MODIFIER_TYPE
-
BLOCKSTATE_PROVIDER_TYPE
已过时。Forge: UseForgeRegistries.BLOCK_STATE_PROVIDER_TYPES
instead. -
FOLIAGE_PLACER_TYPE
已过时。Forge: UseForgeRegistries.FOLIAGE_PLACER_TYPES
instead. -
TRUNK_PLACER_TYPE
-
ROOT_PLACER_TYPE
-
TREE_DECORATOR_TYPE
已过时。Forge: UseForgeRegistries.TREE_DECORATOR_TYPES
instead. -
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 -
STRUCTURE_PROCESSOR
-
STRUCTURE_POOL_ELEMENT
-
CAT_VARIANT
-
FROG_VARIANT
-
BANNER_PATTERN
-
INSTRUMENT
-
DECORATED_POT_PATTERNS
-
CREATIVE_MODE_TAB
-
REGISTRY
-
-
构造器详细资料
-
BuiltInRegistries
public BuiltInRegistries()
-
-
方法详细资料
-
registerSimple
private static <T> Registry<T> registerSimple(ResourceKey<? extends Registry<T>> pKey, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) -
forge
private static <T> Registry<T> forge(ResourceKey<? extends Registry<T>> key, BuiltInRegistries.RegistryBootstrap<T> def) -
registerDefaulted
private static <T> DefaultedRegistry<T> registerDefaulted(ResourceKey<? extends Registry<T>> pKey, String pDefaultKey, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) -
forge
private static <T> DefaultedRegistry<T> forge(ResourceKey<? extends Registry<T>> key, String defKey, BuiltInRegistries.RegistryBootstrap<T> def) -
registerDefaultedWithIntrusiveHolders
private static <T> DefaultedRegistry<T> registerDefaultedWithIntrusiveHolders(ResourceKey<? extends Registry<T>> pKey, String pDefaultKey, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) -
registerSimple
private static <T> Registry<T> registerSimple(ResourceKey<? extends Registry<T>> pKey, com.mojang.serialization.Lifecycle pLifecycle, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) -
forge
private static <T> Registry<T> forge(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, BuiltInRegistries.RegistryBootstrap<T> def) -
registerDefaulted
private static <T> DefaultedRegistry<T> registerDefaulted(ResourceKey<? extends Registry<T>> pKey, String pDefaultKey, com.mojang.serialization.Lifecycle pLifecycle, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) -
forge
private static <T> DefaultedRegistry<T> forge(ResourceKey<? extends Registry<T>> key, String defKey, com.mojang.serialization.Lifecycle cycle, BuiltInRegistries.RegistryBootstrap<T> def) -
registerDefaultedWithIntrusiveHolders
private static <T> DefaultedRegistry<T> registerDefaultedWithIntrusiveHolders(ResourceKey<? extends Registry<T>> pKey, String pDefaultKey, com.mojang.serialization.Lifecycle pLifecycle, BuiltInRegistries.RegistryBootstrap<T> pBootstrap) -
internalRegister
private static <T,R extends WritableRegistry<T>> R internalRegister(ResourceKey<? extends Registry<T>> pKey, R pRegistry, BuiltInRegistries.RegistryBootstrap<T> pBootstrap, com.mojang.serialization.Lifecycle pLifecycle) -
bootStrap
public static void bootStrap() -
createContents
private static void createContents() -
freeze
private static void freeze() -
validate
-
ForgeRegistries.ACTIVITIES
instead.