net.minecraft.core

public abstract class RegistryAccess

gn
net.minecraft.core.RegistryAccess
net.minecraft.class_5455
net.minecraft.util.registry.DynamicRegistryManager
net.minecraft.util.registry.DynamicRegistries
net.minecraft.server.v1_16_R2.IRegistryCustom

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public abstract <E> Optional<WritableRegistry<E>>
a(vj<? extends gm<E>> arg0)
registry(ResourceKey<? extends Registry<E>> arg0)
method_30527(class_5321<? extends class_2378<E>> arg0)
getOptional(RegistryKey<? extends Registry<E>> key)
func_230521_a_(RegistryKey<? extends Registry<E>> arg0)
public <E> WritableRegistry<E>
b(vj<? extends gm<E>> arg0)
registryOrThrow(ResourceKey<? extends Registry<E>> arg0)
method_30530(class_5321<? extends class_2378<E>> arg0)
get(RegistryKey<? extends Registry<E>> key)
func_243612_b(RegistryKey<? extends Registry<E>> arg0)
public Registry<DimensionType>
a()
dimensionTypes()
method_30518()
getDimensionTypes()
func_230520_a_()
private static <E> void
a(com.google.common.collect.ImmutableMap$Builder<vj<? extends gm<?>>, gn$a<?>> arg0, vj<? extends gm<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)
func_243601_a(com.google.common.collect.ImmutableMap$Builder<RegistryKey<? extends Registry<?>>, DynamicRegistries$CodecHolder<?>> arg0, RegistryKey<? extends Registry<E>> arg1, com.mojang.serialization.Codec<E> arg2)
private static <E> void
a(com.google.common.collect.ImmutableMap$Builder<vj<? extends gm<?>>, gn$a<?>> arg0, vj<? extends gm<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)
func_243602_a(com.google.common.collect.ImmutableMap$Builder<RegistryKey<? extends Registry<?>>, DynamicRegistries$CodecHolder<?>> arg0, RegistryKey<? extends Registry<E>> arg1, com.mojang.serialization.Codec<E> arg2, com.mojang.serialization.Codec<E> arg3)
public static RegistryAccess$RegistryHolder
b()
builtin()
method_30528()
create()
func_239770_b_()
private static <E> void
a(gn$b arg0, vh$b$a arg1, gn$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 arg0, RegistryOps$class_5506$class_5507 arg1, DynamicRegistryManager$Info<E> arg2)
func_243607_a(DynamicRegistries$Impl arg0, WorldSettingsImport$IResourceAccess$RegistryAccess arg1, DynamicRegistries$CodecHolder<E> arg2)
private static <R extends Registry<?>> void
a(gn$b arg0, vj<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)
func_243609_a(DynamicRegistries$Impl arg0, RegistryKey<R> arg1)
private static <E> void
a(gn$b arg0, gm<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)
func_243606_a(DynamicRegistries$Impl arg0, Registry<E> arg1)
public static void
a(gn$b arg0, vh<?> arg1)
load(RegistryAccess$RegistryHolder arg0, RegistryReadOps<?> arg1)
method_30519(class_5455$class_5457 arg0, class_5382<?> arg1)
load(DynamicRegistryManager$Impl arg0, RegistryOps<?> arg1)
func_243608_a(DynamicRegistries$Impl arg0, WorldSettingsImport<?> arg1)
private static <E> void
a(vh<?> arg0, gn$b arg1, gn$a<E> arg2)
readRegistry(RegistryReadOps<?> arg0, RegistryAccess$RegistryHolder arg1, RegistryAccess$RegistryData<E> arg2)
method_30526(class_5382<?> arg0, class_5455$class_5457 arg1, class_5455$class_5456<E> arg2)
load(RegistryOps<?> ops, DynamicRegistryManager$Impl manager, DynamicRegistryManager$Info<E> info)
func_243610_a(WorldSettingsImport<?> arg0, DynamicRegistries$Impl arg1, DynamicRegistries$CodecHolder<E> arg2)