net.minecraft.core

public interface RegistryAccess

hn
net.minecraft.core.RegistryAccess
net.minecraft.class_5455
net.minecraft.unmapped.C_wqxmvzdq
net.minecraft.util.registry.DynamicRegistryManager
net.minecraft.util.registry.DynamicRegistryManager
net.minecraft.src.C_4706_
net.minecraft.core.IRegistryCustom

Field summary

Modifier and TypeField
org.slf4j.Logger
a
LOGGER
field_25918
f_zcsxlkxx
LOGGER
LOGGER
f_123047_
Map<ResourceKey<? extends Registry<?>>, RegistryAccess$RegistryData<?>>
b
REGISTRIES
field_25919
f_pgyjimoz
INFOS
INFOS
f_123048_
com.mojang.serialization.Codec<RegistryAccess>
c
NETWORK_CODEC
field_36469
f_vhipwojv
CODEC
NETWORK_CODEC
f_206151_
Supplier<RegistryAccess$Frozen>
d
BUILTIN
field_26733
f_wvcxtgsi
BUILTIN
BUILTIN
f_123049_

Method summary

Modifier and TypeMethod
<E> Optional<Registry<E>>
a(aba<? extends hm<? extends E>> arg0)
ownedRegistry(ResourceKey<? extends Registry<? extends E>> arg0)
method_30527(class_5321<? extends class_2378<? extends E>> arg0)
m_pquswexb(C_xhhleach<? extends C_tqxyjqsk<? extends E>> arg0)
getOptionalManaged(RegistryKey<? extends Registry<? extends E>> key)
getOptionalMutable(RegistryKey<? extends Registry<? extends E>> key)
m_142664_(C_5264_<? extends C_4705_<? extends E>> arg0)
default <E> Registry<E>
b(aba<? extends hm<? extends E>> arg0)
ownedRegistryOrThrow(ResourceKey<? extends Registry<? extends E>> arg0)
method_33309(class_5321<? extends class_2378<? extends E>> arg0)
m_kagwftqy(C_xhhleach<? extends C_tqxyjqsk<? extends E>> arg0)
getManaged(RegistryKey<? extends Registry<? extends E>> key)
getMutable(RegistryKey<? extends Registry<? extends E>> key)
m_206191_(C_5264_<? extends C_4705_<? extends E>> arg0)
default <E> Optional<? extends Registry<E>>
c(aba<? extends hm<? extends E>> arg0)
registry(ResourceKey<? extends Registry<? extends E>> arg0)
method_33310(class_5321<? extends class_2378<? extends E>> arg0)
m_asrzufgj(C_xhhleach<? extends C_tqxyjqsk<? extends E>> arg0)
getOptional(RegistryKey<? extends Registry<? extends E>> key)
getOptional(RegistryKey<? extends Registry<? extends E>> key)
m_6632_(C_5264_<? extends C_4705_<? extends E>> arg0)
default <E> Registry<E>
d(aba<? extends hm<? extends E>> arg0)
registryOrThrow(ResourceKey<? extends Registry<? extends E>> arg0)
method_30530(class_5321<? extends class_2378<? extends E>> arg0)
m_budagsyd(C_xhhleach<? extends C_tqxyjqsk<? extends E>> arg0)
get(RegistryKey<? extends Registry<? extends E>> key)
get(RegistryKey<? extends Registry<? extends E>> key)
m_175515_(C_5264_<? extends C_4705_<? extends E>> arg0)
private static <E> void
a(com.google.common.collect.ImmutableMap$Builder<aba<? extends hm<?>>, hn$c<?>> arg0, aba<? extends hm<E>> arg1, com.mojang.serialization.Codec<E> arg2)
put(com.google.common.collect.ImmutableMap$Builder<ResourceKey<? extends Registry<?>>, RegistryAccess$RegistryData<?>> arg0, ResourceKey<? extends Registry<E>> arg1, com.mojang.serialization.Codec<E> arg2)
method_30520(com.google.common.collect.ImmutableMap$Builder<class_5321<? extends class_2378<?>>, class_5455$class_5456<?>> arg0, class_5321<? extends class_2378<E>> arg1, com.mojang.serialization.Codec<E> arg2)
m_bfnxdyki(com.google.common.collect.ImmutableMap$Builder<C_xhhleach<? extends C_tqxyjqsk<?>>, C_wqxmvzdq$C_ydhbsuwm<?>> arg0, C_xhhleach<? extends C_tqxyjqsk<E>> arg1, com.mojang.serialization.Codec<E> arg2)
register(com.google.common.collect.ImmutableMap$Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager$Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec)
register(com.google.common.collect.ImmutableMap$Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager$Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec)
m_123053_(com.google.common.collect.ImmutableMap$Builder<C_5264_<? extends C_4705_<?>>, C_4707_<?>> p_123054_, C_5264_<? extends C_4705_<E>> p_123055_, com.mojang.serialization.Codec<E> p_123056_)
private static <E> void
a(com.google.common.collect.ImmutableMap$Builder<aba<? extends hm<?>>, hn$c<?>> arg0, aba<? extends hm<E>> arg1, com.mojang.serialization.Codec<E> arg2, com.mojang.serialization.Codec<E> arg3)
put(com.google.common.collect.ImmutableMap$Builder<ResourceKey<? extends Registry<?>>, RegistryAccess$RegistryData<?>> arg0, ResourceKey<? extends Registry<E>> arg1, com.mojang.serialization.Codec<E> arg2, com.mojang.serialization.Codec<E> arg3)
method_31060(com.google.common.collect.ImmutableMap$Builder<class_5321<? extends class_2378<?>>, class_5455$class_5456<?>> arg0, class_5321<? extends class_2378<E>> arg1, com.mojang.serialization.Codec<E> arg2, com.mojang.serialization.Codec<E> arg3)
m_zbdqwvdm(com.google.common.collect.ImmutableMap$Builder<C_xhhleach<? extends C_tqxyjqsk<?>>, C_wqxmvzdq$C_ydhbsuwm<?>> arg0, C_xhhleach<? extends C_tqxyjqsk<E>> arg1, com.mojang.serialization.Codec<E> arg2, com.mojang.serialization.Codec<E> arg3)
register(com.google.common.collect.ImmutableMap$Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager$Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec, com.mojang.serialization.Codec<E> networkEntryCodec)
register(com.google.common.collect.ImmutableMap$Builder<RegistryKey<? extends Registry<?>>, DynamicRegistryManager$Info<?>> infosBuilder, RegistryKey<? extends Registry<E>> registryRef, com.mojang.serialization.Codec<E> entryCodec, com.mojang.serialization.Codec<E> networkEntryCodec)
m_123057_(com.google.common.collect.ImmutableMap$Builder<C_5264_<? extends C_4705_<?>>, C_4707_<?>> p_123058_, C_5264_<? extends C_4705_<E>> p_123059_, com.mojang.serialization.Codec<E> p_123060_, com.mojang.serialization.Codec<E> p_123061_)
static Iterable<RegistryAccess$RegistryData<?>>
a()
knownRegistries()
method_39674()
m_avvkgvxl()
getInfos()
getKnownRegistries()
m_194613_()
Stream<RegistryAccess$RegistryEntry<?>>
b()
ownedRegistries()
method_40308()
m_athwjwwb()
streamManagedRegistries()
ownedRegistries()
m_203610_()
private static Stream<RegistryAccess$RegistryEntry<Object>>
h()
globalRegistries()
method_40318()
m_qfxecdvh()
streamStaticRegistries()
globalRegistries()
m_206202_()
default Stream<RegistryAccess$RegistryEntry<?>>
c()
registries()
method_40311()
m_vutgtdyk()
streamAllRegistries()
registries()
m_206193_()
default Stream<RegistryAccess$RegistryEntry<?>>
d()
networkSafeRegistries()
method_40313()
m_pkyudotx()
streamSyncedRegistries()
networkSafeRegistries()
m_206196_()
private static <E> com.mojang.serialization.Codec<RegistryAccess>
i()
makeNetworkCodec()
method_40320()
m_qepmomyf()
createCodec()
makeNetworkCodec()
m_206205_()
private static <K extends ResourceKey<? extends Registry<?>>, V extends Registry<?>> com.mojang.serialization.Codec<RegistryAccess>
a(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
captureMap(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
method_40301(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
m_matjkzip(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
createCodec(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> originalCodec)
captureMap(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
m_206163_(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_206164_)
private Stream<RegistryAccess$RegistryEntry<?>>
j()
ownedNetworkableRegistries()
method_40321()
m_fpwtdfne()
streamSyncedManagedRegistries()
ownedNetworkableRegistries()
m_206206_()
private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>
f(aba<? extends hm<E>> arg0)
getNetworkCodec(ResourceKey<? extends Registry<E>> arg0)
method_40319(class_5321<? extends class_2378<E>> arg0)
m_aeirjrci(C_xhhleach<? extends C_tqxyjqsk<E>> arg0)
getNetworkEntryCodec(RegistryKey<? extends Registry<E>> registryKey)
getNetworkCodec(RegistryKey<? extends Registry<E>> key)
m_206203_(C_5264_<? extends C_4705_<E>> p_206204_)
private static Map<ResourceKey<? extends Registry<?>>, ? extends WritableRegistry<?>>
k()
createFreshRegistries()
method_40323()
m_xnavlkkh()
createMutableRegistries()
createFreshRegistries()
m_206209_()
private static RegistryAccess$Writable
l()
blankWriteable()
method_40325()
m_lheqxlni()
createMutableRegistryManager()
blankWritable()
m_206212_()
static RegistryAccess$Frozen
a(hm<? extends hm<?>> arg0)
fromRegistryOfRegistries(Registry<? extends Registry<?>> arg0)
method_40302(class_2378<? extends class_2378<?>> arg0)
m_lxobzcah(C_tqxyjqsk<? extends C_tqxyjqsk<?>> arg0)
of(Registry<? extends Registry<?>> registries)
fromRegistryOfRegistries(Registry<? extends Registry<?>> key)
m_206165_(C_4705_<? extends C_4705_<?>> p_206166_)
static RegistryAccess$Writable
e()
builtinCopy()
method_40314()
m_tcjkywtj()
createAndLoad()
builtInCopy()
m_206197_()
private static <E> void
a(aaz$b arg0, hn$c<E> arg1)
addBuiltinElements(RegistryResourceAccess$InMemoryStorage arg0, RegistryAccess$RegistryData<E> arg1)
method_31141(class_5506$class_5507 arg0, class_5455$class_5456<E> arg1)
m_physpezp(C_nyvkclsy$C_dxgwghhk arg0, C_wqxmvzdq$C_ydhbsuwm<E> arg1)
addEntriesToLoad(EntryLoader$Impl entryLoader, DynamicRegistryManager$Info<E> info)
addBuiltInElements(RegistryResourceAccess$InMemoryStorage storage, DynamicRegistryManager$Info<E> info)
m_211081_(C_183125_ p_211082_, C_4707_<E> p_211083_)
static void
a(hn$e arg0, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg1, aax arg2)
load(RegistryAccess$Writable arg0, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg1, RegistryLoader arg2)
method_30519(class_5455$class_6893 arg0, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg1, class_6900 arg2)
m_lbyadhxv(C_wqxmvzdq$C_qndozwiw arg0, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg1, C_yftyvswu arg2)
load(DynamicRegistryManager$Mutable dynamicRegistryManager, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, RegistryLoader registryLoader)
load(DynamicRegistryManager$Writable writable, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, RegistryLoader loader)
m_206171_(C_203243_ p_206172_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206173_, C_203252_ p_206174_)
private static <E> void
a(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg0, aax$a arg1, hn$c<E> arg2)
readRegistry(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg0, RegistryLoader$Bound arg1, RegistryAccess$RegistryData<E> arg2)
method_30526(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg0, class_6900$class_6901 arg1, class_5455$class_5456<E> arg2)
m_nnjsvctt(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg0, C_yftyvswu$C_ogvxrsre arg1, C_wqxmvzdq$C_ydhbsuwm<E> arg2)
load(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, RegistryLoader$LoaderAccess loaderAccess, DynamicRegistryManager$Info<E> info)
load(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, RegistryLoader$Bound bound, DynamicRegistryManager$Info<E> info)
m_206159_(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_206160_, C_203253_ p_206161_, C_4707_<E> p_206162_)
static RegistryAccess
a(com.mojang.serialization.Dynamic<?> arg0)
readFromDisk(com.mojang.serialization.Dynamic<?> arg0)
method_40299(com.mojang.serialization.Dynamic<?> arg0)
m_zygzorae(com.mojang.serialization.Dynamic<?> arg0)
createDynamicRegistryManager(com.mojang.serialization.Dynamic<?> dynamic)
readFromDisk(com.mojang.serialization.Dynamic<?> dynamic)
m_206154_(com.mojang.serialization.Dynamic<?> p_206155_)
static <E> Registry<E>
a(aba<? extends hm<? extends E>> arg0, com.mojang.serialization.Dynamic<?> arg1)
retrieveRegistry(ResourceKey<? extends Registry<? extends E>> arg0, com.mojang.serialization.Dynamic<?> arg1)
method_40307(class_5321<? extends class_2378<? extends E>> arg0, com.mojang.serialization.Dynamic<?> arg1)
m_jffdyfoo(C_xhhleach<? extends C_tqxyjqsk<? extends E>> arg0, com.mojang.serialization.Dynamic<?> arg1)
createRegistry(RegistryKey<? extends Registry<? extends E>> registryRef, com.mojang.serialization.Dynamic<?> dynamic)
retrieveRegistry(RegistryKey<? extends Registry<? extends E>> key, com.mojang.serialization.Dynamic<?> dynamic)
m_206184_(C_5264_<? extends C_4705_<? extends E>> p_206185_, com.mojang.serialization.Dynamic<?> p_206186_)
static <E> WritableRegistry<?>
e(aba<? extends hm<?>> arg0)
createRegistry(ResourceKey<? extends Registry<?>> arg0)
method_40317(class_5321<? extends class_2378<?>> arg0)
m_uezzwhkz(C_xhhleach<? extends C_tqxyjqsk<?>> arg0)
createSimpleRegistry(RegistryKey<? extends Registry<?>> registryRef)
createRegistry(RegistryKey<? extends Registry<?>> key)
m_206200_(C_5264_<? extends C_4705_<?>> p_206201_)
default RegistryAccess$Frozen
f()
freeze()
method_40316()
m_sloxobqt()
toImmutable()
freeze()
m_203557_()
default com.mojang.serialization.Lifecycle
g()
allElementsLifecycle()
method_41201()
m_esyudkce()
getRegistryLifecycle()
allElementsLifecycle()
m_211816_()