net.minecraft.core

public abstract class Registry<T>

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

hb
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
private static final org.slf4j.Logger
bC
LOGGER
field_11139
LOGGER
f_122894_
private static final Map<ResourceLocation, Supplier<?>>
bD
LOADERS
field_11140
DEFAULT_ENTRIES
f_122834_
public static final ResourceLocation
b
ROOT_REGISTRY_NAME
field_25100
ROOT_KEY
f_122895_
protected static final WritableRegistry<WritableRegistry<?>>
c
WRITABLE_REGISTRY
field_25101
ROOT
f_122896_
public static final Registry<? extends Registry<?>>
d
REGISTRY
field_11144
REGISTRIES
f_122897_
public static final ResourceKey<Registry<SoundEvent>>
e
SOUND_EVENT_REGISTRY
field_25102
SOUND_EVENT_KEY
f_122898_
public static final ResourceKey<Registry<Fluid>>
f
FLUID_REGISTRY
field_25103
FLUID_KEY
f_122899_
public static final ResourceKey<Registry<MobEffect>>
g
MOB_EFFECT_REGISTRY
field_25104
MOB_EFFECT_KEY
f_122900_
public static final ResourceKey<Registry<Block>>
h
BLOCK_REGISTRY
field_25105
BLOCK_KEY
f_122901_
public static final ResourceKey<Registry<Enchantment>>
i
ENCHANTMENT_REGISTRY
field_25106
ENCHANTMENT_KEY
f_122902_
public static final ResourceKey<Registry<EntityType<?>>>
j
ENTITY_TYPE_REGISTRY
field_25107
ENTITY_TYPE_KEY
f_122903_
public static final ResourceKey<Registry<Item>>
k
ITEM_REGISTRY
field_25108
ITEM_KEY
f_122904_
public static final ResourceKey<Registry<Potion>>
l
POTION_REGISTRY
field_25109
POTION_KEY
f_122905_
public static final ResourceKey<Registry<ParticleType<?>>>
m
PARTICLE_TYPE_REGISTRY
field_25070
PARTICLE_TYPE_KEY
f_122906_
public static final ResourceKey<Registry<BlockEntityType<?>>>
n
BLOCK_ENTITY_TYPE_REGISTRY
field_25073
BLOCK_ENTITY_TYPE_KEY
f_122907_
public static final ResourceKey<Registry<Motive>>
o
MOTIVE_REGISTRY
field_25074
MOTIVE_KEY
f_122908_
public static final ResourceKey<Registry<ResourceLocation>>
p
CUSTOM_STAT_REGISTRY
field_25075
CUSTOM_STAT_KEY
f_122909_
public static final ResourceKey<Registry<ChunkStatus>>
q
CHUNK_STATUS_REGISTRY
field_25076
CHUNK_STATUS_KEY
f_122910_
public static final ResourceKey<Registry<RuleTestType<?>>>
r
RULE_TEST_REGISTRY
field_25079
RULE_TEST_KEY
f_122911_
public static final ResourceKey<Registry<PosRuleTestType<?>>>
s
POS_RULE_TEST_REGISTRY
field_25080
POS_RULE_TEST_KEY
f_122912_
public static final ResourceKey<Registry<MenuType<?>>>
t
MENU_REGISTRY
field_25083
MENU_KEY
f_122913_
public static final ResourceKey<Registry<RecipeType<?>>>
u
RECIPE_TYPE_REGISTRY
field_25084
RECIPE_TYPE_KEY
f_122914_
public static final ResourceKey<Registry<RecipeSerializer<?>>>
v
RECIPE_SERIALIZER_REGISTRY
field_25085
RECIPE_SERIALIZER_KEY
f_122915_
public static final ResourceKey<Registry<Attribute>>
w
ATTRIBUTE_REGISTRY
field_25086
ATTRIBUTE_KEY
f_122916_
public static final ResourceKey<Registry<GameEvent>>
x
GAME_EVENT_REGISTRY
field_28266
GAME_EVENT_KEY
f_175423_
public static final ResourceKey<Registry<PositionSourceType<?>>>
y
POSITION_SOURCE_TYPE_REGISTRY
field_28263
POSITION_SOURCE_TYPE_KEY
f_175408_
public static final ResourceKey<Registry<StatType<?>>>
z
STAT_TYPE_REGISTRY
field_25087
STAT_TYPE_KEY
f_122917_
public static final ResourceKey<Registry<VillagerType>>
A
VILLAGER_TYPE_REGISTRY
field_25088
VILLAGER_TYPE_KEY
f_122808_
public static final ResourceKey<Registry<VillagerProfession>>
B
VILLAGER_PROFESSION_REGISTRY
field_25089
VILLAGER_PROFESSION_KEY
f_122809_
public static final ResourceKey<Registry<PoiType>>
C
POINT_OF_INTEREST_TYPE_REGISTRY
field_25090
POINT_OF_INTEREST_TYPE_KEY
f_122810_
public static final ResourceKey<Registry<MemoryModuleType<?>>>
D
MEMORY_MODULE_TYPE_REGISTRY
field_25091
MEMORY_MODULE_TYPE_KEY
f_122811_
public static final ResourceKey<Registry<SensorType<?>>>
E
SENSOR_TYPE_REGISTRY
field_25092
SENSOR_TYPE_KEY
f_122812_
public static final ResourceKey<Registry<Schedule>>
F
SCHEDULE_REGISTRY
field_25093
SCHEDULE_KEY
f_122813_
public static final ResourceKey<Registry<Activity>>
G
ACTIVITY_REGISTRY
field_25094
ACTIVITY_KEY
f_122814_
public static final ResourceKey<Registry<LootPoolEntryType>>
H
LOOT_ENTRY_REGISTRY
field_25295
LOOT_POOL_ENTRY_TYPE_KEY
f_122815_
public static final ResourceKey<Registry<LootItemFunctionType>>
I
LOOT_FUNCTION_REGISTRY
field_25296
LOOT_FUNCTION_TYPE_KEY
f_122816_
public static final ResourceKey<Registry<LootItemConditionType>>
J
LOOT_ITEM_REGISTRY
field_25297
LOOT_CONDITION_TYPE_KEY
f_122817_
public static final ResourceKey<Registry<LootNumberProviderType>>
K
LOOT_NUMBER_PROVIDER_REGISTRY
field_28005
LOOT_NUMBER_PROVIDER_TYPE_KEY
f_175409_
public static final ResourceKey<Registry<LootNbtProviderType>>
L
LOOT_NBT_PROVIDER_REGISTRY
field_28006
LOOT_NBT_PROVIDER_TYPE_KEY
f_175410_
public static final ResourceKey<Registry<LootScoreProviderType>>
M
LOOT_SCORE_PROVIDER_REGISTRY
field_28007
LOOT_SCORE_PROVIDER_TYPE_KEY
f_175411_
public static final ResourceKey<Registry<DimensionType>>
N
DIMENSION_TYPE_REGISTRY
field_25095
DIMENSION_TYPE_KEY
f_122818_
public static final ResourceKey<Registry<Level>>
O
DIMENSION_REGISTRY
field_25298
WORLD_KEY
f_122819_
public static final ResourceKey<Registry<LevelStem>>
P
LEVEL_STEM_REGISTRY
field_25490
DIMENSION_KEY
f_122820_
public static final DefaultedRegistry<GameEvent>
Q
GAME_EVENT
field_28264
GAME_EVENT
f_175412_
public static final Registry<SoundEvent>
R
SOUND_EVENT
field_11156
SOUND_EVENT
f_122821_
public static final DefaultedRegistry<Fluid>
S
FLUID
field_11154
FLUID
f_122822_
public static final Registry<MobEffect>
T
MOB_EFFECT
field_11159
STATUS_EFFECT
f_122823_
public static final DefaultedRegistry<Block>
U
BLOCK
field_11146
BLOCK
f_122824_
public static final Registry<Enchantment>
V
ENCHANTMENT
field_11160
ENCHANTMENT
f_122825_
public static final DefaultedRegistry<EntityType<?>>
W
ENTITY_TYPE
field_11145
ENTITY_TYPE
f_122826_
public static final DefaultedRegistry<Item>
X
ITEM
field_11142
ITEM
f_122827_
public static final DefaultedRegistry<Potion>
Y
POTION
field_11143
POTION
f_122828_
public static final Registry<ParticleType<?>>
Z
PARTICLE_TYPE
field_11141
PARTICLE_TYPE
f_122829_
public static final Registry<BlockEntityType<?>>
aa
BLOCK_ENTITY_TYPE
field_11137
BLOCK_ENTITY_TYPE
f_122830_
public static final DefaultedRegistry<Motive>
ab
MOTIVE
field_11150
PAINTING_MOTIVE
f_122831_
public static final Registry<ResourceLocation>
ac
CUSTOM_STAT
field_11158
CUSTOM_STAT
f_122832_
public static final DefaultedRegistry<ChunkStatus>
ad
CHUNK_STATUS
field_16643
CHUNK_STATUS
f_122833_
public static final Registry<RuleTestType<?>>
ae
RULE_TEST
field_16792
RULE_TEST
f_122861_
public static final Registry<PosRuleTestType<?>>
af
POS_RULE_TEST
field_23398
POS_RULE_TEST
f_122862_
public static final Registry<MenuType<?>>
ag
MENU
field_17429
SCREEN_HANDLER
f_122863_
public static final Registry<RecipeType<?>>
ah
RECIPE_TYPE
field_17597
RECIPE_TYPE
f_122864_
public static final Registry<RecipeSerializer<?>>
ai
RECIPE_SERIALIZER
field_17598
RECIPE_SERIALIZER
f_122865_
public static final Registry<Attribute>
aj
ATTRIBUTE
field_23781
ATTRIBUTE
f_122866_
public static final Registry<PositionSourceType<?>>
ak
POSITION_SOURCE_TYPE
field_28265
POSITION_SOURCE_TYPE
f_175420_
public static final Registry<StatType<?>>
al
STAT_TYPE
field_11152
STAT_TYPE
f_122867_
public static final DefaultedRegistry<VillagerType>
am
VILLAGER_TYPE
field_17166
VILLAGER_TYPE
f_122868_
public static final DefaultedRegistry<VillagerProfession>
an
VILLAGER_PROFESSION
field_17167
VILLAGER_PROFESSION
f_122869_
public static final DefaultedRegistry<PoiType>
ao
POINT_OF_INTEREST_TYPE
field_18792
POINT_OF_INTEREST_TYPE
f_122870_
public static final DefaultedRegistry<MemoryModuleType<?>>
ap
MEMORY_MODULE_TYPE
field_18793
MEMORY_MODULE_TYPE
f_122871_
public static final DefaultedRegistry<SensorType<?>>
aq
SENSOR_TYPE
field_18794
SENSOR_TYPE
f_122872_
public static final Registry<Schedule>
ar
SCHEDULE
field_18795
SCHEDULE
f_122873_
public static final Registry<Activity>
as
ACTIVITY
field_18796
ACTIVITY
f_122874_
public static final Registry<LootPoolEntryType>
at
LOOT_POOL_ENTRY_TYPE
field_25293
LOOT_POOL_ENTRY_TYPE
f_122875_
public static final Registry<LootItemFunctionType>
au
LOOT_FUNCTION_TYPE
field_25294
LOOT_FUNCTION_TYPE
f_122876_
public static final Registry<LootItemConditionType>
av
LOOT_CONDITION_TYPE
field_25299
LOOT_CONDITION_TYPE
f_122877_
public static final Registry<LootNumberProviderType>
aw
LOOT_NUMBER_PROVIDER_TYPE
field_28008
LOOT_NUMBER_PROVIDER_TYPE
f_175421_
public static final Registry<LootNbtProviderType>
ax
LOOT_NBT_PROVIDER_TYPE
field_28009
LOOT_NBT_PROVIDER_TYPE
f_175422_
public static final Registry<LootScoreProviderType>
ay
LOOT_SCORE_PROVIDER_TYPE
field_28010
LOOT_SCORE_PROVIDER_TYPE
f_175413_
public static final ResourceKey<Registry<FloatProviderType<?>>>
az
FLOAT_PROVIDER_TYPE_REGISTRY
field_29075
FLOAT_PROVIDER_TYPE_KEY
f_175414_
public static final Registry<FloatProviderType<?>>
aA
FLOAT_PROVIDER_TYPES
field_29076
FLOAT_PROVIDER_TYPE
f_175415_
public static final ResourceKey<Registry<IntProviderType<?>>>
aB
INT_PROVIDER_TYPE_REGISTRY
field_33092
INT_PROVIDER_TYPE_KEY
f_175416_
public static final Registry<IntProviderType<?>>
aC
INT_PROVIDER_TYPES
field_33093
INT_PROVIDER_TYPE
f_175417_
public static final ResourceKey<Registry<HeightProviderType<?>>>
aD
HEIGHT_PROVIDER_TYPE_REGISTRY
field_33094
HEIGHT_PROVIDER_TYPE_KEY
f_175418_
public static final Registry<HeightProviderType<?>>
aE
HEIGHT_PROVIDER_TYPES
field_33095
HEIGHT_PROVIDER_TYPE
f_175419_
public static final ResourceKey<Registry<BlockPredicateType<?>>>
aF
BLOCK_PREDICATE_TYPE_REGISTRY
field_35089
BLOCK_PREDICATE_TYPE_KEY
f_194565_
public static final Registry<BlockPredicateType<?>>
aG
BLOCK_PREDICATE_TYPES
field_35090
BLOCK_PREDICATE_TYPE
f_194566_
public static final ResourceKey<Registry<NoiseGeneratorSettings>>
aH
NOISE_GENERATOR_SETTINGS_REGISTRY
field_26374
CHUNK_GENERATOR_SETTINGS_KEY
f_122878_
public static final ResourceKey<Registry<ConfiguredWorldCarver<?>>>
aI
CONFIGURED_CARVER_REGISTRY
field_25913
CONFIGURED_CARVER_KEY
f_122880_
public static final ResourceKey<Registry<ConfiguredFeature<?, ?>>>
aJ
CONFIGURED_FEATURE_REGISTRY
field_25914
CONFIGURED_FEATURE_KEY
f_122881_
public static final ResourceKey<Registry<PlacedFeature>>
aK
PLACED_FEATURE_REGISTRY
field_35758
PLACED_FEATURE_KEY
f_194567_
public static final ResourceKey<Registry<ConfiguredStructureFeature<?, ?>>>
aL
CONFIGURED_STRUCTURE_FEATURE_REGISTRY
field_25915
CONFIGURED_STRUCTURE_FEATURE_KEY
f_122882_
public static final ResourceKey<Registry<StructureSet>>
aM
STRUCTURE_SET_REGISTRY
field_37227
STRUCTURE_SET_KEY
f_211073_
public static final ResourceKey<Registry<StructureProcessorList>>
aN
PROCESSOR_LIST_REGISTRY
field_25916
STRUCTURE_PROCESSOR_LIST_KEY
f_122883_
public static final ResourceKey<Registry<StructureTemplatePool>>
aO
TEMPLATE_POOL_REGISTRY
field_25917
STRUCTURE_POOL_KEY
f_122884_
public static final ResourceKey<Registry<Biome>>
aP
BIOME_REGISTRY
field_25114
BIOME_KEY
f_122885_
public static final ResourceKey<Registry<NormalNoise$NoiseParameters>>
aQ
NOISE_REGISTRY
field_35433
NOISE_WORLDGEN
f_194568_
public static final ResourceKey<Registry<DensityFunction>>
aR
DENSITY_FUNCTION_REGISTRY
field_37228
DENSITY_FUNCTION_KEY
f_211074_
public static final ResourceKey<Registry<WorldCarver<?>>>
aS
CARVER_REGISTRY
field_25110
CARVER_KEY
f_122836_
public static final Registry<WorldCarver<?>>
aT
CARVER
field_11157
CARVER
f_122837_
public static final ResourceKey<Registry<Feature<?>>>
aU
FEATURE_REGISTRY
field_25112
FEATURE_KEY
f_122838_
public static final Registry<Feature<?>>
aV
FEATURE
field_11138
FEATURE
f_122839_
public static final ResourceKey<Registry<StructureFeature<?>>>
aW
STRUCTURE_FEATURE_REGISTRY
field_25077
STRUCTURE_FEATURE_KEY
f_122840_
public static final Registry<StructureFeature<?>>
aX
STRUCTURE_FEATURE
field_16644
STRUCTURE_FEATURE
f_122841_
public static final ResourceKey<Registry<StructurePlacementType<?>>>
aY
STRUCTURE_PLACEMENT_TYPE_REGISTRY
field_36466
STRUCTURE_PLACEMENT_KEY
f_205929_
public static final Registry<StructurePlacementType<?>>
aZ
STRUCTURE_PLACEMENT_TYPE
field_36467
STRUCTURE_PLACEMENT
f_205930_
public static final ResourceKey<Registry<StructurePieceType>>
ba
STRUCTURE_PIECE_REGISTRY
field_25078
STRUCTURE_PIECE_KEY
f_122842_
public static final Registry<StructurePieceType>
bb
STRUCTURE_PIECE
field_16645
STRUCTURE_PIECE
f_122843_
public static final ResourceKey<Registry<PlacementModifierType<?>>>
bc
PLACEMENT_MODIFIER_REGISTRY
field_35759
PLACEMENT_MODIFIER_TYPE_KEY
f_194569_
public static final Registry<PlacementModifierType<?>>
bd
PLACEMENT_MODIFIERS
field_35760
PLACEMENT_MODIFIER_TYPE
f_194570_
public static final ResourceKey<Registry<BlockStateProviderType<?>>>
be
BLOCK_STATE_PROVIDER_TYPE_REGISTRY
field_25115
BLOCK_STATE_PROVIDER_TYPE_KEY
f_122846_
public static final ResourceKey<Registry<FoliagePlacerType<?>>>
bf
FOLIAGE_PLACER_TYPE_REGISTRY
field_25117
FOLIAGE_PLACER_TYPE_KEY
f_122848_
public static final ResourceKey<Registry<TrunkPlacerType<?>>>
bg
TRUNK_PLACER_TYPE_REGISTRY
field_25118
TRUNK_PLACER_TYPE_KEY
f_122849_
public static final ResourceKey<Registry<TreeDecoratorType<?>>>
bh
TREE_DECORATOR_TYPE_REGISTRY
field_25068
TREE_DECORATOR_TYPE_KEY
f_122850_
public static final ResourceKey<Registry<FeatureSizeType<?>>>
bi
FEATURE_SIZE_TYPE_REGISTRY
field_25069
FEATURE_SIZE_TYPE_KEY
f_122851_
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>
bj
BIOME_SOURCE_REGISTRY
field_25071
BIOME_SOURCE_KEY
f_122852_
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
bk
CHUNK_GENERATOR_REGISTRY
field_25072
CHUNK_GENERATOR_KEY
f_122853_
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules$ConditionSource>>>
bl
CONDITION_REGISTRY
field_35305
MATERIAL_CONDITION_KEY
f_194571_
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules$RuleSource>>>
bm
RULE_REGISTRY
field_35306
MATERIAL_RULE_KEY
f_194572_
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>>
bn
DENSITY_FUNCTION_TYPE_REGISTRY
field_37229
DENSITY_FUNCTION_TYPE_KEY
f_211075_
public static final ResourceKey<Registry<StructureProcessorType<?>>>
bo
STRUCTURE_PROCESSOR_REGISTRY
field_25081
STRUCTURE_PROCESSOR_KEY
f_122854_
public static final ResourceKey<Registry<StructurePoolElementType<?>>>
bp
STRUCTURE_POOL_ELEMENT_REGISTRY
field_25082
STRUCTURE_POOL_ELEMENT_KEY
f_122855_
public static final Registry<BlockStateProviderType<?>>
bq
BLOCKSTATE_PROVIDER_TYPES
field_21445
BLOCK_STATE_PROVIDER_TYPE
f_122856_
public static final Registry<FoliagePlacerType<?>>
br
FOLIAGE_PLACER_TYPES
field_21447
FOLIAGE_PLACER_TYPE
f_122858_
public static final Registry<TrunkPlacerType<?>>
bs
TRUNK_PLACER_TYPES
field_23782
TRUNK_PLACER_TYPE
f_122859_
public static final Registry<TreeDecoratorType<?>>
bt
TREE_DECORATOR_TYPES
field_21448
TREE_DECORATOR_TYPE
f_122860_
public static final Registry<FeatureSizeType<?>>
bu
FEATURE_SIZE_TYPES
field_24331
FEATURE_SIZE_TYPE
f_122888_
public static final Registry<com.mojang.serialization.Codec<? extends BiomeSource>>
bv
BIOME_SOURCE
field_25096
BIOME_SOURCE
f_122889_
public static final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>
bw
CHUNK_GENERATOR
field_25097
CHUNK_GENERATOR
f_122890_
public static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules$ConditionSource>>
bx
CONDITION
field_35307
MATERIAL_CONDITION
f_194573_
public static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules$RuleSource>>
by
RULE
field_35308
MATERIAL_RULE
f_194574_
public static final Registry<com.mojang.serialization.Codec<? extends DensityFunction>>
bz
DENSITY_FUNCTION_TYPES
field_37230
DENSITY_FUNCTION_TYPE
f_211076_
public static final Registry<StructureProcessorType<?>>
bA
STRUCTURE_PROCESSOR
field_16794
STRUCTURE_PROCESSOR
f_122891_
public static final Registry<StructurePoolElementType<?>>
bB
STRUCTURE_POOL_ELEMENT
field_16793
STRUCTURE_POOL_ELEMENT
f_122892_
private final ResourceKey<? extends Registry<T>>
bE
key
field_25098
registryKey
f_122887_
private final com.mojang.serialization.Lifecycle
bF
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 Registry<?>> void
a(hb<T> arg0)
checkRegistry(Registry<T> arg0)
method_29103(class_2378<T> arg0)
validate(Registry<T> registries)
m_205992_(C_4705_<T> p_205993_)
private static <T> Registry<T>
a(ys<? extends hb<T>> arg0, hb$a<T> arg1)
registerSimple(ResourceKey<? extends Registry<T>> arg0, Registry$RegistryBootstrap<T> arg1)
method_10247(class_5321<? extends class_2378<T>> arg0, class_2378$class_6889<T> arg1)
create(RegistryKey<? extends Registry<T>> key, Registry$DefaultEntryGetter<T> defaultEntryGetter)
m_206008_(C_5264_<? extends C_4705_<T>> p_206009_, C_4705_$C_203238_<T> p_206010_)
private static <T> DefaultedRegistry<T>
a(ys<? extends hb<T>> arg0, String arg1, hb$a<T> arg2)
registerDefaulted(ResourceKey<? extends Registry<T>> arg0, String arg1, Registry$RegistryBootstrap<T> arg2)
method_10224(class_5321<? extends class_2378<T>> arg0, String arg1, class_2378$class_6889<T> arg2)
create(RegistryKey<? extends Registry<T>> key, String defaultId, Registry$DefaultEntryGetter<T> defaultEntryGetter)
m_206027_(C_5264_<? extends C_4705_<T>> p_206028_, String p_206029_, C_4705_$C_203238_<T> p_206030_)
private static <T> DefaultedRegistry<T>
a(ys<? extends hb<T>> arg0, String arg1, Function<T, gs$c<T>> arg2, hb$a<T> arg3)
registerDefaulted(ResourceKey<? extends Registry<T>> arg0, String arg1, Function<T, Holder$Reference<T>> arg2, Registry$RegistryBootstrap<T> arg3)
method_40283(class_5321<? extends class_2378<T>> arg0, String arg1, Function<T, class_6880$class_6883<T>> arg2, class_2378$class_6889<T> arg3)
create(RegistryKey<? extends Registry<T>> key, String defaultId, Function<T, RegistryEntry$Reference<T>> valueToEntryFunction, Registry$DefaultEntryGetter<T> defaultEntryGetter)
m_206031_(C_5264_<? extends C_4705_<T>> p_206032_, String p_206033_, Function<T, C_203228_$C_203231_<T>> p_206034_, C_4705_$C_203238_<T> p_206035_)
private static <T> Registry<T>
a(ys<? extends hb<T>> arg0, com.mojang.serialization.Lifecycle arg1, hb$a<T> arg2)
registerSimple(ResourceKey<? extends Registry<T>> arg0, com.mojang.serialization.Lifecycle arg1, Registry$RegistryBootstrap<T> arg2)
method_29108(class_5321<? extends class_2378<T>> arg0, com.mojang.serialization.Lifecycle arg1, class_2378$class_6889<T> arg2)
create(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Registry$DefaultEntryGetter<T> defaultEntryGetter)
m_205999_(C_5264_<? extends C_4705_<T>> p_206000_, com.mojang.serialization.Lifecycle p_206001_, C_4705_$C_203238_<T> p_206002_)
private static <T> Registry<T>
a(ys<? extends hb<T>> arg0, com.mojang.serialization.Lifecycle arg1, Function<T, gs$c<T>> arg2, hb$a<T> arg3)
registerSimple(ResourceKey<? extends Registry<T>> arg0, com.mojang.serialization.Lifecycle arg1, Function<T, Holder$Reference<T>> arg2, Registry$RegistryBootstrap<T> arg3)
method_40281(class_5321<? extends class_2378<T>> arg0, com.mojang.serialization.Lifecycle arg1, Function<T, class_6880$class_6883<T>> arg2, class_2378$class_6889<T> arg3)
create(RegistryKey<? extends Registry<T>> key, com.mojang.serialization.Lifecycle lifecycle, Function<T, RegistryEntry$Reference<T>> valueToEntryFunction, Registry$DefaultEntryGetter<T> defaultEntryGetter)
m_206003_(C_5264_<? extends C_4705_<T>> p_206004_, com.mojang.serialization.Lifecycle p_206005_, Function<T, C_203228_$C_203231_<T>> p_206006_, C_4705_$C_203238_<T> p_206007_)
private static <T> DefaultedRegistry<T>
a(ys<? extends hb<T>> arg0, String arg1, com.mojang.serialization.Lifecycle arg2, hb$a<T> arg3)
registerDefaulted(ResourceKey<? extends Registry<T>> arg0, String arg1, com.mojang.serialization.Lifecycle arg2, Registry$RegistryBootstrap<T> arg3)
method_29109(class_5321<? extends class_2378<T>> arg0, String arg1, com.mojang.serialization.Lifecycle arg2, class_2378$class_6889<T> arg3)
create(RegistryKey<? extends Registry<T>> key, String defaultId, com.mojang.serialization.Lifecycle lifecycle, Registry$DefaultEntryGetter<T> defaultEntryGetter)
m_206016_(C_5264_<? extends C_4705_<T>> p_206017_, String p_206018_, com.mojang.serialization.Lifecycle p_206019_, C_4705_$C_203238_<T> p_206020_)
private static <T> DefaultedRegistry<T>
a(ys<? extends hb<T>> arg0, String arg1, com.mojang.serialization.Lifecycle arg2, Function<T, gs$c<T>> arg3, hb$a<T> arg4)
registerDefaulted(ResourceKey<? extends Registry<T>> arg0, String arg1, com.mojang.serialization.Lifecycle arg2, Function<T, Holder$Reference<T>> arg3, Registry$RegistryBootstrap<T> arg4)
method_40282(class_5321<? extends class_2378<T>> arg0, String arg1, com.mojang.serialization.Lifecycle arg2, Function<T, class_6880$class_6883<T>> arg3, class_2378$class_6889<T> arg4)
create(RegistryKey<? extends Registry<T>> key, String defaultId, com.mojang.serialization.Lifecycle lifecycle, Function<T, RegistryEntry$Reference<T>> valueToEntryFunction, Registry$DefaultEntryGetter<T> defaultEntryGetter)
m_206021_(C_5264_<? extends C_4705_<T>> p_206022_, String p_206023_, com.mojang.serialization.Lifecycle p_206024_, Function<T, C_203228_$C_203231_<T>> p_206025_, C_4705_$C_203238_<T> p_206026_)
private static <T, R extends WritableRegistry<T>> R
a(ys<? extends hb<T>> arg0, R arg1, hb$a<T> arg2, com.mojang.serialization.Lifecycle arg3)
internalRegister(ResourceKey<? extends Registry<T>> arg0, R arg1, Registry$RegistryBootstrap<T> arg2, com.mojang.serialization.Lifecycle arg3)
method_10227(class_5321<? extends class_2378<T>> arg0, R arg1, class_2378$class_6889<T> arg2, com.mojang.serialization.Lifecycle arg3)
create(RegistryKey<? extends Registry<T>> key, R registry, Registry$DefaultEntryGetter<T> defaultEntryGetter, com.mojang.serialization.Lifecycle lifecycle)
m_206011_(C_5264_<? extends C_4705_<T>> p_206012_, R p_206013_, C_4705_$C_203238_<T> p_206014_, com.mojang.serialization.Lifecycle p_206015_)
public static void
l()
freezeBuiltins()
method_40292()
freezeRegistries()
m_206101_()
public ResourceKey<? extends Registry<T>>
m()
key()
method_30517()
getKey()
m_123023_()
public com.mojang.serialization.Lifecycle
n()
lifecycle()
method_39198()
method_39198()
m_194602_()
public com.mojang.serialization.Codec<T>
o()
byNameCodec()
method_39673()
getCodec()
m_194605_()
public com.mojang.serialization.Codec<Holder<T>>
p()
holderByNameCodec()
method_40294()
createEntryCodec()
m_206110_()
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)
keys(com.mojang.serialization.DynamicOps<U> ops)
keys(com.mojang.serialization.DynamicOps<U> arg0)
public abstract ResourceLocation
b(T arg0)
getKey(T arg0)
method_10221(T arg0)
getId(T value)
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(ys<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(yt 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(yt arg0)
getOptional(ResourceLocation arg0)
method_17966(class_2960 arg0)
getOrEmpty(Identifier id)
m_6612_(C_5265_ arg0)
public Optional<T>
e(ys<T> arg0)
getOptional(ResourceKey<T> arg0)
method_31189(class_5321<T> arg0)
getOrEmpty(RegistryKey<T> key)
m_123009_(C_5264_<T> arg0)
public T
f(ys<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()
getEntrySet()
m_6579_()
public abstract Optional<Holder<T>>
a(Random arg0)
getRandom(Random arg0)
method_10240(Random arg0)
getRandom(Random random)
m_203454_(Random arg0)
public Stream<T>
q()
stream()
method_10220()
stream()
m_123024_()
public abstract boolean
c(yt arg0)
containsKey(ResourceLocation arg0)
method_10250(class_2960 arg0)
containsId(Identifier id)
m_7804_(C_5265_ arg0)
public abstract boolean
d(ys<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(hb<? 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(hb<V> arg0, yt 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(hb<V> arg0, ys<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(hb<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_)
public abstract Registry<T>
j()
freeze()
method_40276()
freeze()
m_203521_()
public abstract Holder<T>
c(ys<T> arg0)
getOrCreateHolder(ResourceKey<T> arg0)
method_40268(class_5321<T> arg0)
getOrCreateEntry(RegistryKey<T> key)
m_203538_(C_5264_<T> arg0)
public abstract Holder$Reference<T>
e(T arg0)
createIntrusiveHolder(T arg0)
method_40269(T arg0)
createEntry(T value)
m_203693_(T arg0)
public abstract Optional<Holder<T>>
c(int arg0)
getHolder(int arg0)
method_40265(int arg0)
getEntry(int rawId)
m_203300_(int arg0)
public abstract Optional<Holder<T>>
b(ys<T> arg0)
getHolder(ResourceKey<T> arg0)
method_40264(class_5321<T> arg0)
getEntry(RegistryKey<T> key)
m_203636_(C_5264_<T> arg0)
public Holder<T>
g(ys<T> arg0)
getHolderOrThrow(ResourceKey<T> arg0)
method_40290(class_5321<T> arg0)
entryOf(RegistryKey<T> key)
m_206081_(C_5264_<T> arg0)
public abstract Stream<Holder$Reference<T>>
f()
holders()
method_40270()
streamEntries()
m_203611_()
public abstract Optional<HolderSet$Named<T>>
c(aif<T> arg0)
getTag(TagKey<T> arg0)
method_40266(class_6862<T> arg0)
getEntryList(TagKey<T> tag)
m_203431_(C_203208_<T> arg0)
public Iterable<Holder<T>>
d(aif<T> arg0)
getTagOrEmpty(TagKey<T> arg0)
method_40286(class_6862<T> arg0)
iterateEntries(TagKey<T> tag)
m_206058_(C_203208_<T> arg0)
public abstract HolderSet$Named<T>
b(aif<T> arg0)
getOrCreateTag(TagKey<T> arg0)
method_40260(class_6862<T> arg0)
getOrCreateEntryList(TagKey<T> tag)
m_203561_(C_203208_<T> arg0)
public abstract Stream<com.mojang.datafixers.util.Pair<TagKey<T>, HolderSet$Named<T>>>
g()
getTags()
method_40272()
streamTagsAndEntries()
m_203612_()
public abstract Stream<TagKey<T>>
h()
getTagNames()
method_40273()
streamTags()
m_203613_()
public abstract boolean
a(aif<T> arg0)
isKnownTagName(TagKey<T> arg0)
method_40252(class_6862<T> arg0)
containsTag(TagKey<T> tag)
m_203658_(C_203208_<T> arg0)
public abstract void
k()
resetTags()
method_40278()
clearTags()
m_203635_()
public abstract void
a(Map<aif<T>, List<gs<T>>> arg0)
bindTags(Map<TagKey<T>, List<Holder<T>>> arg0)
method_40257(Map<class_6862<T>, List<class_6880<T>>> arg0)
populateTags(Map<TagKey<T>, List<RegistryEntry<T>>> tagEntries)
m_203652_(Map<C_203208_<T>, List<C_203228_<T>>> arg0)
public IdMap<Holder<T>>
r()
asHolderIdMap()
method_40295()
getIndexedEntries()
m_206115_()