Package net.minecraft.core
Class Registry<T>
java.lang.Object
net.minecraft.core.Registry<T>
- Direct Known Subclasses:
WritableRegistry
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static interface
-
Field Summary
Modifier and TypeFieldDescriptionDeprecated.static final ResourceKey<Registry<Activity>>
Deprecated.static final ResourceKey<Registry<Attribute>>
static final ResourceKey<Registry<Biome>>
static final Registry<com.mojang.serialization.Codec<? extends BiomeSource>>
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>
static final DefaultedRegistry<Block>
Deprecated.static final Registry<BlockEntityType<?>>
Deprecated.static final ResourceKey<Registry<BlockEntityType<?>>>
static final ResourceKey<Registry<BlockPredicateType<?>>>
static final Registry<BlockPredicateType<?>>
static final ResourceKey<Registry<Block>>
static final ResourceKey<Registry<BlockStateProviderType<?>>>
static final Registry<BlockStateProviderType<?>>
Deprecated.static final Registry<WorldCarver<?>>
Deprecated.static final ResourceKey<Registry<WorldCarver<?>>>
static final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
static final DefaultedRegistry<ChunkStatus>
Deprecated.static final ResourceKey<Registry<ChunkStatus>>
static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>>
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>>>
static final ResourceKey<Registry<ConfiguredWorldCarver<?>>>
static final ResourceKey<Registry<ConfiguredFeature<?,
?>>> static final ResourceKey<Registry<ConfiguredStructureFeature<?,
?>>> static final Registry<ResourceLocation>
static final ResourceKey<Registry<ResourceLocation>>
static final ResourceKey<Registry<DensityFunction>>
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>>
static final Registry<com.mojang.serialization.Codec<? extends DensityFunction>>
static final ResourceKey<Registry<Level>>
static final ResourceKey<Registry<DimensionType>>
static final Registry<Enchantment>
Deprecated.static final ResourceKey<Registry<Enchantment>>
static final DefaultedRegistry<EntityType<?>>
Deprecated.static final ResourceKey<Registry<EntityType<?>>>
Deprecated.static final ResourceKey<Registry<Feature<?>>>
static final ResourceKey<Registry<FeatureSizeType<?>>>
static final Registry<FeatureSizeType<?>>
static final ResourceKey<Registry<FloatProviderType<?>>>
static final Registry<FloatProviderType<?>>
static final DefaultedRegistry<Fluid>
Deprecated.static final ResourceKey<Registry<Fluid>>
static final ResourceKey<Registry<FoliagePlacerType<?>>>
static final Registry<FoliagePlacerType<?>>
Deprecated.static final DefaultedRegistry<GameEvent>
static final ResourceKey<Registry<GameEvent>>
static final ResourceKey<Registry<HeightProviderType<?>>>
static final Registry<HeightProviderType<?>>
static final ResourceKey<Registry<IntProviderType<?>>>
static final Registry<IntProviderType<?>>
static final DefaultedRegistry<Item>
Deprecated.static final ResourceKey<Registry<Item>>
private final ResourceKey<? extends Registry<T>>
static final ResourceKey<Registry<LevelStem>>
private final com.mojang.serialization.Lifecycle
private static final Map<ResourceLocation,
Supplier<?>> private static final org.slf4j.Logger
static final Registry<LootItemConditionType>
static final ResourceKey<Registry<LootPoolEntryType>>
static final ResourceKey<Registry<LootItemFunctionType>>
static final Registry<LootItemFunctionType>
static final ResourceKey<Registry<LootItemConditionType>>
static final ResourceKey<Registry<LootNbtProviderType>>
static final Registry<LootNbtProviderType>
static final ResourceKey<Registry<LootNumberProviderType>>
static final Registry<LootNumberProviderType>
static final Registry<LootPoolEntryType>
static final ResourceKey<Registry<LootScoreProviderType>>
static final Registry<LootScoreProviderType>
static final DefaultedRegistry<MemoryModuleType<?>>
Deprecated.static final ResourceKey<Registry<MemoryModuleType<?>>>
Deprecated.static final ResourceKey<Registry<MenuType<?>>>
Deprecated.static final ResourceKey<Registry<MobEffect>>
static final DefaultedRegistry<Motive>
Deprecated.static final ResourceKey<Registry<Motive>>
static final ResourceKey<Registry<NoiseGeneratorSettings>>
static final ResourceKey<Registry<NormalNoise.NoiseParameters>>
static final Registry<ParticleType<?>>
Deprecated.static final ResourceKey<Registry<ParticleType<?>>>
static final ResourceKey<Registry<PlacedFeature>>
static final ResourceKey<Registry<PlacementModifierType<?>>>
static final Registry<PlacementModifierType<?>>
static final DefaultedRegistry<PoiType>
Deprecated.static final ResourceKey<Registry<PoiType>>
static final Registry<PosRuleTestType<?>>
static final ResourceKey<Registry<PosRuleTestType<?>>>
static final Registry<PositionSourceType<?>>
static final ResourceKey<Registry<PositionSourceType<?>>>
static final DefaultedRegistry<Potion>
Deprecated.static final ResourceKey<Registry<Potion>>
static final ResourceKey<Registry<StructureProcessorList>>
static final Registry<RecipeSerializer<?>>
Deprecated.static final ResourceKey<Registry<RecipeSerializer<?>>>
static final Registry<RecipeType<?>>
static final ResourceKey<Registry<RecipeType<?>>>
static final ResourceLocation
static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>>
static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>>>
static final Registry<RuleTestType<?>>
static final ResourceKey<Registry<RuleTestType<?>>>
Deprecated.static final ResourceKey<Registry<Schedule>>
static final DefaultedRegistry<SensorType<?>>
Deprecated.static final ResourceKey<Registry<SensorType<?>>>
static final Registry<SoundEvent>
Deprecated.static final ResourceKey<Registry<SoundEvent>>
Deprecated.static final ResourceKey<Registry<StatType<?>>>
static final Registry<StructureFeature<?>>
Deprecated.static final ResourceKey<Registry<StructureFeature<?>>>
static final Registry<StructurePieceType>
static final ResourceKey<Registry<StructurePieceType>>
static final Registry<StructurePlacementType<?>>
static final ResourceKey<Registry<StructurePlacementType<?>>>
static final Registry<StructurePoolElementType<?>>
static final ResourceKey<Registry<StructurePoolElementType<?>>>
static final Registry<StructureProcessorType<?>>
static final ResourceKey<Registry<StructureProcessorType<?>>>
static final ResourceKey<Registry<StructureSet>>
static final ResourceKey<Registry<StructureTemplatePool>>
static final ResourceKey<Registry<TreeDecoratorType<?>>>
static final Registry<TreeDecoratorType<?>>
Deprecated.static final ResourceKey<Registry<TrunkPlacerType<?>>>
static final Registry<TrunkPlacerType<?>>
static final DefaultedRegistry<VillagerProfession>
Deprecated.static final ResourceKey<Registry<VillagerProfession>>
static final DefaultedRegistry<VillagerType>
static final ResourceKey<Registry<VillagerType>>
protected static final WritableRegistry<WritableRegistry<?>>
-
Constructor Summary
ModifierConstructorDescriptionprotected
Registry
(ResourceKey<? extends Registry<T>> p_122920_, com.mojang.serialization.Lifecycle p_122921_) -
Method Summary
Modifier and TypeMethodDescriptionabstract void
com.mojang.serialization.Codec<T>
static <T extends Registry<?>>
voidcheckRegistry
(Registry<T> p_205993_) abstract boolean
containsKey
(ResourceKey<T> p_175475_) abstract boolean
containsKey
(ResourceLocation p_123011_) abstract Holder.Reference<T>
createIntrusiveHolder
(T p_206068_) private static <T> ResourceKey<Registry<T>>
createRegistryKey
(String p_122979_) abstract com.mojang.serialization.Lifecycle
abstract Set<Map.Entry<ResourceKey<T>,
T>> entrySet()
private static <T extends IForgeRegistryEntry<T>>
Registry<T>forge
(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, Registry.RegistryBootstrap<T> def) private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>forge
(ResourceKey<? extends Registry<T>> key, String defKey, com.mojang.serialization.Lifecycle cycle, Registry.RegistryBootstrap<T> def) private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>forge
(ResourceKey<? extends Registry<T>> key, String defKey, Registry.RegistryBootstrap<T> def) private static <T extends IForgeRegistryEntry<T>>
Registry<T>forge
(ResourceKey<? extends Registry<T>> key, Registry.RegistryBootstrap<T> def) freeze()
static void
abstract T
get
(ResourceKey<T> p_122980_) abstract T
get
(ResourceLocation p_123002_) getHolder
(int p_206051_) getHolder
(ResourceKey<T> p_206050_) getHolderOrThrow
(ResourceKey<T> p_206082_) abstract int
abstract ResourceLocation
getOptional
(ResourceKey<T> p_123010_) getOptional
(ResourceLocation p_123007_) getOrCreateHolder
(ResourceKey<T> p_206057_) abstract HolderSet.Named<T>
getOrCreateTag
(TagKey<T> p_206045_) getOrThrow
(ResourceKey<T> p_123014_) abstract Optional<ResourceKey<T>>
getResourceKey
(T p_123008_) abstract Optional<HolderSet.Named<T>>
getTagOrEmpty
(TagKey<T> p_206059_) abstract Stream<com.mojang.datafixers.util.Pair<TagKey<T>,
HolderSet.Named<T>>> getTags()
abstract Stream<Holder.Reference<T>>
holders()
private static <T,
R extends WritableRegistry<T>>
RinternalRegister
(ResourceKey<? extends Registry<T>> p_206012_, R p_206013_, Registry.RegistryBootstrap<T> p_206014_, com.mojang.serialization.Lifecycle p_206015_) abstract boolean
isKnownTagName
(TagKey<T> p_205983_) ResourceKey<? extends Registry<T>>
key()
<U> Stream<U>
keys
(com.mojang.serialization.DynamicOps<U> p_123030_) abstract Set<ResourceLocation>
keySet()
com.mojang.serialization.Lifecycle
abstract com.mojang.serialization.Lifecycle
static <T> T
static <V,
T extends V>
Tregister
(Registry<V> p_194580_, ResourceKey<V> p_194581_, T p_194582_) static <V,
T extends V>
Tregister
(Registry<V> p_122966_, ResourceLocation p_122967_, T p_122968_) private static <T> DefaultedRegistry<T>
registerDefaulted
(ResourceKey<? extends Registry<T>> p_206022_, String p_206023_, com.mojang.serialization.Lifecycle p_206024_, Function<T, Holder.Reference<T>> p_206025_, Registry.RegistryBootstrap<T> p_206026_) private static <T> DefaultedRegistry<T>
registerDefaulted
(ResourceKey<? extends Registry<T>> p_206017_, String p_206018_, com.mojang.serialization.Lifecycle p_206019_, Registry.RegistryBootstrap<T> p_206020_) private static <T> DefaultedRegistry<T>
registerDefaulted
(ResourceKey<? extends Registry<T>> p_206032_, String p_206033_, Function<T, Holder.Reference<T>> p_206034_, Registry.RegistryBootstrap<T> p_206035_) private static <T> DefaultedRegistry<T>
registerDefaulted
(ResourceKey<? extends Registry<T>> p_206028_, String p_206029_, Registry.RegistryBootstrap<T> p_206030_) static <V,
T extends V>
TregisterMapping
(Registry<V> p_122957_, int p_122958_, String p_122959_, T p_122960_) private static <T> Registry<T>
registerSimple
(ResourceKey<? extends Registry<T>> p_206004_, com.mojang.serialization.Lifecycle p_206005_, Function<T, Holder.Reference<T>> p_206006_, Registry.RegistryBootstrap<T> p_206007_) private static <T> Registry<T>
registerSimple
(ResourceKey<? extends Registry<T>> p_206000_, com.mojang.serialization.Lifecycle p_206001_, Registry.RegistryBootstrap<T> p_206002_) private static <T> Registry<T>
registerSimple
(ResourceKey<? extends Registry<T>> p_206009_, Registry.RegistryBootstrap<T> p_206010_) abstract void
stream()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.core.IdMap
byId, byIdOrThrow, size
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
LOADERS
-
ROOT_REGISTRY_NAME
-
WRITABLE_REGISTRY
-
REGISTRY
-
SOUND_EVENT_REGISTRY
-
FLUID_REGISTRY
-
MOB_EFFECT_REGISTRY
-
BLOCK_REGISTRY
-
ENCHANTMENT_REGISTRY
-
ENTITY_TYPE_REGISTRY
-
ITEM_REGISTRY
-
POTION_REGISTRY
-
PARTICLE_TYPE_REGISTRY
-
BLOCK_ENTITY_TYPE_REGISTRY
-
MOTIVE_REGISTRY
-
CUSTOM_STAT_REGISTRY
-
CHUNK_STATUS_REGISTRY
-
RULE_TEST_REGISTRY
-
POS_RULE_TEST_REGISTRY
-
MENU_REGISTRY
-
RECIPE_TYPE_REGISTRY
-
RECIPE_SERIALIZER_REGISTRY
-
ATTRIBUTE_REGISTRY
-
GAME_EVENT_REGISTRY
-
POSITION_SOURCE_TYPE_REGISTRY
-
STAT_TYPE_REGISTRY
-
VILLAGER_TYPE_REGISTRY
-
VILLAGER_PROFESSION_REGISTRY
-
POINT_OF_INTEREST_TYPE_REGISTRY
-
MEMORY_MODULE_TYPE_REGISTRY
-
SENSOR_TYPE_REGISTRY
-
SCHEDULE_REGISTRY
-
ACTIVITY_REGISTRY
-
LOOT_ENTRY_REGISTRY
-
LOOT_FUNCTION_REGISTRY
-
LOOT_ITEM_REGISTRY
-
LOOT_NUMBER_PROVIDER_REGISTRY
-
LOOT_NBT_PROVIDER_REGISTRY
-
LOOT_SCORE_PROVIDER_REGISTRY
-
DIMENSION_TYPE_REGISTRY
-
DIMENSION_REGISTRY
-
LEVEL_STEM_REGISTRY
-
GAME_EVENT
-
SOUND_EVENT
Deprecated. -
FLUID
Deprecated. -
MOB_EFFECT
Deprecated. -
BLOCK
Deprecated. -
ENCHANTMENT
Deprecated. -
ENTITY_TYPE
Deprecated. -
ITEM
Deprecated. -
POTION
Deprecated. -
PARTICLE_TYPE
Deprecated. -
BLOCK_ENTITY_TYPE
Deprecated. -
MOTIVE
Deprecated. -
CUSTOM_STAT
-
CHUNK_STATUS
Deprecated. -
RULE_TEST
-
POS_RULE_TEST
-
MENU
Deprecated. -
RECIPE_TYPE
-
RECIPE_SERIALIZER
Deprecated. -
ATTRIBUTE
Deprecated. -
POSITION_SOURCE_TYPE
-
STAT_TYPE
Deprecated. -
VILLAGER_TYPE
-
VILLAGER_PROFESSION
Deprecated. -
POINT_OF_INTEREST_TYPE
Deprecated. -
MEMORY_MODULE_TYPE
Deprecated. -
SENSOR_TYPE
Deprecated. -
SCHEDULE
Deprecated. -
ACTIVITY
Deprecated. -
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_REGISTRY
-
FLOAT_PROVIDER_TYPES
-
INT_PROVIDER_TYPE_REGISTRY
-
INT_PROVIDER_TYPES
-
HEIGHT_PROVIDER_TYPE_REGISTRY
-
HEIGHT_PROVIDER_TYPES
-
BLOCK_PREDICATE_TYPE_REGISTRY
-
BLOCK_PREDICATE_TYPES
-
NOISE_GENERATOR_SETTINGS_REGISTRY
-
CONFIGURED_CARVER_REGISTRY
-
CONFIGURED_FEATURE_REGISTRY
-
PLACED_FEATURE_REGISTRY
-
CONFIGURED_STRUCTURE_FEATURE_REGISTRY
public static final ResourceKey<Registry<ConfiguredStructureFeature<?,?>>> CONFIGURED_STRUCTURE_FEATURE_REGISTRY -
STRUCTURE_SET_REGISTRY
-
PROCESSOR_LIST_REGISTRY
-
TEMPLATE_POOL_REGISTRY
-
BIOME_REGISTRY
-
NOISE_REGISTRY
-
DENSITY_FUNCTION_REGISTRY
-
CARVER_REGISTRY
-
CARVER
Deprecated. -
FEATURE_REGISTRY
-
FEATURE
Deprecated. -
STRUCTURE_FEATURE_REGISTRY
-
STRUCTURE_FEATURE
Deprecated. -
STRUCTURE_PLACEMENT_TYPE_REGISTRY
public static final ResourceKey<Registry<StructurePlacementType<?>>> STRUCTURE_PLACEMENT_TYPE_REGISTRY -
STRUCTURE_PLACEMENT_TYPE
-
STRUCTURE_PIECE_REGISTRY
-
STRUCTURE_PIECE
-
PLACEMENT_MODIFIER_REGISTRY
-
PLACEMENT_MODIFIERS
-
BLOCK_STATE_PROVIDER_TYPE_REGISTRY
public static final ResourceKey<Registry<BlockStateProviderType<?>>> BLOCK_STATE_PROVIDER_TYPE_REGISTRY -
FOLIAGE_PLACER_TYPE_REGISTRY
-
TRUNK_PLACER_TYPE_REGISTRY
-
TREE_DECORATOR_TYPE_REGISTRY
-
FEATURE_SIZE_TYPE_REGISTRY
-
BIOME_SOURCE_REGISTRY
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>> BIOME_SOURCE_REGISTRY -
CHUNK_GENERATOR_REGISTRY
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>> CHUNK_GENERATOR_REGISTRY -
CONDITION_REGISTRY
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>>> CONDITION_REGISTRY -
RULE_REGISTRY
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>>> RULE_REGISTRY -
DENSITY_FUNCTION_TYPE_REGISTRY
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>> DENSITY_FUNCTION_TYPE_REGISTRY -
STRUCTURE_PROCESSOR_REGISTRY
-
STRUCTURE_POOL_ELEMENT_REGISTRY
public static final ResourceKey<Registry<StructurePoolElementType<?>>> STRUCTURE_POOL_ELEMENT_REGISTRY -
BLOCKSTATE_PROVIDER_TYPES
Deprecated. -
FOLIAGE_PLACER_TYPES
Deprecated. -
TRUNK_PLACER_TYPES
-
TREE_DECORATOR_TYPES
Deprecated. -
FEATURE_SIZE_TYPES
-
BIOME_SOURCE
-
CHUNK_GENERATOR
public static final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>> CHUNK_GENERATOR -
CONDITION
public static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules.ConditionSource>> CONDITION -
RULE
public static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules.RuleSource>> RULE -
DENSITY_FUNCTION_TYPES
public static final Registry<com.mojang.serialization.Codec<? extends DensityFunction>> DENSITY_FUNCTION_TYPES -
STRUCTURE_PROCESSOR
-
STRUCTURE_POOL_ELEMENT
-
key
-
lifecycle
private final com.mojang.serialization.Lifecycle lifecycle
-
-
Constructor Details
-
Registry
protected Registry(ResourceKey<? extends Registry<T>> p_122920_, com.mojang.serialization.Lifecycle p_122921_)
-
-
Method Details
-
createRegistryKey
-
checkRegistry
-
registerSimple
private static <T> Registry<T> registerSimple(ResourceKey<? extends Registry<T>> p_206009_, Registry.RegistryBootstrap<T> p_206010_) -
forge
private static <T extends IForgeRegistryEntry<T>> Registry<T> forge(ResourceKey<? extends Registry<T>> key, Registry.RegistryBootstrap<T> def) -
registerDefaulted
private static <T> DefaultedRegistry<T> registerDefaulted(ResourceKey<? extends Registry<T>> p_206028_, String p_206029_, Registry.RegistryBootstrap<T> p_206030_) -
forge
private static <T extends IForgeRegistryEntry<T>> DefaultedRegistry<T> forge(ResourceKey<? extends Registry<T>> key, String defKey, Registry.RegistryBootstrap<T> def) -
registerDefaulted
private static <T> DefaultedRegistry<T> registerDefaulted(ResourceKey<? extends Registry<T>> p_206032_, String p_206033_, Function<T, Holder.Reference<T>> p_206034_, Registry.RegistryBootstrap<T> p_206035_) -
forge
private static <T extends IForgeRegistryEntry<T>> Registry<T> forge(ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, Registry.RegistryBootstrap<T> def) -
registerSimple
private static <T> Registry<T> registerSimple(ResourceKey<? extends Registry<T>> p_206000_, com.mojang.serialization.Lifecycle p_206001_, Registry.RegistryBootstrap<T> p_206002_) -
forge
private static <T extends IForgeRegistryEntry<T>> DefaultedRegistry<T> forge(ResourceKey<? extends Registry<T>> key, String defKey, com.mojang.serialization.Lifecycle cycle, Registry.RegistryBootstrap<T> def) -
registerSimple
private static <T> Registry<T> registerSimple(ResourceKey<? extends Registry<T>> p_206004_, com.mojang.serialization.Lifecycle p_206005_, Function<T, Holder.Reference<T>> p_206006_, Registry.RegistryBootstrap<T> p_206007_) -
registerDefaulted
private static <T> DefaultedRegistry<T> registerDefaulted(ResourceKey<? extends Registry<T>> p_206017_, String p_206018_, com.mojang.serialization.Lifecycle p_206019_, Registry.RegistryBootstrap<T> p_206020_) -
registerDefaulted
private static <T> DefaultedRegistry<T> registerDefaulted(ResourceKey<? extends Registry<T>> p_206022_, String p_206023_, com.mojang.serialization.Lifecycle p_206024_, Function<T, Holder.Reference<T>> p_206025_, Registry.RegistryBootstrap<T> p_206026_) -
internalRegister
private static <T,R extends WritableRegistry<T>> R internalRegister(ResourceKey<? extends Registry<T>> p_206012_, R p_206013_, Registry.RegistryBootstrap<T> p_206014_, com.mojang.serialization.Lifecycle p_206015_) -
freezeBuiltins
public static void freezeBuiltins() -
key
-
lifecycle
public com.mojang.serialization.Lifecycle lifecycle() -
toString
-
byNameCodec
-
holderByNameCodec
-
keys
- Specified by:
keys
in interfacecom.mojang.serialization.Keyable
-
getKey
-
getResourceKey
-
getId
-
get
-
get
-
lifecycle
-
elementsLifecycle
public abstract com.mojang.serialization.Lifecycle elementsLifecycle() -
getOptional
-
getOptional
-
getOrThrow
-
keySet
-
entrySet
-
getRandom
-
stream
-
containsKey
-
containsKey
-
register
-
register
public static <V,T extends V> T register(Registry<V> p_122966_, ResourceLocation p_122967_, T p_122968_) -
register
public static <V,T extends V> T register(Registry<V> p_194580_, ResourceKey<V> p_194581_, T p_194582_) -
registerMapping
-
freeze
-
getOrCreateHolder
-
createIntrusiveHolder
-
getHolder
-
getHolder
-
getHolderOrThrow
-
holders
-
getTag
-
getTagOrEmpty
-
getOrCreateTag
-
getTags
-
getTagNames
-
isKnownTagName
-
resetTags
public abstract void resetTags() -
bindTags
-
asHolderIdMap
-