net.minecraft.core

public abstract class RegistryAccess

gy
net.minecraft.core.RegistryAccess
net.minecraft.class_5455
net.minecraft.util.registry.DynamicRegistryManager
net.minecraft.src.C_4706_
net.minecraft.core.IRegistryCustom

Field summary

Modifier and TypeField
static final org.apache.logging.log4j.Logger
a
LOGGER
field_25918
LOGGER
f_123047_
static final Map<ResourceKey<? extends Registry<?>>, RegistryAccess$RegistryData<?>>
b
REGISTRIES
field_25919
INFOS
f_123048_
private static final RegistryAccess$RegistryHolder
c
BUILTIN
field_26733
BUILTIN
f_123049_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public abstract <E> Optional<WritableRegistry<E>>
a(yg<? extends gx<? extends E>> arg0)
ownedRegistry(ResourceKey<? extends Registry<? extends E>> arg0)
method_30527(class_5321<? extends class_2378<? extends E>> arg0)
getOptionalMutable(RegistryKey<? extends Registry<? extends E>> key)
m_142664_(C_5264_<? extends C_4705_<? extends E>> arg0)
public <E> WritableRegistry<E>
b(yg<? extends gx<? extends E>> arg0)
ownedRegistryOrThrow(ResourceKey<? extends Registry<? extends E>> arg0)
method_33309(class_5321<? extends class_2378<? extends E>> arg0)
getMutable(RegistryKey<? extends Registry<? extends E>> key)
m_175512_(C_5264_<? extends C_4705_<? extends E>> arg0)
public <E> Optional<? extends Registry<E>>
c(yg<? extends gx<? 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_6632_(C_5264_<? extends C_4705_<? extends E>> arg0)
public <E> Registry<E>
d(yg<? extends gx<? 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_175515_(C_5264_<? extends C_4705_<? extends E>> arg0)
private static <E> void
a(com.google.common.collect.ImmutableMap$Builder<yg<? extends gx<?>>, gy$a<?>> arg0, yg<? extends gx<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)
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_4706_$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<yg<? extends gx<?>>, gy$a<?>> arg0, yg<? extends gx<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)
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_4706_$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_)
public static Iterable<RegistryAccess$RegistryData<?>>
a()
knownRegistries()
method_39674()
getInfos()
m_194613_()
public static RegistryAccess$RegistryHolder
b()
builtin()
method_30528()
create()
m_123086_()
private static <E> void
a(gy$b arg0, ye$a arg1, gy$a<E> arg2)
addBuiltinElements(RegistryAccess$RegistryHolder arg0, RegistryResourceAccess$InMemoryStorage arg1, RegistryAccess$RegistryData<E> arg2)
method_31141(class_5455$class_5457 arg0, class_5506$class_5507 arg1, class_5455$class_5456<E> arg2)
method_31141(DynamicRegistryManager$Impl registryManager, EntryLoader$Impl entryLoader, DynamicRegistryManager$Info<E> info)
m_194614_(C_4706_$C_4708_ p_194615_, C_183123_$C_183125_ p_194616_, C_4706_$C_4707_<E> p_194617_)
private static <R extends Registry<?>> void
a(gy$b arg0, yg<R> arg1)
copyBuiltin(RegistryAccess$RegistryHolder arg0, ResourceKey<R> arg1)
method_30525(class_5455$class_5457 arg0, class_5321<R> arg1)
copyFromBuiltin(DynamicRegistryManager$Impl manager, RegistryKey<R> registryRef)
m_123078_(C_4706_$C_4708_ p_123079_, C_5264_<R> p_123080_)
private static <E> void
a(gy$b arg0, gx<E> arg1)
copy(RegistryAccess$RegistryHolder arg0, Registry<E> arg1)
method_30524(class_5455$class_5457 arg0, class_2378<E> arg1)
addBuiltinEntries(DynamicRegistryManager$Impl manager, Registry<E> registry)
m_123068_(C_4706_$C_4708_ p_123069_, C_4705_<E> p_123070_)
public static void
a(gy arg0, yd<?> arg1)
load(RegistryAccess arg0, RegistryReadOps<?> arg1)
method_30519(class_5455 arg0, class_5382<?> arg1)
load(DynamicRegistryManager manager, RegistryOps<?> ops)
m_175500_(C_4706_ p_175501_, C_5257_<?> p_175502_)
private static <E> void
a(yd<?> arg0, gy arg1, gy$a<E> arg2)
readRegistry(RegistryReadOps<?> arg0, RegistryAccess arg1, RegistryAccess$RegistryData<E> arg2)
method_30526(class_5382<?> arg0, class_5455 arg1, class_5455$class_5456<E> arg2)
load(RegistryOps<?> ops, DynamicRegistryManager manager, DynamicRegistryManager$Info<E> info)
m_175503_(C_5257_<?> p_175504_, C_4706_ p_175505_, C_4706_$C_4707_<E> p_175506_)