net.minecraft.core

public abstract class Registry<T>

implements com.mojang.serialization.Keyable, IdMap<T>

gx
net.minecraft.core.Registry
net.minecraft.class_2378
net.minecraft.util.registry.Registry
net.minecraft.src.C_4705_
net.minecraft.core.IRegistry

Field summary

Modifier and TypeField
protected static final org.apache.logging.log4j.Logger
d
LOGGER
field_11139
LOGGER
f_122894_
private static final Map<ResourceLocation, Supplier<?>>
b
LOADERS
field_11140
DEFAULT_ENTRIES
f_122834_
public static final ResourceLocation
e
ROOT_REGISTRY_NAME
field_25100
ROOT_KEY
f_122895_
protected static final WritableRegistry<WritableRegistry<?>>
f
WRITABLE_REGISTRY
field_25101
ROOT
f_122896_
public static final Registry<? extends Registry<?>>
g
REGISTRY
field_11144
REGISTRIES
f_122897_
public static final ResourceKey<Registry<SoundEvent>>
h
SOUND_EVENT_REGISTRY
field_25102
SOUND_EVENT_KEY
f_122898_
public static final ResourceKey<Registry<Fluid>>
i
FLUID_REGISTRY
field_25103
FLUID_KEY
f_122899_
public static final ResourceKey<Registry<MobEffect>>
j
MOB_EFFECT_REGISTRY
field_25104
MOB_EFFECT_KEY
f_122900_
public static final ResourceKey<Registry<Block>>
k
BLOCK_REGISTRY
field_25105
BLOCK_KEY
f_122901_
public static final ResourceKey<Registry<Enchantment>>
l
ENCHANTMENT_REGISTRY
field_25106
ENCHANTMENT_KEY
f_122902_
public static final ResourceKey<Registry<EntityType<?>>>
m
ENTITY_TYPE_REGISTRY
field_25107
ENTITY_TYPE_KEY
f_122903_
public static final ResourceKey<Registry<Item>>
n
ITEM_REGISTRY
field_25108
ITEM_KEY
f_122904_
public static final ResourceKey<Registry<Potion>>
o
POTION_REGISTRY
field_25109
POTION_KEY
f_122905_
public static final ResourceKey<Registry<ParticleType<?>>>
p
PARTICLE_TYPE_REGISTRY
field_25070
PARTICLE_TYPE_KEY
f_122906_
public static final ResourceKey<Registry<BlockEntityType<?>>>
q
BLOCK_ENTITY_TYPE_REGISTRY
field_25073
BLOCK_ENTITY_TYPE_KEY
f_122907_
public static final ResourceKey<Registry<Motive>>
r
MOTIVE_REGISTRY
field_25074
MOTIVE_KEY
f_122908_
public static final ResourceKey<Registry<ResourceLocation>>
s
CUSTOM_STAT_REGISTRY
field_25075
CUSTOM_STAT_KEY
f_122909_
public static final ResourceKey<Registry<ChunkStatus>>
t
CHUNK_STATUS_REGISTRY
field_25076
CHUNK_STATUS_KEY
f_122910_
public static final ResourceKey<Registry<RuleTestType<?>>>
u
RULE_TEST_REGISTRY
field_25079
RULE_TEST_KEY
f_122911_
public static final ResourceKey<Registry<PosRuleTestType<?>>>
v
POS_RULE_TEST_REGISTRY
field_25080
POS_RULE_TEST_KEY
f_122912_
public static final ResourceKey<Registry<MenuType<?>>>
w
MENU_REGISTRY
field_25083
MENU_KEY
f_122913_
public static final ResourceKey<Registry<RecipeType<?>>>
x
RECIPE_TYPE_REGISTRY
field_25084
RECIPE_TYPE_KEY
f_122914_
public static final ResourceKey<Registry<RecipeSerializer<?>>>
y
RECIPE_SERIALIZER_REGISTRY
field_25085
RECIPE_SERIALIZER_KEY
f_122915_
public static final ResourceKey<Registry<Attribute>>
z
ATTRIBUTE_REGISTRY
field_25086
ATTRIBUTE_KEY
f_122916_
public static final ResourceKey<Registry<GameEvent>>
A
GAME_EVENT_REGISTRY
field_28266
GAME_EVENT_KEY
f_175423_
public static final ResourceKey<Registry<PositionSourceType<?>>>
B
POSITION_SOURCE_TYPE_REGISTRY
field_28263
POSITION_SOURCE_TYPE_KEY
f_175408_
public static final ResourceKey<Registry<StatType<?>>>
C
STAT_TYPE_REGISTRY
field_25087
STAT_TYPE_KEY
f_122917_
public static final ResourceKey<Registry<VillagerType>>
D
VILLAGER_TYPE_REGISTRY
field_25088
VILLAGER_TYPE_KEY
f_122808_
public static final ResourceKey<Registry<VillagerProfession>>
E
VILLAGER_PROFESSION_REGISTRY
field_25089
VILLAGER_PROFESSION_KEY
f_122809_
public static final ResourceKey<Registry<PoiType>>
F
POINT_OF_INTEREST_TYPE_REGISTRY
field_25090
POINT_OF_INTEREST_TYPE_KEY
f_122810_
public static final ResourceKey<Registry<MemoryModuleType<?>>>
G
MEMORY_MODULE_TYPE_REGISTRY
field_25091
MEMORY_MODULE_TYPE_KEY
f_122811_
public static final ResourceKey<Registry<SensorType<?>>>
H
SENSOR_TYPE_REGISTRY
field_25092
SENSOR_TYPE_KEY
f_122812_
public static final ResourceKey<Registry<Schedule>>
I
SCHEDULE_REGISTRY
field_25093
SCHEDULE_KEY
f_122813_
public static final ResourceKey<Registry<Activity>>
J
ACTIVITY_REGISTRY
field_25094
ACTIVITY_KEY
f_122814_
public static final ResourceKey<Registry<LootPoolEntryType>>
K
LOOT_ENTRY_REGISTRY
field_25295
LOOT_POOL_ENTRY_TYPE_KEY
f_122815_
public static final ResourceKey<Registry<LootItemFunctionType>>
L
LOOT_FUNCTION_REGISTRY
field_25296
LOOT_FUNCTION_TYPE_KEY
f_122816_
public static final ResourceKey<Registry<LootItemConditionType>>
M
LOOT_ITEM_REGISTRY
field_25297
LOOT_CONDITION_TYPE_KEY
f_122817_
public static final ResourceKey<Registry<LootNumberProviderType>>
N
LOOT_NUMBER_PROVIDER_REGISTRY
field_28005
LOOT_NUMBER_PROVIDER_TYPE_KEY
f_175409_
public static final ResourceKey<Registry<LootNbtProviderType>>
O
LOOT_NBT_PROVIDER_REGISTRY
field_28006
LOOT_NBT_PROVIDER_TYPE_KEY
f_175410_
public static final ResourceKey<Registry<LootScoreProviderType>>
P
LOOT_SCORE_PROVIDER_REGISTRY
field_28007
LOOT_SCORE_PROVIDER_TYPE_KEY
f_175411_
public static final ResourceKey<Registry<DimensionType>>
Q
DIMENSION_TYPE_REGISTRY
field_25095
DIMENSION_TYPE_KEY
f_122818_
public static final ResourceKey<Registry<Level>>
R
DIMENSION_REGISTRY
field_25298
WORLD_KEY
f_122819_
public static final ResourceKey<Registry<LevelStem>>
S
LEVEL_STEM_REGISTRY
field_25490
DIMENSION_KEY
f_122820_
public static final DefaultedRegistry<GameEvent>
T
GAME_EVENT
field_28264
GAME_EVENT
f_175412_
public static final Registry<SoundEvent>
U
SOUND_EVENT
field_11156
SOUND_EVENT
f_122821_
public static final DefaultedRegistry<Fluid>
V
FLUID
field_11154
FLUID
f_122822_
public static final Registry<MobEffect>
W
MOB_EFFECT
field_11159
STATUS_EFFECT
f_122823_
public static final DefaultedRegistry<Block>
X
BLOCK
field_11146
BLOCK
f_122824_
public static final Registry<Enchantment>
Y
ENCHANTMENT
field_11160
ENCHANTMENT
f_122825_
public static final DefaultedRegistry<EntityType<?>>
Z
ENTITY_TYPE
field_11145
ENTITY_TYPE
f_122826_
public static final DefaultedRegistry<Item>
aa
ITEM
field_11142
ITEM
f_122827_
public static final DefaultedRegistry<Potion>
ab
POTION
field_11143
POTION
f_122828_
public static final Registry<ParticleType<?>>
ac
PARTICLE_TYPE
field_11141
PARTICLE_TYPE
f_122829_
public static final Registry<BlockEntityType<?>>
ad
BLOCK_ENTITY_TYPE
field_11137
BLOCK_ENTITY_TYPE
f_122830_
public static final DefaultedRegistry<Motive>
ae
MOTIVE
field_11150
PAINTING_MOTIVE
f_122831_
public static final Registry<ResourceLocation>
af
CUSTOM_STAT
field_11158
CUSTOM_STAT
f_122832_
public static final DefaultedRegistry<ChunkStatus>
ag
CHUNK_STATUS
field_16643
CHUNK_STATUS
f_122833_
public static final Registry<RuleTestType<?>>
ah
RULE_TEST
field_16792
RULE_TEST
f_122861_
public static final Registry<PosRuleTestType<?>>
ai
POS_RULE_TEST
field_23398
POS_RULE_TEST
f_122862_
public static final Registry<MenuType<?>>
aj
MENU
field_17429
SCREEN_HANDLER
f_122863_
public static final Registry<RecipeType<?>>
ak
RECIPE_TYPE
field_17597
RECIPE_TYPE
f_122864_
public static final Registry<RecipeSerializer<?>>
al
RECIPE_SERIALIZER
field_17598
RECIPE_SERIALIZER
f_122865_
public static final Registry<Attribute>
am
ATTRIBUTE
field_23781
ATTRIBUTE
f_122866_
public static final Registry<PositionSourceType<?>>
an
POSITION_SOURCE_TYPE
field_28265
POSITION_SOURCE_TYPE
f_175420_
public static final Registry<StatType<?>>
ao
STAT_TYPE
field_11152
STAT_TYPE
f_122867_
public static final DefaultedRegistry<VillagerType>
ap
VILLAGER_TYPE
field_17166
VILLAGER_TYPE
f_122868_
public static final DefaultedRegistry<VillagerProfession>
aq
VILLAGER_PROFESSION
field_17167
VILLAGER_PROFESSION
f_122869_
public static final DefaultedRegistry<PoiType>
ar
POINT_OF_INTEREST_TYPE
field_18792
POINT_OF_INTEREST_TYPE
f_122870_
public static final DefaultedRegistry<MemoryModuleType<?>>
as
MEMORY_MODULE_TYPE
field_18793
MEMORY_MODULE_TYPE
f_122871_
public static final DefaultedRegistry<SensorType<?>>
at
SENSOR_TYPE
field_18794
SENSOR_TYPE
f_122872_
public static final Registry<Schedule>
au
SCHEDULE
field_18795
SCHEDULE
f_122873_
public static final Registry<Activity>
av
ACTIVITY
field_18796
ACTIVITY
f_122874_
public static final Registry<LootPoolEntryType>
aw
LOOT_POOL_ENTRY_TYPE
field_25293
LOOT_POOL_ENTRY_TYPE
f_122875_
public static final Registry<LootItemFunctionType>
ax
LOOT_FUNCTION_TYPE
field_25294
LOOT_FUNCTION_TYPE
f_122876_
public static final Registry<LootItemConditionType>
ay
LOOT_CONDITION_TYPE
field_25299
LOOT_CONDITION_TYPE
f_122877_
public static final Registry<LootNumberProviderType>
az
LOOT_NUMBER_PROVIDER_TYPE
field_28008
LOOT_NUMBER_PROVIDER_TYPE
f_175421_
public static final Registry<LootNbtProviderType>
aA
LOOT_NBT_PROVIDER_TYPE
field_28009
LOOT_NBT_PROVIDER_TYPE
f_175422_
public static final Registry<LootScoreProviderType>
aB
LOOT_SCORE_PROVIDER_TYPE
field_28010
LOOT_SCORE_PROVIDER_TYPE
f_175413_
public static final ResourceKey<Registry<FloatProviderType<?>>>
aC
FLOAT_PROVIDER_TYPE_REGISTRY
field_29075
FLOAT_PROVIDER_TYPE_KEY
f_175414_
public static final Registry<FloatProviderType<?>>
aD
FLOAT_PROVIDER_TYPES
field_29076
FLOAT_PROVIDER_TYPE
f_175415_
public static final ResourceKey<Registry<IntProviderType<?>>>
aE
INT_PROVIDER_TYPE_REGISTRY
field_33092
INT_PROVIDER_TYPE_KEY
f_175416_
public static final Registry<IntProviderType<?>>
aF
INT_PROVIDER_TYPES
field_33093
INT_PROVIDER_TYPE
f_175417_
public static final ResourceKey<Registry<HeightProviderType<?>>>
aG
HEIGHT_PROVIDER_TYPE_REGISTRY
field_33094
HEIGHT_PROVIDER_TYPE_KEY
f_175418_
public static final Registry<HeightProviderType<?>>
aH
HEIGHT_PROVIDER_TYPES
field_33095
HEIGHT_PROVIDER_TYPE
f_175419_
public static final ResourceKey<Registry<BlockPredicateType<?>>>
aI
BLOCK_PREDICATE_TYPE_REGISTRY
field_35089
BLOCK_PREDICATE_TYPE_KEY
f_194565_
public static final Registry<BlockPredicateType<?>>
aJ
BLOCK_PREDICATE_TYPES
field_35090
BLOCK_PREDICATE_TYPE
f_194566_
public static final ResourceKey<Registry<NoiseGeneratorSettings>>
aK
NOISE_GENERATOR_SETTINGS_REGISTRY
field_26374
CHUNK_GENERATOR_SETTINGS_KEY
f_122878_
public static final ResourceKey<Registry<ConfiguredWorldCarver<?>>>
aL
CONFIGURED_CARVER_REGISTRY
field_25913
CONFIGURED_CARVER_KEY
f_122880_
public static final ResourceKey<Registry<ConfiguredFeature<?, ?>>>
aM
CONFIGURED_FEATURE_REGISTRY
field_25914
CONFIGURED_FEATURE_KEY
f_122881_
public static final ResourceKey<Registry<PlacedFeature>>
aN
PLACED_FEATURE_REGISTRY
field_35758
PLACED_FEATURE_KEY
f_194567_
public static final ResourceKey<Registry<ConfiguredStructureFeature<?, ?>>>
aO
CONFIGURED_STRUCTURE_FEATURE_REGISTRY
field_25915
CONFIGURED_STRUCTURE_FEATURE_KEY
f_122882_
public static final ResourceKey<Registry<StructureProcessorList>>
aP
PROCESSOR_LIST_REGISTRY
field_25916
STRUCTURE_PROCESSOR_LIST_KEY
f_122883_
public static final ResourceKey<Registry<StructureTemplatePool>>
aQ
TEMPLATE_POOL_REGISTRY
field_25917
STRUCTURE_POOL_KEY
f_122884_
public static final ResourceKey<Registry<Biome>>
aR
BIOME_REGISTRY
field_25114
BIOME_KEY
f_122885_
public static final ResourceKey<Registry<NormalNoise$NoiseParameters>>
aS
NOISE_REGISTRY
field_35433
NOISE_WORLDGEN
f_194568_
public static final ResourceKey<Registry<WorldCarver<?>>>
aT
CARVER_REGISTRY
field_25110
CARVER_KEY
f_122836_
public static final Registry<WorldCarver<?>>
aU
CARVER
field_11157
CARVER
f_122837_
public static final ResourceKey<Registry<Feature<?>>>
aV
FEATURE_REGISTRY
field_25112
FEATURE_KEY
f_122838_
public static final Registry<Feature<?>>
aW
FEATURE
field_11138
FEATURE
f_122839_
public static final ResourceKey<Registry<StructureFeature<?>>>
aX
STRUCTURE_FEATURE_REGISTRY
field_25077
STRUCTURE_FEATURE_KEY
f_122840_
public static final Registry<StructureFeature<?>>
aY
STRUCTURE_FEATURE
field_16644
STRUCTURE_FEATURE
f_122841_
public static final ResourceKey<Registry<StructurePieceType>>
aZ
STRUCTURE_PIECE_REGISTRY
field_25078
STRUCTURE_PIECE_KEY
f_122842_
public static final Registry<StructurePieceType>
ba
STRUCTURE_PIECE
field_16645
STRUCTURE_PIECE
f_122843_
public static final ResourceKey<Registry<PlacementModifierType<?>>>
bb
PLACEMENT_MODIFIER_REGISTRY
field_35759
PLACEMENT_MODIFIER_TYPE_KEY
f_194569_
public static final Registry<PlacementModifierType<?>>
bc
PLACEMENT_MODIFIERS
field_35760
PLACEMENT_MODIFIER_TYPE
f_194570_
public static final ResourceKey<Registry<BlockStateProviderType<?>>>
bd
BLOCK_STATE_PROVIDER_TYPE_REGISTRY
field_25115
BLOCK_STATE_PROVIDER_TYPE_KEY
f_122846_
public static final ResourceKey<Registry<FoliagePlacerType<?>>>
be
FOLIAGE_PLACER_TYPE_REGISTRY
field_25117
FOLIAGE_PLACER_TYPE_KEY
f_122848_
public static final ResourceKey<Registry<TrunkPlacerType<?>>>
bf
TRUNK_PLACER_TYPE_REGISTRY
field_25118
TRUNK_PLACER_TYPE_KEY
f_122849_
public static final ResourceKey<Registry<TreeDecoratorType<?>>>
bg
TREE_DECORATOR_TYPE_REGISTRY
field_25068
TREE_DECORATOR_TYPE_KEY
f_122850_
public static final ResourceKey<Registry<FeatureSizeType<?>>>
bh
FEATURE_SIZE_TYPE_REGISTRY
field_25069
FEATURE_SIZE_TYPE_KEY
f_122851_
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>
bi
BIOME_SOURCE_REGISTRY
field_25071
BIOME_SOURCE_KEY
f_122852_
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
bj
CHUNK_GENERATOR_REGISTRY
field_25072
CHUNK_GENERATOR_KEY
f_122853_
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules$ConditionSource>>>
bk
CONDITION_REGISTRY
field_35305
MATERIAL_CONDITION_KEY
f_194571_
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules$RuleSource>>>
bl
RULE_REGISTRY
field_35306
MATERIAL_RULE_KEY
f_194572_
public static final ResourceKey<Registry<StructureProcessorType<?>>>
bm
STRUCTURE_PROCESSOR_REGISTRY
field_25081
STRUCTURE_PROCESSOR_KEY
f_122854_
public static final ResourceKey<Registry<StructurePoolElementType<?>>>
bn
STRUCTURE_POOL_ELEMENT_REGISTRY
field_25082
STRUCTURE_POOL_ELEMENT_KEY
f_122855_
public static final Registry<BlockStateProviderType<?>>
bo
BLOCKSTATE_PROVIDER_TYPES
field_21445
BLOCK_STATE_PROVIDER_TYPE
f_122856_
public static final Registry<FoliagePlacerType<?>>
bp
FOLIAGE_PLACER_TYPES
field_21447
FOLIAGE_PLACER_TYPE
f_122858_
public static final Registry<TrunkPlacerType<?>>
bq
TRUNK_PLACER_TYPES
field_23782
TRUNK_PLACER_TYPE
f_122859_
public static final Registry<TreeDecoratorType<?>>
br
TREE_DECORATOR_TYPES
field_21448
TREE_DECORATOR_TYPE
f_122860_
public static final Registry<FeatureSizeType<?>>
bs
FEATURE_SIZE_TYPES
field_24331
FEATURE_SIZE_TYPE
f_122888_
public static final Registry<com.mojang.serialization.Codec<? extends BiomeSource>>
bt
BIOME_SOURCE
field_25096
BIOME_SOURCE
f_122889_
public static final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>
bu
CHUNK_GENERATOR
field_25097
CHUNK_GENERATOR
f_122890_
public static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules$ConditionSource>>
bv
CONDITION
field_35307
MATERIAL_CONDITION
f_194573_
public static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules$RuleSource>>
bw
RULE
field_35308
MATERIAL_RULE
f_194574_
public static final Registry<StructureProcessorType<?>>
bx
STRUCTURE_PROCESSOR
field_16794
STRUCTURE_PROCESSOR
f_122891_
public static final Registry<StructurePoolElementType<?>>
by
STRUCTURE_POOL_ELEMENT
field_16793
STRUCTURE_POOL_ELEMENT
f_122892_
private final ResourceKey<? extends Registry<T>>
c
key
field_25098
registryKey
f_122887_
private final com.mojang.serialization.Lifecycle
bz
lifecycle
field_25099
lifecycle
f_122893_

Constructor summary

ModifierConstructor
protected (ResourceKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle)

Method summary

Modifier and TypeMethod
private static <T> ResourceKey<Registry<T>>
a(String arg0)
createRegistryKey(String arg0)
method_29106(String arg0)
createRegistryKey(String registryId)
m_122978_(String p_122979_)
public static <T extends WritableRegistry<?>> void
a(hd<T> arg0)
checkRegistry(WritableRegistry<T> arg0)
method_29103(class_2385<T> arg0)
validate(MutableRegistry<T> registry)
m_122969_(C_4714_<T> p_122970_)
private static <T> Registry<T>
a(yg<? extends gx<T>> arg0, Supplier<T> arg1)
registerSimple(ResourceKey<? extends Registry<T>> arg0, Supplier<T> arg1)
method_10247(class_5321<? extends class_2378<T>> arg0, Supplier<T> arg1)
create(RegistryKey<? extends Registry<T>> key, Supplier<T> defaultEntry)
m_122999_(C_5264_<? extends C_4705_<T>> p_123000_, Supplier<T> p_123001_)
private static <T> DefaultedRegistry<T>
a(yg<? extends gx<T>> arg0, String arg1, Supplier<T> arg2)
registerDefaulted(ResourceKey<? extends Registry<T>> arg0, String arg1, Supplier<T> arg2)
method_10224(class_5321<? extends class_2378<T>> arg0, String arg1, Supplier<T> arg2)
create(RegistryKey<? extends Registry<T>> key, String defaultId, Supplier<T> defaultEntry)
m_122995_(C_5264_<? extends C_4705_<T>> p_122996_, String p_122997_, Supplier<T> p_122998_)
private static <T> Registry<T>
a(yg<? extends gx<T>> arg0, com.mojang.serialization.Lifecycle arg1, Supplier<T> arg2)
registerSimple(ResourceKey<? extends Registry<T>> arg0, com.mojang.serialization.Lifecycle arg1, Supplier<T> arg2)
method_29108(class_5321<? extends class_2378<T>> arg0, com.mojang.serialization.Lifecycle arg1, Supplier<T> arg2)
create(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Supplier<T> defaultEntry)
m_122981_(C_5264_<? extends C_4705_<T>> p_122982_, com.mojang.serialization.Lifecycle p_122983_, Supplier<T> p_122984_)
private static <T> DefaultedRegistry<T>
a(yg<? extends gx<T>> arg0, String arg1, com.mojang.serialization.Lifecycle arg2, Supplier<T> arg3)
registerDefaulted(ResourceKey<? extends Registry<T>> arg0, String arg1, com.mojang.serialization.Lifecycle arg2, Supplier<T> arg3)
method_29109(class_5321<? extends class_2378<T>> arg0, String arg1, com.mojang.serialization.Lifecycle arg2, Supplier<T> arg3)
create(RegistryKey<? extends Registry<T>> key, String defaultId, com.mojang.serialization.Lifecycle lifecycle, Supplier<T> defaultEntry)
m_122990_(C_5264_<? extends C_4705_<T>> p_122991_, String p_122992_, com.mojang.serialization.Lifecycle p_122993_, Supplier<T> p_122994_)
private static <T, R extends WritableRegistry<T>> R
a(yg<? extends gx<T>> arg0, R arg1, Supplier<T> arg2, com.mojang.serialization.Lifecycle arg3)
internalRegister(ResourceKey<? extends Registry<T>> arg0, R arg1, Supplier<T> arg2, com.mojang.serialization.Lifecycle arg3)
method_10227(class_5321<? extends class_2378<T>> arg0, R arg1, Supplier<T> arg2, com.mojang.serialization.Lifecycle arg3)
create(RegistryKey<? extends Registry<T>> key, R registry, Supplier<T> defaultEntry, com.mojang.serialization.Lifecycle lifecycle)
m_122985_(C_5264_<? extends C_4705_<T>> p_122986_, R p_122987_, Supplier<T> p_122988_, com.mojang.serialization.Lifecycle p_122989_)
public ResourceKey<? extends Registry<T>>
g()
key()
method_30517()
getKey()
m_123023_()
public com.mojang.serialization.Lifecycle
h()
lifecycle()
method_39198()
method_39198()
m_194602_()
public com.mojang.serialization.Codec<T>
i()
byNameCodec()
method_39673()
getCodec()
m_194605_()
public <U> Stream<U>
keys(com.mojang.serialization.DynamicOps<U> arg0)
keys(com.mojang.serialization.DynamicOps<U> arg0)
keys(com.mojang.serialization.DynamicOps<U> arg0)
public abstract ResourceLocation
b(T arg0)
getKey(T arg0)
method_10221(T arg0)
getId(T entry)
m_7981_(T arg0)
public abstract Optional<ResourceKey<T>>
c(T arg0)
getResourceKey(T arg0)
method_29113(T arg0)
getKey(T entry)
m_7854_(T arg0)
public abstract int
a(T arg0)
getId(T arg0)
method_10206(T arg0)
getRawId(T arg0)
m_7447_(T arg0)
public abstract T
a(yg<T> arg0)
get(ResourceKey<T> arg0)
method_29107(class_5321<T> arg0)
get(RegistryKey<T> key)
m_6246_(C_5264_<T> arg0)
public abstract T
a(yh arg0)
get(ResourceLocation arg0)
method_10223(class_2960 arg0)
get(Identifier id)
m_7745_(C_5265_ arg0)
public abstract com.mojang.serialization.Lifecycle
d(T arg0)
lifecycle(T arg0)
method_31139(T arg0)
getEntryLifecycle(T entry)
m_6228_(T arg0)
public abstract com.mojang.serialization.Lifecycle
c()
elementsLifecycle()
method_31138()
getLifecycle()
m_7837_()
public Optional<T>
b(yh arg0)
getOptional(ResourceLocation arg0)
method_17966(class_2960 arg0)
getOrEmpty(Identifier id)
m_6612_(C_5265_ arg0)
public Optional<T>
c(yg<T> arg0)
getOptional(ResourceKey<T> arg0)
method_31189(class_5321<T> arg0)
getOrEmpty(RegistryKey<T> key)
m_123009_(C_5264_<T> arg0)
public T
d(yg<T> arg0)
getOrThrow(ResourceKey<T> arg0)
method_31140(class_5321<T> arg0)
getOrThrow(RegistryKey<T> key)
m_123013_(C_5264_<T> arg0)
public abstract Set<ResourceLocation>
d()
keySet()
method_10235()
getIds()
m_6566_()
public abstract Set<Map$Entry<ResourceKey<T>, T>>
e()
entrySet()
method_29722()
getEntries()
m_6579_()
public abstract T
a(Random arg0)
getRandom(Random arg0)
method_10240(Random arg0)
getRandom(Random random)
m_142697_(Random arg0)
public Stream<T>
j()
stream()
method_10220()
stream()
m_123024_()
public abstract boolean
c(yh arg0)
containsKey(ResourceLocation arg0)
method_10250(class_2960 arg0)
containsId(Identifier id)
m_7804_(C_5265_ arg0)
public abstract boolean
b(yg<T> arg0)
containsKey(ResourceKey<T> arg0)
method_35842(class_5321<T> arg0)
contains(RegistryKey<T> key)
m_142003_(C_5264_<T> arg0)
public static <T> T
a(gx<? super T> arg0, String arg1, T arg2)
register(Registry<? super T> arg0, String arg1, T arg2)
method_10226(class_2378<? super T> arg0, String arg1, T arg2)
register(Registry<? super T> registry, String id, T entry)
m_122961_(C_4705_<? super T> p_122962_, String p_122963_, T p_122964_)
public static <V, T extends V> T
a(gx<V> arg0, yh arg1, T arg2)
register(Registry<V> arg0, ResourceLocation arg1, T arg2)
method_10230(class_2378<V> arg0, class_2960 arg1, T arg2)
register(Registry<V> registry, Identifier id, T entry)
m_122965_(C_4705_<V> p_122966_, C_5265_ p_122967_, T p_122968_)
public static <V, T extends V> T
a(gx<V> arg0, yg<V> arg1, T arg2)
register(Registry<V> arg0, ResourceKey<V> arg1, T arg2)
method_39197(class_2378<V> arg0, class_5321<V> arg1, T arg2)
register(Registry<V> registry, RegistryKey<V> key, T entry)
m_194579_(C_4705_<V> p_194580_, C_5264_<V> p_194581_, T p_194582_)
public static <V, T extends V> T
a(gx<V> arg0, int arg1, String arg2, T arg3)
registerMapping(Registry<V> arg0, int arg1, String arg2, T arg3)
method_10231(class_2378<V> arg0, int arg1, String arg2, T arg3)
register(Registry<V> registry, int rawId, String id, T entry)
m_122956_(C_4705_<V> p_122957_, int p_122958_, String p_122959_, T p_122960_)