net.minecraft.util.registry

public interface DynamicRegistryManager

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

Field summary

Modifier and TypeField
org.slf4j.Logger
a
LOGGER
field_25918
LOGGER
f_zcsxlkxx
LOGGER
f_123047_
Map<RegistryKey<? extends Registry<?>>, DynamicRegistryManager$Info<?>>
b
REGISTRIES
field_25919
INFOS
f_pgyjimoz
INFOS
f_123048_
com.mojang.serialization.Codec<DynamicRegistryManager>
c
NETWORK_CODEC
field_36469
CODEC
f_vhipwojv
NETWORK_CODEC
f_206151_
Supplier<DynamicRegistryManager$Immutable>
d
BUILTIN
field_26733
BUILTIN
f_wvcxtgsi
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)
getOptionalManaged(RegistryKey<? extends Registry<? extends E>> key)
m_pquswexb(C_xhhleach<? extends C_tqxyjqsk<? extends E>> arg0)
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)
getManaged(RegistryKey<? extends Registry<? extends E>> key)
m_kagwftqy(C_xhhleach<? extends C_tqxyjqsk<? extends E>> arg0)
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)
getOptional(RegistryKey<? extends Registry<? extends E>> key)
m_asrzufgj(C_xhhleach<? extends C_tqxyjqsk<? extends E>> arg0)
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)
get(RegistryKey<? extends Registry<? extends E>> key)
m_budagsyd(C_xhhleach<? extends C_tqxyjqsk<? extends E>> arg0)
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<?>> o, aba<? extends hm<E>> o, com.mojang.serialization.Codec<E> o)
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)
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_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)
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<?>> o, aba<? extends hm<E>> o, com.mojang.serialization.Codec<E> o, com.mojang.serialization.Codec<E> o)
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)
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_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)
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<DynamicRegistryManager$Info<?>>
a()
knownRegistries()
method_39674()
getInfos()
m_avvkgvxl()
getKnownRegistries()
m_194613_()
Stream<DynamicRegistryManager$Entry<?>>
b()
ownedRegistries()
method_40308()
streamManagedRegistries()
m_athwjwwb()
ownedRegistries()
m_203610_()
private static Stream<DynamicRegistryManager$Entry<Object>>
h()
globalRegistries()
method_40318()
streamStaticRegistries()
m_qfxecdvh()
globalRegistries()
m_206202_()
default Stream<DynamicRegistryManager$Entry<?>>
c()
registries()
method_40311()
streamAllRegistries()
m_vutgtdyk()
registries()
m_206193_()
default Stream<DynamicRegistryManager$Entry<?>>
d()
networkSafeRegistries()
method_40313()
streamSyncedRegistries()
m_pkyudotx()
networkSafeRegistries()
m_206196_()
private static <E> com.mojang.serialization.Codec<DynamicRegistryManager>
i()
makeNetworkCodec()
method_40320()
createCodec()
m_qepmomyf()
makeNetworkCodec()
m_206205_()
private static <K extends RegistryKey<? extends Registry<?>>, V extends Registry<?>> com.mojang.serialization.Codec<DynamicRegistryManager>
a(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> o)
captureMap(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
method_40301(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
createCodec(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> originalCodec)
m_matjkzip(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
captureMap(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
m_206163_(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_206164_)
private Stream<DynamicRegistryManager$Entry<?>>
j()
ownedNetworkableRegistries()
method_40321()
streamSyncedManagedRegistries()
m_fpwtdfne()
ownedNetworkableRegistries()
m_206206_()
private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>
f(aba<? extends hm<E>> o)
getNetworkCodec(ResourceKey<? extends Registry<E>> arg0)
method_40319(class_5321<? extends class_2378<E>> arg0)
getNetworkEntryCodec(RegistryKey<? extends Registry<E>> registryKey)
m_aeirjrci(C_xhhleach<? extends C_tqxyjqsk<E>> arg0)
getNetworkCodec(RegistryKey<? extends Registry<E>> key)
m_206203_(C_5264_<? extends C_4705_<E>> p_206204_)
private static Map<RegistryKey<? extends Registry<?>>, ? extends MutableRegistry<?>>
k()
createFreshRegistries()
method_40323()
createMutableRegistries()
m_xnavlkkh()
createFreshRegistries()
m_206209_()
private static DynamicRegistryManager$Mutable
l()
blankWriteable()
method_40325()
createMutableRegistryManager()
m_lheqxlni()
blankWritable()
m_206212_()
static DynamicRegistryManager$Immutable
a(hm<? extends hm<?>> o)
fromRegistryOfRegistries(Registry<? extends Registry<?>> arg0)
method_40302(class_2378<? extends class_2378<?>> arg0)
of(Registry<? extends Registry<?>> registries)
m_lxobzcah(C_tqxyjqsk<? extends C_tqxyjqsk<?>> arg0)
fromRegistryOfRegistries(Registry<? extends Registry<?>> key)
m_206165_(C_4705_<? extends C_4705_<?>> p_206166_)
static DynamicRegistryManager$Mutable
e()
builtinCopy()
method_40314()
createAndLoad()
m_tcjkywtj()
builtInCopy()
m_206197_()
private static <E> void
a(aaz$b o, hn$c<E> o)
addBuiltinElements(RegistryResourceAccess$InMemoryStorage arg0, RegistryAccess$RegistryData<E> arg1)
method_31141(class_5506$class_5507 arg0, class_5455$class_5456<E> arg1)
addEntriesToLoad(EntryLoader$Impl entryLoader, DynamicRegistryManager$Info<E> info)
m_physpezp(C_nyvkclsy$C_dxgwghhk arg0, C_wqxmvzdq$C_ydhbsuwm<E> arg1)
addBuiltInElements(RegistryResourceAccess$InMemoryStorage storage, DynamicRegistryManager$Info<E> info)
m_211081_(C_183125_ p_211082_, C_4707_<E> p_211083_)
static void
a(hn$e o, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> o, aax o)
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)
load(DynamicRegistryManager$Mutable dynamicRegistryManager, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, RegistryLoader registryLoader)
m_lbyadhxv(C_wqxmvzdq$C_qndozwiw arg0, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> arg1, C_yftyvswu arg2)
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> o, aax$a o, hn$c<E> o)
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)
load(com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, RegistryLoader$LoaderAccess loaderAccess, DynamicRegistryManager$Info<E> info)
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$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 DynamicRegistryManager
a(com.mojang.serialization.Dynamic<?> o)
readFromDisk(com.mojang.serialization.Dynamic<?> arg0)
method_40299(com.mojang.serialization.Dynamic<?> arg0)
createDynamicRegistryManager(com.mojang.serialization.Dynamic<?> dynamic)
m_zygzorae(com.mojang.serialization.Dynamic<?> arg0)
readFromDisk(com.mojang.serialization.Dynamic<?> dynamic)
m_206154_(com.mojang.serialization.Dynamic<?> p_206155_)
static <E> Registry<E>
a(aba<? extends hm<? extends E>> o, com.mojang.serialization.Dynamic<?> o)
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)
createRegistry(RegistryKey<? extends Registry<? extends E>> registryRef, com.mojang.serialization.Dynamic<?> dynamic)
m_jffdyfoo(C_xhhleach<? extends C_tqxyjqsk<? extends E>> arg0, com.mojang.serialization.Dynamic<?> arg1)
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> MutableRegistry<?>
e(aba<? extends hm<?>> o)
createRegistry(ResourceKey<? extends Registry<?>> arg0)
method_40317(class_5321<? extends class_2378<?>> arg0)
createSimpleRegistry(RegistryKey<? extends Registry<?>> registryRef)
m_uezzwhkz(C_xhhleach<? extends C_tqxyjqsk<?>> arg0)
createRegistry(RegistryKey<? extends Registry<?>> key)
m_206200_(C_5264_<? extends C_4705_<?>> p_206201_)
default DynamicRegistryManager$Immutable
f()
freeze()
method_40316()
toImmutable()
m_sloxobqt()
freeze()
m_203557_()
default com.mojang.serialization.Lifecycle
g()
allElementsLifecycle()
method_41201()
getRegistryLifecycle()
m_esyudkce()
allElementsLifecycle()
m_211816_()