net.minecraft.core

public abstract class RegistryAccess

gx
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
private 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(wv<? extends gw<? 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(wv<? extends gw<? 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(wv<? extends gw<? 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(wv<? extends gw<? 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<wv<? extends gw<?>>, gx$a<?>> arg0, wv<? extends gw<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<wv<? extends gw<?>>, gx$a<?>> arg0, wv<? extends gw<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 RegistryAccess$RegistryHolder
a()
builtin()
method_30528()
create()
m_123086_()
private static <E> void
a(gx$b arg0, wt$b$a arg1, gx$a<E> arg2)
addBuiltinElements(RegistryAccess$RegistryHolder arg0, RegistryReadOps$ResourceAccess$MemoryMap arg1, RegistryAccess$RegistryData<E> arg2)
method_31141(class_5455$class_5457 arg0, class_5382$class_5506$class_5507 arg1, class_5455$class_5456<E> arg2)
method_31141(DynamicRegistryManager$Impl registryManager, RegistryOps$EntryLoader$Impl entryLoader, DynamicRegistryManager$Info<E> info)
m_123071_(C_4706_$C_4708_ p_123072_, C_5257_$C_5260_$C_5262_ p_123073_, C_4706_$C_4707_<E> p_123074_)
private static <R extends Registry<?>> void
a(gx$b arg0, wv<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(gx$b arg0, gw<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(gx arg0, wt<?> arg1)
load(RegistryAccess arg0, RegistryReadOps<?> arg1)
method_30519(class_5455 arg0, class_5382<?> arg1)
load(DynamicRegistryManager arg0, RegistryOps<?> arg1)
m_175500_(C_4706_ p_175501_, C_5257_<?> p_175502_)
private static <E> void
a(wt<?> arg0, gx arg1, gx$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 arg1, DynamicRegistryManager$Info<E> info)
m_175503_(C_5257_<?> p_175504_, C_4706_ p_175505_, C_4706_$C_4707_<E> p_175506_)