net.minecraft.core

public class RegistrySynchronization

hu
net.minecraft.core.RegistrySynchronization
net.minecraft.class_7782
net.minecraft.registry.SerializableRegistries
net.minecraft.src.C_243577_
net.minecraft.core.RegistrySynchronization

Field summary

Modifier and TypeField
private static final Map<ResourceKey<? extends Registry<?>>, RegistrySynchronization$NetworkedRegistryData<?>>
b
NETWORKABLE_REGISTRIES
field_40588
REGISTRIES
f_244438_
public static final com.mojang.serialization.Codec<RegistryAccess>
a
NETWORK_CODEC
field_40587
CODEC
f_244380_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static <E> void
a(com.google.common.collect.ImmutableMap$Builder<aev<? extends hq<?>>, hu$a<?>> arg0, aev<? extends hq<E>> arg1, com.mojang.serialization.Codec<E> arg2)
put(com.google.common.collect.ImmutableMap$Builder<ResourceKey<? extends Registry<?>>, RegistrySynchronization$NetworkedRegistryData<?>> arg0, ResourceKey<? extends Registry<E>> arg1, com.mojang.serialization.Codec<E> arg2)
method_45951(com.google.common.collect.ImmutableMap$Builder<class_5321<? extends class_2378<?>>, class_7782$class_7783<?>> arg0, class_5321<? extends class_2378<E>> arg1, com.mojang.serialization.Codec<E> arg2)
add(com.google.common.collect.ImmutableMap$Builder<RegistryKey<? extends Registry<?>>, SerializableRegistries$Info<?>> builder, RegistryKey<? extends Registry<E>> key, com.mojang.serialization.Codec<E> networkCodec)
m_245912_(com.google.common.collect.ImmutableMap$Builder<C_5264_<? extends C_4705_<?>>, C_243577_$C_243601_<?>> p_251643_, C_5264_<? extends C_4705_<E>> p_249195_, com.mojang.serialization.Codec<E> p_249212_)
private static Stream<RegistryAccess$RegistryEntry<?>>
a(hr arg0)
ownedNetworkableRegistries(RegistryAccess arg0)
method_45956(class_5455 arg0)
stream(DynamicRegistryManager dynamicRegistryManager)
m_247199_(C_4706_ p_251842_)
private static <E> com.mojang.serialization.DataResult<? extends com.mojang.serialization.Codec<E>>
a(aev<? extends hq<E>> arg0)
getNetworkCodec(ResourceKey<? extends Registry<E>> arg0)
method_45949(class_5321<? extends class_2378<E>> arg0)
getNetworkCodec(RegistryKey<? extends Registry<E>> registryRef)
m_245699_(C_5264_<? extends C_4705_<E>> p_252190_)
private static <E> com.mojang.serialization.Codec<RegistryAccess>
a()
makeNetworkCodec()
method_45948()
createCodec()
m_247146_()
private static <K extends ResourceKey<? extends Registry<?>>, V extends Registry<?>> com.mojang.serialization.Codec<RegistryAccess>
a(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
captureMap(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
method_45952(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> arg0)
createDynamicRegistryManagerCodec(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> networkCodec)
m_245940_(com.mojang.serialization.codecs.UnboundedMapCodec<K, V> p_249934_)
public static Stream<RegistryAccess$RegistryEntry<?>>
a(hl<aff> arg0)
networkedRegistries(LayeredRegistryAccess<RegistryLayer> arg0)
method_47449(class_7780<class_7659> arg0)
streamDynamicEntries(CombinedDynamicRegistries<ServerDynamicRegistryType> combinedRegistries)
m_257599_(C_243514_<C_243564_> p_259290_)
public static Stream<RegistryAccess$RegistryEntry<?>>
b(hl<aff> arg0)
networkSafeRegistries(LayeredRegistryAccess<RegistryLayer> arg0)
method_45953(class_7780<class_7659> arg0)
streamRegistryManagerEntries(CombinedDynamicRegistries<ServerDynamicRegistryType> combinedRegistries)
m_245122_(C_243514_<C_243564_> p_249066_)