Package net.minecraft.core
Class RegistrySynchronization
java.lang.Object
net.minecraft.core.RegistrySynchronization
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stream
<RegistryAccess.RegistryEntry<?>> networkedRegistries
(LayeredRegistryAccess<RegistryLayer> p_259290_) static Stream
<RegistryAccess.RegistryEntry<?>> networkSafeRegistries
(LayeredRegistryAccess<RegistryLayer> p_249066_) private static Stream
<RegistryAccess.RegistryEntry<?>> ownedNetworkableRegistries
(RegistryAccess p_251842_) static void
packRegistries
(com.mojang.serialization.DynamicOps<Tag> p_330752_, RegistryAccess p_332359_, Set<KnownPack> p_331327_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_335166_) private static <T> void
packRegistry
(com.mojang.serialization.DynamicOps<Tag> p_328835_, RegistryDataLoader.RegistryData<T> p_329218_, RegistryAccess p_335981_, Set<KnownPack> p_330196_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_330046_)
-
Field Details
-
NETWORKABLE_REGISTRIES
-
-
Constructor Details
-
RegistrySynchronization
public RegistrySynchronization()
-
-
Method Details
-
packRegistries
public static void packRegistries(com.mojang.serialization.DynamicOps<Tag> p_330752_, RegistryAccess p_332359_, Set<KnownPack> p_331327_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_335166_) -
packRegistry
private static <T> void packRegistry(com.mojang.serialization.DynamicOps<Tag> p_328835_, RegistryDataLoader.RegistryData<T> p_329218_, RegistryAccess p_335981_, Set<KnownPack> p_330196_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_330046_) -
ownedNetworkableRegistries
private static Stream<RegistryAccess.RegistryEntry<?>> ownedNetworkableRegistries(RegistryAccess p_251842_) -
networkedRegistries
public static Stream<RegistryAccess.RegistryEntry<?>> networkedRegistries(LayeredRegistryAccess<RegistryLayer> p_259290_) -
networkSafeRegistries
public static Stream<RegistryAccess.RegistryEntry<?>> networkSafeRegistries(LayeredRegistryAccess<RegistryLayer> p_249066_)
-