net.minecraft.core

public abstract class Registry<T>

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

hm
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
bR
LOGGER
field_11139
LOGGER
f_122894_
private static final Map<ResourceLocation, Supplier<?>>
bS
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<PaintingVariant>>
o
PAINTING_VARIANT_REGISTRY
field_25074
PAINTING_VARIANT_KEY
f_235743_
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<ArgumentTypeInfo<?, ?>>>
N
COMMAND_ARGUMENT_TYPE_REGISTRY
field_37997
COMMAND_ARGUMENT_TYPE_KEY
f_235724_
public static final ResourceKey<Registry<DimensionType>>
O
DIMENSION_TYPE_REGISTRY
field_25095
DIMENSION_TYPE_KEY
f_122818_
public static final ResourceKey<Registry<Level>>
P
DIMENSION_REGISTRY
field_25298
WORLD_KEY
f_122819_
public static final ResourceKey<Registry<LevelStem>>
Q
LEVEL_STEM_REGISTRY
field_25490
DIMENSION_KEY
f_122820_
public static final DefaultedRegistry<GameEvent>
R
GAME_EVENT
field_28264
GAME_EVENT
f_175412_
public static final Registry<SoundEvent>
S
SOUND_EVENT
field_11156
SOUND_EVENT
f_122821_
public static final DefaultedRegistry<Fluid>
T
FLUID
field_11154
FLUID
f_122822_
public static final Registry<MobEffect>
U
MOB_EFFECT
field_11159
STATUS_EFFECT
f_122823_
public static final DefaultedRegistry<Block>
V
BLOCK
field_11146
BLOCK
f_122824_
public static final Registry<Enchantment>
W
ENCHANTMENT
field_11160
ENCHANTMENT
f_122825_
public static final DefaultedRegistry<EntityType<?>>
X
ENTITY_TYPE
field_11145
ENTITY_TYPE
f_122826_
public static final DefaultedRegistry<Item>
Y
ITEM
field_11142
ITEM
f_122827_
public static final DefaultedRegistry<Potion>
Z
POTION
field_11143
POTION
f_122828_
public static final Registry<ParticleType<?>>
aa
PARTICLE_TYPE
field_11141
PARTICLE_TYPE
f_122829_
public static final Registry<BlockEntityType<?>>
ab
BLOCK_ENTITY_TYPE
field_11137
BLOCK_ENTITY_TYPE
f_122830_
public static final DefaultedRegistry<PaintingVariant>
ac
PAINTING_VARIANT
field_11150
PAINTING_VARIANT
f_235728_
public static final Registry<ResourceLocation>
ad
CUSTOM_STAT
field_11158
CUSTOM_STAT
f_122832_
public static final DefaultedRegistry<ChunkStatus>
ae
CHUNK_STATUS
field_16643
CHUNK_STATUS
f_122833_
public static final Registry<RuleTestType<?>>
af
RULE_TEST
field_16792
RULE_TEST
f_122861_
public static final Registry<PosRuleTestType<?>>
ag
POS_RULE_TEST
field_23398
POS_RULE_TEST
f_122862_
public static final Registry<MenuType<?>>
ah
MENU
field_17429
SCREEN_HANDLER
f_122863_
public static final Registry<RecipeType<?>>
ai
RECIPE_TYPE
field_17597
RECIPE_TYPE
f_122864_
public static final Registry<RecipeSerializer<?>>
aj
RECIPE_SERIALIZER
field_17598
RECIPE_SERIALIZER
f_122865_
public static final Registry<Attribute>
ak
ATTRIBUTE
field_23781
ATTRIBUTE
f_122866_
public static final Registry<PositionSourceType<?>>
al
POSITION_SOURCE_TYPE
field_28265
POSITION_SOURCE_TYPE
f_175420_
public static final Registry<ArgumentTypeInfo<?, ?>>
am
COMMAND_ARGUMENT_TYPE
field_38000
COMMAND_ARGUMENT_TYPE
f_235729_
public static final Registry<StatType<?>>
an
STAT_TYPE
field_11152
STAT_TYPE
f_122867_
public static final DefaultedRegistry<VillagerType>
ao
VILLAGER_TYPE
field_17166
VILLAGER_TYPE
f_122868_
public static final DefaultedRegistry<VillagerProfession>
ap
VILLAGER_PROFESSION
field_17167
VILLAGER_PROFESSION
f_122869_
public static final Registry<PoiType>
aq
POINT_OF_INTEREST_TYPE
field_18792
POINT_OF_INTEREST_TYPE
f_122870_
public static final DefaultedRegistry<MemoryModuleType<?>>
ar
MEMORY_MODULE_TYPE
field_18793
MEMORY_MODULE_TYPE
f_122871_
public static final DefaultedRegistry<SensorType<?>>
as
SENSOR_TYPE
field_18794
SENSOR_TYPE
f_122872_
public static final Registry<Schedule>
at
SCHEDULE
field_18795
SCHEDULE
f_122873_
public static final Registry<Activity>
au
ACTIVITY
field_18796
ACTIVITY
f_122874_
public static final Registry<LootPoolEntryType>
av
LOOT_POOL_ENTRY_TYPE
field_25293
LOOT_POOL_ENTRY_TYPE
f_122875_
public static final Registry<LootItemFunctionType>
aw
LOOT_FUNCTION_TYPE
field_25294
LOOT_FUNCTION_TYPE
f_122876_
public static final Registry<LootItemConditionType>
ax
LOOT_CONDITION_TYPE
field_25299
LOOT_CONDITION_TYPE
f_122877_
public static final Registry<LootNumberProviderType>
ay
LOOT_NUMBER_PROVIDER_TYPE
field_28008
LOOT_NUMBER_PROVIDER_TYPE
f_175421_
public static final Registry<LootNbtProviderType>
az
LOOT_NBT_PROVIDER_TYPE
field_28009
LOOT_NBT_PROVIDER_TYPE
f_175422_
public static final Registry<LootScoreProviderType>
aA
LOOT_SCORE_PROVIDER_TYPE
field_28010
LOOT_SCORE_PROVIDER_TYPE
f_175413_
public static final ResourceKey<Registry<FloatProviderType<?>>>
aB
FLOAT_PROVIDER_TYPE_REGISTRY
field_29075
FLOAT_PROVIDER_TYPE_KEY
f_175414_
public static final Registry<FloatProviderType<?>>
aC
FLOAT_PROVIDER_TYPES
field_29076
FLOAT_PROVIDER_TYPE
f_175415_
public static final ResourceKey<Registry<IntProviderType<?>>>
aD
INT_PROVIDER_TYPE_REGISTRY
field_33092
INT_PROVIDER_TYPE_KEY
f_175416_
public static final Registry<IntProviderType<?>>
aE
INT_PROVIDER_TYPES
field_33093
INT_PROVIDER_TYPE
f_175417_
public static final ResourceKey<Registry<HeightProviderType<?>>>
aF
HEIGHT_PROVIDER_TYPE_REGISTRY
field_33094
HEIGHT_PROVIDER_TYPE_KEY
f_175418_
public static final Registry<HeightProviderType<?>>
aG
HEIGHT_PROVIDER_TYPES
field_33095
HEIGHT_PROVIDER_TYPE
f_175419_
public static final ResourceKey<Registry<BlockPredicateType<?>>>
aH
BLOCK_PREDICATE_TYPE_REGISTRY
field_35089
BLOCK_PREDICATE_TYPE_KEY
f_194565_
public static final Registry<BlockPredicateType<?>>
aI
BLOCK_PREDICATE_TYPES
field_35090
BLOCK_PREDICATE_TYPE
f_194566_
public static final ResourceKey<Registry<NoiseGeneratorSettings>>
aJ
NOISE_GENERATOR_SETTINGS_REGISTRY
field_26374
CHUNK_GENERATOR_SETTINGS_KEY
f_122878_
public static final ResourceKey<Registry<ConfiguredWorldCarver<?>>>
aK
CONFIGURED_CARVER_REGISTRY
field_25913
CONFIGURED_CARVER_KEY
f_122880_
public static final ResourceKey<Registry<ConfiguredFeature<?, ?>>>
aL
CONFIGURED_FEATURE_REGISTRY
field_25914
CONFIGURED_FEATURE_KEY
f_122881_
public static final ResourceKey<Registry<PlacedFeature>>
aM
PLACED_FEATURE_REGISTRY
field_35758
PLACED_FEATURE_KEY
f_194567_
public static final ResourceKey<Registry<Structure>>
aN
STRUCTURE_REGISTRY
field_25915
STRUCTURE_KEY
f_235725_
public static final ResourceKey<Registry<StructureSet>>
aO
STRUCTURE_SET_REGISTRY
field_37227
STRUCTURE_SET_KEY
f_211073_
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_KEY
f_194568_
public static final ResourceKey<Registry<DensityFunction>>
aT
DENSITY_FUNCTION_REGISTRY
field_37228
DENSITY_FUNCTION_KEY
f_211074_
public static final ResourceKey<Registry<WorldPreset>>
aU
WORLD_PRESET_REGISTRY
field_37998
WORLD_PRESET_KEY
f_235726_
public static final ResourceKey<Registry<FlatLevelGeneratorPreset>>
aV
FLAT_LEVEL_GENERATOR_PRESET_REGISTRY
field_37999
FLAT_LEVEL_GENERATOR_PRESET_KEY
f_235727_
public static final ResourceKey<Registry<WorldCarver<?>>>
aW
CARVER_REGISTRY
field_25110
CARVER_KEY
f_122836_
public static final Registry<WorldCarver<?>>
aX
CARVER
field_11157
CARVER
f_122837_
public static final ResourceKey<Registry<Feature<?>>>
aY
FEATURE_REGISTRY
field_25112
FEATURE_KEY
f_122838_
public static final Registry<Feature<?>>
aZ
FEATURE
field_11138
FEATURE
f_122839_
public static final ResourceKey<Registry<StructurePlacementType<?>>>
ba
STRUCTURE_PLACEMENT_TYPE_REGISTRY
field_36466
STRUCTURE_PLACEMENT_KEY
f_205929_
public static final Registry<StructurePlacementType<?>>
bb
STRUCTURE_PLACEMENT_TYPE
field_36467
STRUCTURE_PLACEMENT
f_205930_
public static final ResourceKey<Registry<StructurePieceType>>
bc
STRUCTURE_PIECE_REGISTRY
field_25078
STRUCTURE_PIECE_KEY
f_122842_
public static final Registry<StructurePieceType>
bd
STRUCTURE_PIECE
field_16645
STRUCTURE_PIECE
f_122843_
public static final ResourceKey<Registry<StructureType<?>>>
be
STRUCTURE_TYPE_REGISTRY
field_25077
STRUCTURE_TYPE_KEY
f_235739_
public static final Registry<StructureType<?>>
bf
STRUCTURE_TYPES
field_16644
STRUCTURE_TYPE
f_235740_
public static final ResourceKey<Registry<PlacementModifierType<?>>>
bg
PLACEMENT_MODIFIER_REGISTRY
field_35759
PLACEMENT_MODIFIER_TYPE_KEY
f_194569_
public static final Registry<PlacementModifierType<?>>
bh
PLACEMENT_MODIFIERS
field_35760
PLACEMENT_MODIFIER_TYPE
f_194570_
public static final ResourceKey<Registry<BlockStateProviderType<?>>>
bi
BLOCK_STATE_PROVIDER_TYPE_REGISTRY
field_25115
BLOCK_STATE_PROVIDER_TYPE_KEY
f_122846_
public static final ResourceKey<Registry<FoliagePlacerType<?>>>
bj
FOLIAGE_PLACER_TYPE_REGISTRY
field_25117
FOLIAGE_PLACER_TYPE_KEY
f_122848_
public static final ResourceKey<Registry<TrunkPlacerType<?>>>
bk
TRUNK_PLACER_TYPE_REGISTRY
field_25118
TRUNK_PLACER_TYPE_KEY
f_122849_
public static final ResourceKey<Registry<TreeDecoratorType<?>>>
bl
TREE_DECORATOR_TYPE_REGISTRY
field_25068
TREE_DECORATOR_TYPE_KEY
f_122850_
public static final ResourceKey<Registry<RootPlacerType<?>>>
bm
ROOT_PLACER_TYPE_REGISTRY
field_38806
ROOT_PLACER_TYPE_KEY
f_235741_
public static final ResourceKey<Registry<FeatureSizeType<?>>>
bn
FEATURE_SIZE_TYPE_REGISTRY
field_25069
FEATURE_SIZE_TYPE_KEY
f_122851_
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>
bo
BIOME_SOURCE_REGISTRY
field_25071
BIOME_SOURCE_KEY
f_122852_
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
bp
CHUNK_GENERATOR_REGISTRY
field_25072
CHUNK_GENERATOR_KEY
f_122853_
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules$ConditionSource>>>
bq
CONDITION_REGISTRY
field_35305
MATERIAL_CONDITION_KEY
f_194571_
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends SurfaceRules$RuleSource>>>
br
RULE_REGISTRY
field_35306
MATERIAL_RULE_KEY
f_194572_
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends DensityFunction>>>
bs
DENSITY_FUNCTION_TYPE_REGISTRY
field_37229
DENSITY_FUNCTION_TYPE_KEY
f_211075_
public static final ResourceKey<Registry<StructureProcessorType<?>>>
bt
STRUCTURE_PROCESSOR_REGISTRY
field_25081
STRUCTURE_PROCESSOR_KEY
f_122854_
public static final ResourceKey<Registry<StructurePoolElementType<?>>>
bu
STRUCTURE_POOL_ELEMENT_REGISTRY
field_25082
STRUCTURE_POOL_ELEMENT_KEY
f_122855_
public static final Registry<BlockStateProviderType<?>>
bv
BLOCKSTATE_PROVIDER_TYPES
field_21445
BLOCK_STATE_PROVIDER_TYPE
f_122856_
public static final Registry<FoliagePlacerType<?>>
bw
FOLIAGE_PLACER_TYPES
field_21447
FOLIAGE_PLACER_TYPE
f_122858_
public static final Registry<TrunkPlacerType<?>>
bx
TRUNK_PLACER_TYPES
field_23782
TRUNK_PLACER_TYPE
f_122859_
public static final Registry<RootPlacerType<?>>
by
ROOT_PLACER_TYPES
field_38807
ROOT_PLACER_TYPE
f_235742_
public static final Registry<TreeDecoratorType<?>>
bz
TREE_DECORATOR_TYPES
field_21448
TREE_DECORATOR_TYPE
f_122860_
public static final Registry<FeatureSizeType<?>>
bA
FEATURE_SIZE_TYPES
field_24331
FEATURE_SIZE_TYPE
f_122888_
public static final Registry<com.mojang.serialization.Codec<? extends BiomeSource>>
bB
BIOME_SOURCE
field_25096
BIOME_SOURCE
f_122889_
public static final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>
bC
CHUNK_GENERATOR
field_25097
CHUNK_GENERATOR
f_122890_
public static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules$ConditionSource>>
bD
CONDITION
field_35307
MATERIAL_CONDITION
f_194573_
public static final Registry<com.mojang.serialization.Codec<? extends SurfaceRules$RuleSource>>
bE
RULE
field_35308
MATERIAL_RULE
f_194574_
public static final Registry<com.mojang.serialization.Codec<? extends DensityFunction>>
bF
DENSITY_FUNCTION_TYPES
field_37230
DENSITY_FUNCTION_TYPE
f_211076_
public static final Registry<StructureProcessorType<?>>
bG
STRUCTURE_PROCESSOR
field_16794
STRUCTURE_PROCESSOR
f_122891_
public static final Registry<StructurePoolElementType<?>>
bH
STRUCTURE_POOL_ELEMENT
field_16793
STRUCTURE_POOL_ELEMENT
f_122892_
public static final ResourceKey<Registry<ChatType>>
bI
CHAT_TYPE_REGISTRY
field_39205
MESSAGE_TYPE_KEY
f_235730_
public static final ResourceKey<Registry<CatVariant>>
bJ
CAT_VARIANT_REGISTRY
field_38802
CAT_VARIANT_KEY
f_235731_
public static final Registry<CatVariant>
bK
CAT_VARIANT
field_38803
CAT_VARIANT
f_235732_
public static final ResourceKey<Registry<FrogVariant>>
bL
FROG_VARIANT_REGISTRY
field_38804
FROG_VARIANT_KEY
f_235733_
public static final Registry<FrogVariant>
bM
FROG_VARIANT
field_38805
FROG_VARIANT
f_235734_
public static final ResourceKey<Registry<BannerPattern>>
bN
BANNER_PATTERN_REGISTRY
field_39207
BANNER_PATTERN_KEY
f_235735_
public static final Registry<BannerPattern>
bO
BANNER_PATTERN
field_39208
BANNER_PATTERN
f_235736_
public static final ResourceKey<Registry<Instrument>>
bP
INSTRUMENT_REGISTRY
field_39209
INSTRUMENT_KEY
f_235737_
public static final Registry<Instrument>
bQ
INSTRUMENT
field_39210
INSTRUMENT
f_235738_
private final ResourceKey<? extends Registry<T>>
bT
key
field_25098
registryKey
f_122887_
private final com.mojang.serialization.Lifecycle
bU
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(hm<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(aba<? extends hm<T>> arg0, hm$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_203238_<T> p_206010_)
private static <T> DefaultedRegistry<T>
a(aba<? extends hm<T>> arg0, String arg1, hm$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_203238_<T> p_206030_)
private static <T> DefaultedRegistry<T>
a(aba<? extends hm<T>> arg0, String arg1, Function<T, hc$c<T>> arg2, hm$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_203231_<T>> p_206034_, C_203238_<T> p_206035_)
private static <T> Registry<T>
a(aba<? extends hm<T>> arg0, com.mojang.serialization.Lifecycle arg1, hm$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_203238_<T> p_206002_)
private static <T> Registry<T>
a(aba<? extends hm<T>> arg0, com.mojang.serialization.Lifecycle arg1, Function<T, hc$c<T>> arg2, hm$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_203231_<T>> p_206006_, C_203238_<T> p_206007_)
private static <T> DefaultedRegistry<T>
a(aba<? extends hm<T>> arg0, String arg1, com.mojang.serialization.Lifecycle arg2, hm$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_203238_<T> p_206020_)
private static <T> DefaultedRegistry<T>
a(aba<? extends hm<T>> arg0, String arg1, com.mojang.serialization.Lifecycle arg2, Function<T, hc$c<T>> arg3, hm$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_203231_<T>> p_206025_, C_203238_<T> p_206026_)
private static <T, R extends WritableRegistry<T>> R
a(aba<? extends hm<T>> arg0, R arg1, hm$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_203238_<T> p_206014_, com.mojang.serialization.Lifecycle p_206015_)
public static void
m()
freezeBuiltins()
method_40292()
freezeRegistries()
m_206101_()
public ResourceKey<? extends Registry<T>>
n()
key()
method_30517()
getKey()
m_123023_()
public com.mojang.serialization.Lifecycle
o()
lifecycle()
method_39198()
method_39198()
m_194602_()
public com.mojang.serialization.Codec<T>
p()
byNameCodec()
method_39673()
getCodec()
m_194605_()
public com.mojang.serialization.Codec<Holder<T>>
q()
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(aba<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(abb 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(abb arg0)
getOptional(ResourceLocation arg0)
method_17966(class_2960 arg0)
getOrEmpty(Identifier id)
m_6612_(C_5265_ arg0)
public Optional<T>
f(aba<T> arg0)
getOptional(ResourceKey<T> arg0)
method_31189(class_5321<T> arg0)
getOrEmpty(RegistryKey<T> key)
m_123009_(C_5264_<T> arg0)
public T
g(aba<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>>
f()
entrySet()
method_29722()
getEntrySet()
m_6579_()
public abstract Set<ResourceKey<T>>
e()
registryKeySet()
method_42021()
getKeys()
m_214010_()
public abstract Optional<Holder<T>>
a(amn arg0)
getRandom(RandomSource arg0)
method_10240(class_5819 arg0)
getRandom(Random random)
m_213642_(C_212974_ arg0)
public Stream<T>
r()
stream()
method_10220()
stream()
m_123024_()
public abstract boolean
c(abb arg0)
containsKey(ResourceLocation arg0)
method_10250(class_2960 arg0)
containsId(Identifier id)
m_7804_(C_5265_ arg0)
public abstract boolean
e(aba<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(hm<? 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(hm<V> arg0, abb 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(hm<V> arg0, aba<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(hm<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>
k()
freeze()
method_40276()
freeze()
m_203521_()
public abstract Holder<T>
c(aba<T> arg0)
getOrCreateHolderOrThrow(ResourceKey<T> arg0)
method_44298(class_5321<T> arg0)
getOrCreateEntry(RegistryKey<T> key)
m_214121_(C_5264_<T> arg0)
public abstract com.mojang.serialization.DataResult<Holder<T>>
d(aba<T> arg0)
getOrCreateHolder(ResourceKey<T> arg0)
method_40268(class_5321<T> arg0)
getOrCreateEntryDataResult(RegistryKey<T> key)
m_214185_(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(aba<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>
h(aba<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>>
g()
holders()
method_40270()
streamEntries()
m_203611_()
public abstract Optional<HolderSet$Named<T>>
c(akz<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(akz<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(akz<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>>>
h()
getTags()
method_40272()
streamTagsAndEntries()
m_203612_()
public abstract Stream<TagKey<T>>
i()
getTagNames()
method_40273()
streamTags()
m_203613_()
public abstract boolean
a(akz<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
l()
resetTags()
method_40278()
clearTags()
m_203635_()
public abstract void
a(Map<akz<T>, List<hc<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>>
s()
asHolderIdMap()
method_40295()
getIndexedEntries()
m_206115_()