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_321796_, RegistryAccess p_321733_, Set<KnownPack> p_326143_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321539_) private static <T> void
packRegistry
(com.mojang.serialization.DynamicOps<Tag> p_321608_, RegistryDataLoader.RegistryData<T> p_321701_, RegistryAccess p_321717_, Set<KnownPack> p_326432_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321724_)
-
Field Details
-
NETWORKABLE_REGISTRIES
-
-
Constructor Details
-
RegistrySynchronization
public RegistrySynchronization()
-
-
Method Details
-
packRegistries
public static void packRegistries(com.mojang.serialization.DynamicOps<Tag> p_321796_, RegistryAccess p_321733_, Set<KnownPack> p_326143_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321539_) -
packRegistry
private static <T> void packRegistry(com.mojang.serialization.DynamicOps<Tag> p_321608_, RegistryDataLoader.RegistryData<T> p_321701_, RegistryAccess p_321717_, Set<KnownPack> p_326432_, BiConsumer<ResourceKey<? extends Registry<?>>, List<RegistrySynchronization.PackedRegistryEntry>> p_321724_) -
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_)
-