net.minecraft.core

public final class RegistryAccess$RegistryHolder

extends RegistryAccess

gn$b
net.minecraft.core.RegistryAccess$RegistryHolder
net.minecraft.class_5455$class_5457
net.minecraft.util.registry.DynamicRegistryManager$Impl
net.minecraft.util.registry.DynamicRegistries$Impl
net.minecraft.server.v1_16_R2.IRegistryCustom$Dimension

Field summary

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

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>
d()
makeNetworkCodec()
method_30546()
setupCodec()
func_243637_d()
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)
func_243628_a(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>
c(vj<? extends gm<E>> arg0)
getNetworkCodec(ResourceKey<? extends Registry<E>> arg0)
method_30547(class_5321<? extends class_2378<E>> arg0)
getDataResultForCodec(RegistryKey<? extends Registry<E>> registryRef)
func_243636_c(RegistryKey<? extends Registry<E>> arg0)
private static <E> MappedRegistry<?>
d(vj<? extends gm<?>> arg0)
createRegistry(ResourceKey<? extends Registry<?>> arg0)
method_30548(class_5321<? extends class_2378<?>> arg0)
createRegistry(RegistryKey<? extends Registry<?>> registryRef)
func_243638_d(RegistryKey<? extends Registry<?>> arg0)
public <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>> arg0)
func_230521_a_(RegistryKey<? extends Registry<E>> arg0)