net.minecraft.core

public abstract class Registry<T>

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

gw
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
c
LOGGER
field_11139
LOGGER
f_122894_
private static final Map<ResourceLocation, Supplier<?>>
a
LOADERS
field_11140
DEFAULT_ENTRIES
f_122834_
public static final ResourceLocation
d
ROOT_REGISTRY_NAME
field_25100
ROOT_KEY
f_122895_
protected static final WritableRegistry<WritableRegistry<?>>
e
WRITABLE_REGISTRY
field_25101
ROOT
f_122896_
public static final Registry<? extends Registry<?>>
f
REGISTRY
field_11144
REGISTRIES
f_122897_
public static final ResourceKey<Registry<SoundEvent>>
g
SOUND_EVENT_REGISTRY
field_25102
SOUND_EVENT_KEY
f_122898_
public static final ResourceKey<Registry<Fluid>>
h
FLUID_REGISTRY
field_25103
FLUID_KEY
f_122899_
public static final ResourceKey<Registry<MobEffect>>
i
MOB_EFFECT_REGISTRY
field_25104
MOB_EFFECT_KEY
f_122900_
public static final ResourceKey<Registry<Block>>
j
BLOCK_REGISTRY
field_25105
BLOCK_KEY
f_122901_
public static final ResourceKey<Registry<Enchantment>>
k
ENCHANTMENT_REGISTRY
field_25106
ENCHANTMENT_KEY
f_122902_
public static final ResourceKey<Registry<EntityType<?>>>
l
ENTITY_TYPE_REGISTRY
field_25107
ENTITY_TYPE_KEY
f_122903_
public static final ResourceKey<Registry<Item>>
m
ITEM_REGISTRY
field_25108
ITEM_KEY
f_122904_
public static final ResourceKey<Registry<Potion>>
n
POTION_REGISTRY
field_25109
POTION_KEY
f_122905_
public static final ResourceKey<Registry<ParticleType<?>>>
o
PARTICLE_TYPE_REGISTRY
field_25070
PARTICLE_TYPE_KEY
f_122906_
public static final ResourceKey<Registry<BlockEntityType<?>>>
p
BLOCK_ENTITY_TYPE_REGISTRY
field_25073
BLOCK_ENTITY_TYPE_KEY
f_122907_
public static final ResourceKey<Registry<Motive>>
q
MOTIVE_REGISTRY
field_25074
MOTIVE_KEY
f_122908_
public static final ResourceKey<Registry<ResourceLocation>>
r
CUSTOM_STAT_REGISTRY
field_25075
CUSTOM_STAT_KEY
f_122909_
public static final ResourceKey<Registry<ChunkStatus>>
s
CHUNK_STATUS_REGISTRY
field_25076
CHUNK_STATUS_KEY
f_122910_
public static final ResourceKey<Registry<RuleTestType<?>>>
t
RULE_TEST_REGISTRY
field_25079
RULE_TEST_KEY
f_122911_
public static final ResourceKey<Registry<PosRuleTestType<?>>>
u
POS_RULE_TEST_REGISTRY
field_25080
POS_RULE_TEST_KEY
f_122912_
public static final ResourceKey<Registry<MenuType<?>>>
v
MENU_REGISTRY
field_25083
MENU_KEY
f_122913_
public static final ResourceKey<Registry<RecipeType<?>>>
w
RECIPE_TYPE_REGISTRY
field_25084
RECIPE_TYPE_KEY
f_122914_
public static final ResourceKey<Registry<RecipeSerializer<?>>>
x
RECIPE_SERIALIZER_REGISTRY
field_25085
RECIPE_SERIALIZER_KEY
f_122915_
public static final ResourceKey<Registry<Attribute>>
y
ATTRIBUTE_REGISTRY
field_25086
ATTRIBUTE_KEY
f_122916_
public static final ResourceKey<Registry<GameEvent>>
z
GAME_EVENT_REGISTRY
field_28266
GAME_EVENT_KEY
f_175423_
public static final ResourceKey<Registry<PositionSourceType<?>>>
A
POSITION_SOURCE_TYPE_REGISTRY
field_28263
POSITION_SOURCE_TYPE_KEY
f_175408_
public static final ResourceKey<Registry<StatType<?>>>
B
STAT_TYPE_REGISTRY
field_25087
STAT_TYPE_KEY
f_122917_
public static final ResourceKey<Registry<VillagerType>>
C
VILLAGER_TYPE_REGISTRY
field_25088
VILLAGER_TYPE_KEY
f_122808_
public static final ResourceKey<Registry<VillagerProfession>>
D
VILLAGER_PROFESSION_REGISTRY
field_25089
VILLAGER_PROFESSION_KEY
f_122809_
public static final ResourceKey<Registry<PoiType>>
E
POINT_OF_INTEREST_TYPE_REGISTRY
field_25090
POINT_OF_INTEREST_TYPE_KEY
f_122810_
public static final ResourceKey<Registry<MemoryModuleType<?>>>
F
MEMORY_MODULE_TYPE_REGISTRY
field_25091
MEMORY_MODULE_TYPE_KEY
f_122811_
public static final ResourceKey<Registry<SensorType<?>>>
G
SENSOR_TYPE_REGISTRY
field_25092
SENSOR_TYPE_KEY
f_122812_
public static final ResourceKey<Registry<Schedule>>
H
SCHEDULE_REGISTRY
field_25093
SCHEDULE_KEY
f_122813_
public static final ResourceKey<Registry<Activity>>
I
ACTIVITY_REGISTRY
field_25094
ACTIVITY_KEY
f_122814_
public static final ResourceKey<Registry<LootPoolEntryType>>
J
LOOT_ENTRY_REGISTRY
field_25295
LOOT_POOL_ENTRY_TYPE_KEY
f_122815_
public static final ResourceKey<Registry<LootItemFunctionType>>
K
LOOT_FUNCTION_REGISTRY
field_25296
LOOT_FUNCTION_TYPE_KEY
f_122816_
public static final ResourceKey<Registry<LootItemConditionType>>
L
LOOT_ITEM_REGISTRY
field_25297
LOOT_CONDITION_TYPE_KEY
f_122817_
public static final ResourceKey<Registry<LootNumberProviderType>>
M
LOOT_NUMBER_PROVIDER_REGISTRY
field_28005
LOOT_NUMBER_PROVIDER_TYPE_KEY
f_175409_
public static final ResourceKey<Registry<LootNbtProviderType>>
N
LOOT_NBT_PROVIDER_REGISTRY
field_28006
LOOT_NBT_PROVIDER_TYPE_KEY
f_175410_
public static final ResourceKey<Registry<LootScoreProviderType>>
O
LOOT_SCORE_PROVIDER_REGISTRY
field_28007
LOOT_SCORE_PROVIDER_TYPE_KEY
f_175411_
public static final ResourceKey<Registry<DimensionType>>
P
DIMENSION_TYPE_REGISTRY
field_25095
DIMENSION_TYPE_KEY
f_122818_
public static final ResourceKey<Registry<Level>>
Q
DIMENSION_REGISTRY
field_25298
WORLD_KEY
f_122819_
public static final ResourceKey<Registry<LevelStem>>
R
LEVEL_STEM_REGISTRY
field_25490
DIMENSION_KEY
f_122820_
public static final DefaultedRegistry<GameEvent>
S
GAME_EVENT
field_28264
GAME_EVENT
f_175412_
public static final Registry<SoundEvent>
T
SOUND_EVENT
field_11156
SOUND_EVENT
f_122821_
public static final DefaultedRegistry<Fluid>
U
FLUID
field_11154
FLUID
f_122822_
public static final Registry<MobEffect>
V
MOB_EFFECT
field_11159
STATUS_EFFECT
f_122823_
public static final DefaultedRegistry<Block>
W
BLOCK
field_11146
BLOCK
f_122824_
public static final Registry<Enchantment>
X
ENCHANTMENT
field_11160
ENCHANTMENT
f_122825_
public static final DefaultedRegistry<EntityType<?>>
Y
ENTITY_TYPE
field_11145
ENTITY_TYPE
f_122826_
public static final DefaultedRegistry<Item>
Z
ITEM
field_11142
ITEM
f_122827_
public static final DefaultedRegistry<Potion>
aa
POTION
field_11143
POTION
f_122828_
public static final Registry<ParticleType<?>>
ab
PARTICLE_TYPE
field_11141
PARTICLE_TYPE
f_122829_
public static final Registry<BlockEntityType<?>>
ac
BLOCK_ENTITY_TYPE
field_11137
BLOCK_ENTITY_TYPE
f_122830_
public static final DefaultedRegistry<Motive>
ad
MOTIVE
field_11150
PAINTING_MOTIVE
f_122831_
public static final Registry<ResourceLocation>
ae
CUSTOM_STAT
field_11158
CUSTOM_STAT
f_122832_
public static final DefaultedRegistry<ChunkStatus>
af
CHUNK_STATUS
field_16643
CHUNK_STATUS
f_122833_
public static final Registry<RuleTestType<?>>
ag
RULE_TEST
field_16792
RULE_TEST
f_122861_
public static final Registry<PosRuleTestType<?>>
ah
POS_RULE_TEST
field_23398
POS_RULE_TEST
f_122862_
public static final Registry<MenuType<?>>
ai
MENU
field_17429
SCREEN_HANDLER
f_122863_
public static final Registry<RecipeType<?>>
aj
RECIPE_TYPE
field_17597
RECIPE_TYPE
f_122864_
public static final Registry<RecipeSerializer<?>>
ak
RECIPE_SERIALIZER
field_17598
RECIPE_SERIALIZER
f_122865_
public static final Registry<Attribute>
al
ATTRIBUTE
field_23781
ATTRIBUTE
f_122866_
public static final Registry<PositionSourceType<?>>
am
POSITION_SOURCE_TYPE
field_28265
POSITION_SOURCE_TYPE
f_175420_
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 DefaultedRegistry<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<NoiseGeneratorSettings>>
aH
NOISE_GENERATOR_SETTINGS_REGISTRY
field_26374
CHUNK_GENERATOR_SETTINGS_KEY
f_122878_
public static final ResourceKey<Registry<ConfiguredSurfaceBuilder<?>>>
aI
CONFIGURED_SURFACE_BUILDER_REGISTRY
field_25912
CONFIGURED_SURFACE_BUILDER_KEY
f_122879_
public static final ResourceKey<Registry<ConfiguredWorldCarver<?>>>
aJ
CONFIGURED_CARVER_REGISTRY
field_25913
CONFIGURED_CARVER_KEY
f_122880_
public static final ResourceKey<Registry<ConfiguredFeature<?, ?>>>
aK
CONFIGURED_FEATURE_REGISTRY
field_25914
CONFIGURED_FEATURE_KEY
f_122881_
public static final ResourceKey<Registry<ConfiguredStructureFeature<?, ?>>>
aL
CONFIGURED_STRUCTURE_FEATURE_REGISTRY
field_25915
CONFIGURED_STRUCTURE_FEATURE_KEY
f_122882_
public static final ResourceKey<Registry<StructureProcessorList>>
aM
PROCESSOR_LIST_REGISTRY
field_25916
STRUCTURE_PROCESSOR_LIST_KEY
f_122883_
public static final ResourceKey<Registry<StructureTemplatePool>>
aN
TEMPLATE_POOL_REGISTRY
field_25917
STRUCTURE_POOL_KEY
f_122884_
public static final ResourceKey<Registry<Biome>>
aO
BIOME_REGISTRY
field_25114
BIOME_KEY
f_122885_
public static final ResourceKey<Registry<SurfaceBuilder<?>>>
aP
SURFACE_BUILDER_REGISTRY
field_25111
SURFACE_BUILD_KEY
f_122886_
public static final Registry<SurfaceBuilder<?>>
aQ
SURFACE_BUILDER
field_11147
SURFACE_BUILDER
f_122835_
public static final ResourceKey<Registry<WorldCarver<?>>>
aR
CARVER_REGISTRY
field_25110
CARVER_KEY
f_122836_
public static final Registry<WorldCarver<?>>
aS
CARVER
field_11157
CARVER
f_122837_
public static final ResourceKey<Registry<Feature<?>>>
aT
FEATURE_REGISTRY
field_25112
FEATURE_KEY
f_122838_
public static final Registry<Feature<?>>
aU
FEATURE
field_11138
FEATURE
f_122839_
public static final ResourceKey<Registry<StructureFeature<?>>>
aV
STRUCTURE_FEATURE_REGISTRY
field_25077
STRUCTURE_FEATURE_KEY
f_122840_
public static final Registry<StructureFeature<?>>
aW
STRUCTURE_FEATURE
field_16644
STRUCTURE_FEATURE
f_122841_
public static final ResourceKey<Registry<StructurePieceType>>
aX
STRUCTURE_PIECE_REGISTRY
field_25078
STRUCTURE_PIECE_KEY
f_122842_
public static final Registry<StructurePieceType>
aY
STRUCTURE_PIECE
field_16645
STRUCTURE_PIECE
f_122843_
public static final ResourceKey<Registry<FeatureDecorator<?>>>
aZ
DECORATOR_REGISTRY
field_25113
DECORATOR_KEY
f_122844_
public static final Registry<FeatureDecorator<?>>
ba
DECORATOR
field_11148
DECORATOR
f_122845_
public static final ResourceKey<Registry<BlockStateProviderType<?>>>
bb
BLOCK_STATE_PROVIDER_TYPE_REGISTRY
field_25115
BLOCK_STATE_PROVIDER_TYPE_KEY
f_122846_
public static final ResourceKey<Registry<BlockPlacerType<?>>>
bc
BLOCK_PLACER_TYPE_REGISTRY
field_25116
BLOCK_PLACER_TYPE_KEY
f_122847_
public static final ResourceKey<Registry<FoliagePlacerType<?>>>
bd
FOLIAGE_PLACER_TYPE_REGISTRY
field_25117
FOLIAGE_PLACER_TYPE_KEY
f_122848_
public static final ResourceKey<Registry<TrunkPlacerType<?>>>
be
TRUNK_PLACER_TYPE_REGISTRY
field_25118
TRUNK_PLACER_TYPE_KEY
f_122849_
public static final ResourceKey<Registry<TreeDecoratorType<?>>>
bf
TREE_DECORATOR_TYPE_REGISTRY
field_25068
TREE_DECORATOR_TYPE_KEY
f_122850_
public static final ResourceKey<Registry<FeatureSizeType<?>>>
bg
FEATURE_SIZE_TYPE_REGISTRY
field_25069
FEATURE_SIZE_TYPE_KEY
f_122851_
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends BiomeSource>>>
bh
BIOME_SOURCE_REGISTRY
field_25071
BIOME_SOURCE_KEY
f_122852_
public static final ResourceKey<Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>>
bi
CHUNK_GENERATOR_REGISTRY
field_25072
CHUNK_GENERATOR_KEY
f_122853_
public static final ResourceKey<Registry<StructureProcessorType<?>>>
bj
STRUCTURE_PROCESSOR_REGISTRY
field_25081
STRUCTURE_PROCESSOR_KEY
f_122854_
public static final ResourceKey<Registry<StructurePoolElementType<?>>>
bk
STRUCTURE_POOL_ELEMENT_REGISTRY
field_25082
STRUCTURE_POOL_ELEMENT_KEY
f_122855_
public static final Registry<BlockStateProviderType<?>>
bl
BLOCKSTATE_PROVIDER_TYPES
field_21445
BLOCK_STATE_PROVIDER_TYPE
f_122856_
public static final Registry<BlockPlacerType<?>>
bm
BLOCK_PLACER_TYPES
field_21446
BLOCK_PLACER_TYPE
f_122857_
public static final Registry<FoliagePlacerType<?>>
bn
FOLIAGE_PLACER_TYPES
field_21447
FOLIAGE_PLACER_TYPE
f_122858_
public static final Registry<TrunkPlacerType<?>>
bo
TRUNK_PLACER_TYPES
field_23782
TRUNK_PLACER_TYPE
f_122859_
public static final Registry<TreeDecoratorType<?>>
bp
TREE_DECORATOR_TYPES
field_21448
TREE_DECORATOR_TYPE
f_122860_
public static final Registry<FeatureSizeType<?>>
bq
FEATURE_SIZE_TYPES
field_24331
FEATURE_SIZE_TYPE
f_122888_
public static final Registry<com.mojang.serialization.Codec<? extends BiomeSource>>
br
BIOME_SOURCE
field_25096
BIOME_SOURCE
f_122889_
public static final Registry<com.mojang.serialization.Codec<? extends ChunkGenerator>>
bs
CHUNK_GENERATOR
field_25097
CHUNK_GENERATOR
f_122890_
public static final Registry<StructureProcessorType<?>>
bt
STRUCTURE_PROCESSOR
field_16794
STRUCTURE_PROCESSOR
f_122891_
public static final Registry<StructurePoolElementType<?>>
bu
STRUCTURE_POOL_ELEMENT
field_16793
STRUCTURE_POOL_ELEMENT
f_122892_
private final ResourceKey<? extends Registry<T>>
b
key
field_25098
registryKey
f_122887_
private final com.mojang.serialization.Lifecycle
bv
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(hc<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(wv<? extends gw<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(wv<? extends gw<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(wv<? extends gw<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(wv<? extends gw<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(wv<? extends gw<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>>
f()
key()
method_30517()
getKey()
m_123023_()
public <U> com.mojang.serialization.DataResult<com.mojang.datafixers.util.Pair<T, U>>
decode(com.mojang.serialization.DynamicOps<U> arg0, U arg1)
decode(com.mojang.serialization.DynamicOps<U> arg0, U arg1)
decode(com.mojang.serialization.DynamicOps<U> p_123017_, U arg1)
public <U> com.mojang.serialization.DataResult<U>
encode(T arg0, com.mojang.serialization.DynamicOps<U> arg1, U arg2)
encode(T arg0, com.mojang.serialization.DynamicOps<U> arg1, U arg2)
encode(T p_123021_, com.mojang.serialization.DynamicOps<U> p_123022_, U arg2)
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)
getKey(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)
getId(T arg0)
public abstract T
a(wv<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(ww arg0)
get(ResourceLocation arg0)
method_10223(class_2960 arg0)
get(Identifier id)
m_7745_(C_5265_ arg0)
get(MinecraftKey arg0)
protected 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
b()
elementsLifecycle()
method_31138()
getLifecycle()
m_7837_()
public Optional<T>
b(ww arg0)
getOptional(ResourceLocation arg0)
method_17966(class_2960 arg0)
getOrEmpty(Identifier id)
m_6612_(C_5265_ arg0)
getOptional(MinecraftKey arg0)
public Optional<T>
c(wv<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(wv<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>
c()
keySet()
method_10235()
getIds()
m_6566_()
keySet()
public abstract Set<Map$Entry<ResourceKey<T>, T>>
d()
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>
g()
stream()
method_10220()
stream()
m_123024_()
public abstract boolean
c(ww arg0)
containsKey(ResourceLocation arg0)
method_10250(class_2960 arg0)
containsId(Identifier id)
m_7804_(C_5265_ arg0)
public abstract boolean
b(wv<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(gw<? 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(gw<V> arg0, ww 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(gw<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_)