net.minecraft.core

public final class RegistryAccess$RegistryHolder

extends RegistryAccess

gy$b
net.minecraft.core.RegistryAccess$RegistryHolder
net.minecraft.class_5455$class_5457
net.minecraft.util.registry.DynamicRegistryManager$Impl
net.minecraft.src.C_4706_$C_4708_
net.minecraft.core.IRegistryCustom$Dimension

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<RegistryAccess$RegistryHolder>
a
NETWORK_CODEC
field_25923
CODEC
f_123112_
private final Map<? extends ResourceKey<? extends Registry<?>>, ? extends MappedRegistry<?>>
b
registries
field_25924
registries
f_123113_

Constructor summary

ModifierConstructor
public ()
private (Map<? extends ResourceKey<? extends Registry<?>>, ? extends MappedRegistry<?>> registries)

Method summary

Modifier and TypeMethod
private static <E> com.mojang.serialization.Codec<RegistryAccess$RegistryHolder>
c()
makeNetworkCodec()
method_30546()
setupCodec()
m_123139_()
private static <K extends ResourceKey<? extends Registry<?>>, V extends MappedRegistry<?>> com.mojang.serialization.Codec<RegistryAccess$RegistryHolder>
a(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
captureMap(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
method_30538(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
fromRegistryCodecs(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
m_123118_(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_123119_)
private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>
e(yg<? extends gx<E>> arg0)
getNetworkCodec(ResourceKey<? extends Registry<E>> arg0)
method_30547(class_5321<? extends class_2378<E>> arg0)
getDataResultForCodec(RegistryKey<? extends Registry<E>> registryRef)
m_123137_(C_5264_<? extends C_4705_<E>> p_123138_)
public static RegistryAccess
a(com.mojang.serialization.Dynamic<?> arg0)
readFromDisk(com.mojang.serialization.Dynamic<?> arg0)
method_39199(com.mojang.serialization.Dynamic<?> arg0)
method_39199(com.mojang.serialization.Dynamic<?> arg0)
m_194622_(com.mojang.serialization.Dynamic<?> p_194623_)
private static <E> MappedRegistry<?>
a(yg<? extends gx<?>> arg0, com.mojang.serialization.Dynamic<?> arg1)
parseRegistry(ResourceKey<? extends Registry<?>> arg0, com.mojang.serialization.Dynamic<?> arg1)
method_39201(class_5321<? extends class_2378<?>> arg0, com.mojang.serialization.Dynamic<?> arg1)
method_39201(RegistryKey<? extends Registry<?>> arg0, com.mojang.serialization.Dynamic<?> arg1)
m_194629_(C_5264_<? extends C_4705_<?>> p_194630_, com.mojang.serialization.Dynamic<?> p_194631_)
private static <E> MappedRegistry<?>
f(yg<? extends gx<?>> arg0)
createRegistry(ResourceKey<? extends Registry<?>> arg0)
method_30548(class_5321<? extends class_2378<?>> arg0)
createRegistry(RegistryKey<? extends Registry<?>> registryRef)
m_123140_(C_5264_<? extends C_4705_<?>> p_123141_)
public <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>> arg0)
m_142664_(C_5264_<? extends C_4705_<? extends E>> arg0)