net.minecraft.core

public final class RegistryAccess$RegistryHolder

extends RegistryAccess

gx$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>
b()
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(wv<? extends gw<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_)
private static <E> MappedRegistry<?>
f(wv<? extends gw<?>> 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(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>> arg0)
m_142664_(C_5264_<? extends C_4705_<? extends E>> arg0)