Package net.minecraft.util.registry
Class Registry<T>
- java.lang.Object
-
- net.minecraft.util.registry.Registry<T>
-
- All Implemented Interfaces:
com.mojang.serialization.Codec<T>
,com.mojang.serialization.Decoder<T>
,com.mojang.serialization.Encoder<T>
,com.mojang.serialization.Keyable
,java.lang.Iterable<T>
,IObjectIntIterable<T>
- Direct Known Subclasses:
MutableRegistry
public abstract class Registry<T> extends java.lang.Object implements com.mojang.serialization.Codec<T>, com.mojang.serialization.Keyable, IObjectIntIterable<T>
-
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
Registry(RegistryKey<? extends Registry<T>> p_i232510_1_, com.mojang.serialization.Lifecycle p_i232510_2_)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static <T extends MutableRegistry<?>>
voidcheckRegistry(MutableRegistry<T> p_239738_0_)
abstract boolean
containsKey(ResourceLocation p_212607_1_)
private static <T> RegistryKey<Registry<T>>
createRegistryKey(java.lang.String p_239741_0_)
<U> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<T,U>>
decode(com.mojang.serialization.DynamicOps<U> p_decode_1_, U p_decode_2_)
abstract com.mojang.serialization.Lifecycle
elementsLifecycle()
<U> com.mojang.serialization.DataResult<U>
encode(T p_encode_1_, com.mojang.serialization.DynamicOps<U> p_encode_2_, U p_encode_3_)
abstract java.util.Set<java.util.Map.Entry<RegistryKey<T>,T>>
entrySet()
private static <T extends IForgeRegistryEntry<T>>
Registry<T>forge(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, java.util.function.Supplier<T> def)
private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>forge(RegistryKey<? extends Registry<T>> key, java.lang.String defKey, com.mojang.serialization.Lifecycle cycle, java.util.function.Supplier<T> def)
private static <T extends IForgeRegistryEntry<T>>
DefaultedRegistry<T>forge(RegistryKey<? extends Registry<T>> key, java.lang.String defKey, java.util.function.Supplier<T> def)
private static <T extends IForgeRegistryEntry<T>>
Registry<T>forge(RegistryKey<? extends Registry<T>> key, java.util.function.Supplier<T> def)
abstract T
get(RegistryKey<T> p_230516_1_)
abstract T
get(ResourceLocation p_82594_1_)
abstract int
getId(T p_148757_1_)
abstract ResourceLocation
getKey(T p_177774_1_)
java.util.Optional<T>
getOptional(RegistryKey<T> p_243575_1_)
java.util.Optional<T>
getOptional(ResourceLocation p_241873_1_)
T
getOrThrow(RegistryKey<T> p_243576_1_)
abstract java.util.Optional<RegistryKey<T>>
getResourceKey(T p_230519_1_)
private static <T,R extends MutableRegistry<T>>
RinternalRegister(RegistryKey<? extends Registry<T>> p_239743_0_, R p_239743_1_, java.util.function.Supplier<T> p_239743_2_, com.mojang.serialization.Lifecycle p_239743_3_)
RegistryKey<? extends Registry<T>>
key()
<U> java.util.stream.Stream<U>
keys(com.mojang.serialization.DynamicOps<U> p_keys_1_)
abstract java.util.Set<ResourceLocation>
keySet()
protected abstract com.mojang.serialization.Lifecycle
lifecycle(T p_241876_1_)
static <T> T
register(Registry<? super T> p_218325_0_, java.lang.String p_218325_1_, T p_218325_2_)
static <V,T extends V>
Tregister(Registry<V> p_218322_0_, ResourceLocation p_218322_1_, T p_218322_2_)
private static <T> DefaultedRegistry<T>
registerDefaulted(RegistryKey<? extends Registry<T>> p_239744_0_, java.lang.String p_239744_1_, com.mojang.serialization.Lifecycle p_239744_2_, java.util.function.Supplier<T> p_239744_3_)
private static <T> DefaultedRegistry<T>
registerDefaulted(RegistryKey<? extends Registry<T>> p_239745_0_, java.lang.String p_239745_1_, java.util.function.Supplier<T> p_239745_2_)
static <V,T extends V>
TregisterMapping(Registry<V> p_218343_0_, int p_218343_1_, java.lang.String p_218343_2_, T p_218343_3_)
private static <T> Registry<T>
registerSimple(RegistryKey<? extends Registry<T>> p_239742_0_, com.mojang.serialization.Lifecycle p_239742_1_, java.util.function.Supplier<T> p_239742_2_)
private static <T> Registry<T>
registerSimple(RegistryKey<? extends Registry<T>> p_239746_0_, java.util.function.Supplier<T> p_239746_1_)
java.util.stream.Stream<T>
stream()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.mojang.serialization.Codec
comapFlatMap, deprecated, dispatch, dispatch, dispatchMap, dispatchMap, dispatchStable, fieldOf, flatComapMap, flatXmap, listOf, mapResult, optionalFieldOf, optionalFieldOf, optionalFieldOf, optionalFieldOf, orElse, orElse, orElse, orElseGet, orElseGet, orElseGet, partialDispatch, promotePartial, stable, withLifecycle, xmap
-
Methods inherited from interface com.mojang.serialization.Decoder
boxed, decode, flatMap, map, parse, parse, simple, terminal
-
Methods inherited from interface net.minecraft.util.IObjectIntIterable
byId
-
-
-
-
Field Detail
-
LOGGER
protected static final org.apache.logging.log4j.Logger LOGGER
-
LOADERS
private static final java.util.Map<ResourceLocation,java.util.function.Supplier<?>> LOADERS
-
ROOT_REGISTRY_NAME
public static final ResourceLocation ROOT_REGISTRY_NAME
-
WRITABLE_REGISTRY
protected static final MutableRegistry<MutableRegistry<?>> WRITABLE_REGISTRY
-
SOUND_EVENT_REGISTRY
public static final RegistryKey<Registry<SoundEvent>> SOUND_EVENT_REGISTRY
-
FLUID_REGISTRY
public static final RegistryKey<Registry<Fluid>> FLUID_REGISTRY
-
MOB_EFFECT_REGISTRY
public static final RegistryKey<Registry<Effect>> MOB_EFFECT_REGISTRY
-
BLOCK_REGISTRY
public static final RegistryKey<Registry<Block>> BLOCK_REGISTRY
-
ENCHANTMENT_REGISTRY
public static final RegistryKey<Registry<Enchantment>> ENCHANTMENT_REGISTRY
-
ENTITY_TYPE_REGISTRY
public static final RegistryKey<Registry<EntityType<?>>> ENTITY_TYPE_REGISTRY
-
ITEM_REGISTRY
public static final RegistryKey<Registry<Item>> ITEM_REGISTRY
-
POTION_REGISTRY
public static final RegistryKey<Registry<Potion>> POTION_REGISTRY
-
PARTICLE_TYPE_REGISTRY
public static final RegistryKey<Registry<ParticleType<?>>> PARTICLE_TYPE_REGISTRY
-
BLOCK_ENTITY_TYPE_REGISTRY
public static final RegistryKey<Registry<TileEntityType<?>>> BLOCK_ENTITY_TYPE_REGISTRY
-
MOTIVE_REGISTRY
public static final RegistryKey<Registry<PaintingType>> MOTIVE_REGISTRY
-
CUSTOM_STAT_REGISTRY
public static final RegistryKey<Registry<ResourceLocation>> CUSTOM_STAT_REGISTRY
-
CHUNK_STATUS_REGISTRY
public static final RegistryKey<Registry<ChunkStatus>> CHUNK_STATUS_REGISTRY
-
RULE_TEST_REGISTRY
public static final RegistryKey<Registry<IRuleTestType<?>>> RULE_TEST_REGISTRY
-
POS_RULE_TEST_REGISTRY
public static final RegistryKey<Registry<IPosRuleTests<?>>> POS_RULE_TEST_REGISTRY
-
MENU_REGISTRY
public static final RegistryKey<Registry<ContainerType<?>>> MENU_REGISTRY
-
RECIPE_TYPE_REGISTRY
public static final RegistryKey<Registry<IRecipeType<?>>> RECIPE_TYPE_REGISTRY
-
RECIPE_SERIALIZER_REGISTRY
public static final RegistryKey<Registry<IRecipeSerializer<?>>> RECIPE_SERIALIZER_REGISTRY
-
ATTRIBUTE_REGISTRY
public static final RegistryKey<Registry<Attribute>> ATTRIBUTE_REGISTRY
-
STAT_TYPE_REGISTRY
public static final RegistryKey<Registry<StatType<?>>> STAT_TYPE_REGISTRY
-
VILLAGER_TYPE_REGISTRY
public static final RegistryKey<Registry<VillagerType>> VILLAGER_TYPE_REGISTRY
-
VILLAGER_PROFESSION_REGISTRY
public static final RegistryKey<Registry<VillagerProfession>> VILLAGER_PROFESSION_REGISTRY
-
POINT_OF_INTEREST_TYPE_REGISTRY
public static final RegistryKey<Registry<PointOfInterestType>> POINT_OF_INTEREST_TYPE_REGISTRY
-
MEMORY_MODULE_TYPE_REGISTRY
public static final RegistryKey<Registry<MemoryModuleType<?>>> MEMORY_MODULE_TYPE_REGISTRY
-
SENSOR_TYPE_REGISTRY
public static final RegistryKey<Registry<SensorType<?>>> SENSOR_TYPE_REGISTRY
-
SCHEDULE_REGISTRY
public static final RegistryKey<Registry<Schedule>> SCHEDULE_REGISTRY
-
ACTIVITY_REGISTRY
public static final RegistryKey<Registry<Activity>> ACTIVITY_REGISTRY
-
LOOT_ENTRY_REGISTRY
public static final RegistryKey<Registry<LootPoolEntryType>> LOOT_ENTRY_REGISTRY
-
LOOT_FUNCTION_REGISTRY
public static final RegistryKey<Registry<LootFunctionType>> LOOT_FUNCTION_REGISTRY
-
LOOT_ITEM_REGISTRY
public static final RegistryKey<Registry<LootConditionType>> LOOT_ITEM_REGISTRY
-
DIMENSION_TYPE_REGISTRY
public static final RegistryKey<Registry<DimensionType>> DIMENSION_TYPE_REGISTRY
-
DIMENSION_REGISTRY
public static final RegistryKey<Registry<World>> DIMENSION_REGISTRY
-
LEVEL_STEM_REGISTRY
public static final RegistryKey<Registry<Dimension>> LEVEL_STEM_REGISTRY
-
SOUND_EVENT
@Deprecated public static final Registry<SoundEvent> SOUND_EVENT
Deprecated.
-
FLUID
@Deprecated public static final DefaultedRegistry<Fluid> FLUID
Deprecated.
-
BLOCK
@Deprecated public static final DefaultedRegistry<Block> BLOCK
Deprecated.
-
ENCHANTMENT
@Deprecated public static final Registry<Enchantment> ENCHANTMENT
Deprecated.
-
ENTITY_TYPE
@Deprecated public static final DefaultedRegistry<EntityType<?>> ENTITY_TYPE
Deprecated.
-
ITEM
@Deprecated public static final DefaultedRegistry<Item> ITEM
Deprecated.
-
POTION
@Deprecated public static final DefaultedRegistry<Potion> POTION
Deprecated.
-
PARTICLE_TYPE
@Deprecated public static final Registry<ParticleType<?>> PARTICLE_TYPE
Deprecated.
-
BLOCK_ENTITY_TYPE
@Deprecated public static final Registry<TileEntityType<?>> BLOCK_ENTITY_TYPE
Deprecated.
-
MOTIVE
@Deprecated public static final DefaultedRegistry<PaintingType> MOTIVE
Deprecated.
-
CUSTOM_STAT
public static final Registry<ResourceLocation> CUSTOM_STAT
-
CHUNK_STATUS
@Deprecated public static final DefaultedRegistry<ChunkStatus> CHUNK_STATUS
Deprecated.
-
RULE_TEST
public static final Registry<IRuleTestType<?>> RULE_TEST
-
POS_RULE_TEST
public static final Registry<IPosRuleTests<?>> POS_RULE_TEST
-
MENU
@Deprecated public static final Registry<ContainerType<?>> MENU
Deprecated.
-
RECIPE_TYPE
public static final Registry<IRecipeType<?>> RECIPE_TYPE
-
RECIPE_SERIALIZER
@Deprecated public static final Registry<IRecipeSerializer<?>> RECIPE_SERIALIZER
Deprecated.
-
VILLAGER_TYPE
public static final DefaultedRegistry<VillagerType> VILLAGER_TYPE
-
VILLAGER_PROFESSION
@Deprecated public static final DefaultedRegistry<VillagerProfession> VILLAGER_PROFESSION
Deprecated.
-
POINT_OF_INTEREST_TYPE
@Deprecated public static final DefaultedRegistry<PointOfInterestType> POINT_OF_INTEREST_TYPE
Deprecated.
-
MEMORY_MODULE_TYPE
@Deprecated public static final DefaultedRegistry<MemoryModuleType<?>> MEMORY_MODULE_TYPE
Deprecated.
-
SENSOR_TYPE
@Deprecated public static final DefaultedRegistry<SensorType<?>> SENSOR_TYPE
Deprecated.
-
LOOT_POOL_ENTRY_TYPE
public static final Registry<LootPoolEntryType> LOOT_POOL_ENTRY_TYPE
-
LOOT_FUNCTION_TYPE
public static final Registry<LootFunctionType> LOOT_FUNCTION_TYPE
-
LOOT_CONDITION_TYPE
public static final Registry<LootConditionType> LOOT_CONDITION_TYPE
-
NOISE_GENERATOR_SETTINGS_REGISTRY
public static final RegistryKey<Registry<DimensionSettings>> NOISE_GENERATOR_SETTINGS_REGISTRY
-
CONFIGURED_SURFACE_BUILDER_REGISTRY
public static final RegistryKey<Registry<ConfiguredSurfaceBuilder<?>>> CONFIGURED_SURFACE_BUILDER_REGISTRY
-
CONFIGURED_CARVER_REGISTRY
public static final RegistryKey<Registry<ConfiguredCarver<?>>> CONFIGURED_CARVER_REGISTRY
-
CONFIGURED_FEATURE_REGISTRY
public static final RegistryKey<Registry<ConfiguredFeature<?,?>>> CONFIGURED_FEATURE_REGISTRY
-
CONFIGURED_STRUCTURE_FEATURE_REGISTRY
public static final RegistryKey<Registry<StructureFeature<?,?>>> CONFIGURED_STRUCTURE_FEATURE_REGISTRY
-
PROCESSOR_LIST_REGISTRY
public static final RegistryKey<Registry<StructureProcessorList>> PROCESSOR_LIST_REGISTRY
-
TEMPLATE_POOL_REGISTRY
public static final RegistryKey<Registry<JigsawPattern>> TEMPLATE_POOL_REGISTRY
-
BIOME_REGISTRY
public static final RegistryKey<Registry<Biome>> BIOME_REGISTRY
-
SURFACE_BUILDER_REGISTRY
public static final RegistryKey<Registry<SurfaceBuilder<?>>> SURFACE_BUILDER_REGISTRY
-
SURFACE_BUILDER
@Deprecated public static final Registry<SurfaceBuilder<?>> SURFACE_BUILDER
Deprecated.
-
CARVER_REGISTRY
public static final RegistryKey<Registry<WorldCarver<?>>> CARVER_REGISTRY
-
CARVER
@Deprecated public static final Registry<WorldCarver<?>> CARVER
Deprecated.
-
FEATURE_REGISTRY
public static final RegistryKey<Registry<Feature<?>>> FEATURE_REGISTRY
-
STRUCTURE_FEATURE_REGISTRY
public static final RegistryKey<Registry<Structure<?>>> STRUCTURE_FEATURE_REGISTRY
-
STRUCTURE_FEATURE
@Deprecated public static final Registry<Structure<?>> STRUCTURE_FEATURE
Deprecated.
-
STRUCTURE_PIECE_REGISTRY
public static final RegistryKey<Registry<IStructurePieceType>> STRUCTURE_PIECE_REGISTRY
-
STRUCTURE_PIECE
public static final Registry<IStructurePieceType> STRUCTURE_PIECE
-
DECORATOR_REGISTRY
public static final RegistryKey<Registry<Placement<?>>> DECORATOR_REGISTRY
-
BLOCK_STATE_PROVIDER_TYPE_REGISTRY
public static final RegistryKey<Registry<BlockStateProviderType<?>>> BLOCK_STATE_PROVIDER_TYPE_REGISTRY
-
BLOCK_PLACER_TYPE_REGISTRY
public static final RegistryKey<Registry<BlockPlacerType<?>>> BLOCK_PLACER_TYPE_REGISTRY
-
FOLIAGE_PLACER_TYPE_REGISTRY
public static final RegistryKey<Registry<FoliagePlacerType<?>>> FOLIAGE_PLACER_TYPE_REGISTRY
-
TRUNK_PLACER_TYPE_REGISTRY
public static final RegistryKey<Registry<TrunkPlacerType<?>>> TRUNK_PLACER_TYPE_REGISTRY
-
TREE_DECORATOR_TYPE_REGISTRY
public static final RegistryKey<Registry<TreeDecoratorType<?>>> TREE_DECORATOR_TYPE_REGISTRY
-
FEATURE_SIZE_TYPE_REGISTRY
public static final RegistryKey<Registry<FeatureSizeType<?>>> FEATURE_SIZE_TYPE_REGISTRY
-
BIOME_SOURCE_REGISTRY
public static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends BiomeProvider>>> BIOME_SOURCE_REGISTRY
-
CHUNK_GENERATOR_REGISTRY
public static final RegistryKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>> CHUNK_GENERATOR_REGISTRY
-
STRUCTURE_PROCESSOR_REGISTRY
public static final RegistryKey<Registry<IStructureProcessorType<?>>> STRUCTURE_PROCESSOR_REGISTRY
-
STRUCTURE_POOL_ELEMENT_REGISTRY
public static final RegistryKey<Registry<IJigsawDeserializer<?>>> STRUCTURE_POOL_ELEMENT_REGISTRY
-
BLOCKSTATE_PROVIDER_TYPES
@Deprecated public static final Registry<BlockStateProviderType<?>> BLOCKSTATE_PROVIDER_TYPES
Deprecated.
-
BLOCK_PLACER_TYPES
@Deprecated public static final Registry<BlockPlacerType<?>> BLOCK_PLACER_TYPES
Deprecated.
-
FOLIAGE_PLACER_TYPES
@Deprecated public static final Registry<FoliagePlacerType<?>> FOLIAGE_PLACER_TYPES
Deprecated.
-
TRUNK_PLACER_TYPES
public static final Registry<TrunkPlacerType<?>> TRUNK_PLACER_TYPES
-
TREE_DECORATOR_TYPES
@Deprecated public static final Registry<TreeDecoratorType<?>> TREE_DECORATOR_TYPES
Deprecated.
-
FEATURE_SIZE_TYPES
public static final Registry<FeatureSizeType<?>> FEATURE_SIZE_TYPES
-
BIOME_SOURCE
public static final Registry<com.mojang.serialization.Codec<? extends BiomeProvider>> BIOME_SOURCE
-
CHUNK_GENERATOR
public static final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>> CHUNK_GENERATOR
-
STRUCTURE_PROCESSOR
public static final Registry<IStructureProcessorType<?>> STRUCTURE_PROCESSOR
-
STRUCTURE_POOL_ELEMENT
public static final Registry<IJigsawDeserializer<?>> STRUCTURE_POOL_ELEMENT
-
key
private final RegistryKey<? extends Registry<T>> key
-
lifecycle
private final com.mojang.serialization.Lifecycle lifecycle
-
-
Constructor Detail
-
Registry
protected Registry(RegistryKey<? extends Registry<T>> p_i232510_1_, com.mojang.serialization.Lifecycle p_i232510_2_)
-
-
Method Detail
-
createRegistryKey
private static <T> RegistryKey<Registry<T>> createRegistryKey(java.lang.String p_239741_0_)
-
checkRegistry
public static <T extends MutableRegistry<?>> void checkRegistry(MutableRegistry<T> p_239738_0_)
-
registerSimple
private static <T> Registry<T> registerSimple(RegistryKey<? extends Registry<T>> p_239746_0_, java.util.function.Supplier<T> p_239746_1_)
-
forge
private static <T extends IForgeRegistryEntry<T>> Registry<T> forge(RegistryKey<? extends Registry<T>> key, java.util.function.Supplier<T> def)
-
registerDefaulted
private static <T> DefaultedRegistry<T> registerDefaulted(RegistryKey<? extends Registry<T>> p_239745_0_, java.lang.String p_239745_1_, java.util.function.Supplier<T> p_239745_2_)
-
forge
private static <T extends IForgeRegistryEntry<T>> DefaultedRegistry<T> forge(RegistryKey<? extends Registry<T>> key, java.lang.String defKey, java.util.function.Supplier<T> def)
-
registerSimple
private static <T> Registry<T> registerSimple(RegistryKey<? extends Registry<T>> p_239742_0_, com.mojang.serialization.Lifecycle p_239742_1_, java.util.function.Supplier<T> p_239742_2_)
-
forge
private static <T extends IForgeRegistryEntry<T>> Registry<T> forge(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle cycle, java.util.function.Supplier<T> def)
-
registerDefaulted
private static <T> DefaultedRegistry<T> registerDefaulted(RegistryKey<? extends Registry<T>> p_239744_0_, java.lang.String p_239744_1_, com.mojang.serialization.Lifecycle p_239744_2_, java.util.function.Supplier<T> p_239744_3_)
-
forge
private static <T extends IForgeRegistryEntry<T>> DefaultedRegistry<T> forge(RegistryKey<? extends Registry<T>> key, java.lang.String defKey, com.mojang.serialization.Lifecycle cycle, java.util.function.Supplier<T> def)
-
internalRegister
private static <T,R extends MutableRegistry<T>> R internalRegister(RegistryKey<? extends Registry<T>> p_239743_0_, R p_239743_1_, java.util.function.Supplier<T> p_239743_2_, com.mojang.serialization.Lifecycle p_239743_3_)
-
key
public RegistryKey<? extends Registry<T>> key()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
decode
public <U> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<T,U>> decode(com.mojang.serialization.DynamicOps<U> p_decode_1_, U p_decode_2_)
- Specified by:
decode
in interfacecom.mojang.serialization.Decoder<T>
-
encode
public <U> com.mojang.serialization.DataResult<U> encode(T p_encode_1_, com.mojang.serialization.DynamicOps<U> p_encode_2_, U p_encode_3_)
- Specified by:
encode
in interfacecom.mojang.serialization.Encoder<T>
-
keys
public <U> java.util.stream.Stream<U> keys(com.mojang.serialization.DynamicOps<U> p_keys_1_)
- Specified by:
keys
in interfacecom.mojang.serialization.Keyable
-
getKey
@Nullable public abstract ResourceLocation getKey(T p_177774_1_)
-
getResourceKey
public abstract java.util.Optional<RegistryKey<T>> getResourceKey(T p_230519_1_)
-
getId
public abstract int getId(@Nullable T p_148757_1_)
- Specified by:
getId
in interfaceIObjectIntIterable<T>
-
get
@Nullable public abstract T get(@Nullable RegistryKey<T> p_230516_1_)
-
get
@Nullable public abstract T get(@Nullable ResourceLocation p_82594_1_)
-
lifecycle
protected abstract com.mojang.serialization.Lifecycle lifecycle(T p_241876_1_)
-
elementsLifecycle
public abstract com.mojang.serialization.Lifecycle elementsLifecycle()
-
getOptional
public java.util.Optional<T> getOptional(@Nullable ResourceLocation p_241873_1_)
-
getOptional
public java.util.Optional<T> getOptional(@Nullable RegistryKey<T> p_243575_1_)
-
getOrThrow
public T getOrThrow(RegistryKey<T> p_243576_1_)
-
keySet
public abstract java.util.Set<ResourceLocation> keySet()
-
entrySet
public abstract java.util.Set<java.util.Map.Entry<RegistryKey<T>,T>> entrySet()
-
stream
public java.util.stream.Stream<T> stream()
-
containsKey
public abstract boolean containsKey(ResourceLocation p_212607_1_)
-
register
public static <T> T register(Registry<? super T> p_218325_0_, java.lang.String p_218325_1_, T p_218325_2_)
-
register
public static <V,T extends V> T register(Registry<V> p_218322_0_, ResourceLocation p_218322_1_, T p_218322_2_)
-
registerMapping
public static <V,T extends V> T registerMapping(Registry<V> p_218343_0_, int p_218343_1_, java.lang.String p_218343_2_, T p_218343_3_)
-
-