Package net.minecraft.registry
Class SerializableRegistries
java.lang.Object
net.minecraft.registry.SerializableRegistries
- Mappings:
Namespace Name named net/minecraft/registry/SerializableRegistries
intermediary net/minecraft/class_7782
official jz
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
forEachSyncedRegistry
(com.mojang.serialization.DynamicOps<NbtElement> nbtOps, DynamicRegistryManager registryManager, Set<VersionedIdentifier> knownPacks, BiConsumer<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.SerializedRegistryEntry>> callback) private static <T> void
serialize
(com.mojang.serialization.DynamicOps<NbtElement> nbtOps, RegistryLoader.Entry<T> entry, DynamicRegistryManager registryManager, Set<VersionedIdentifier> knownPacks, BiConsumer<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.SerializedRegistryEntry>> callback) private static Stream
<DynamicRegistryManager.Entry<?>> stream
(DynamicRegistryManager dynamicRegistryManager) static Stream
<DynamicRegistryManager.Entry<?>> streamDynamicEntries
(CombinedDynamicRegistries<ServerDynamicRegistryType> combinedRegistries) static Stream
<DynamicRegistryManager.Entry<?>> streamRegistryManagerEntries
(CombinedDynamicRegistries<ServerDynamicRegistryType> combinedRegistries)
-
Field Details
-
SYNCED_REGISTRIES
- Mappings:
Namespace Name Mixin selector named SYNCED_REGISTRIES
Lnet/minecraft/registry/SerializableRegistries;SYNCED_REGISTRIES:Ljava/util/Set;
intermediary field_48771
Lnet/minecraft/class_7782;field_48771:Ljava/util/Set;
official a
Ljz;a:Ljava/util/Set;
-
-
Constructor Details
-
SerializableRegistries
public SerializableRegistries()
-
-
Method Details
-
forEachSyncedRegistry
public static void forEachSyncedRegistry(com.mojang.serialization.DynamicOps<NbtElement> nbtOps, DynamicRegistryManager registryManager, Set<VersionedIdentifier> knownPacks, BiConsumer<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.SerializedRegistryEntry>> callback) - Mappings:
Namespace Name Mixin selector named forEachSyncedRegistry
Lnet/minecraft/registry/SerializableRegistries;forEachSyncedRegistry(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/registry/DynamicRegistryManager;Ljava/util/Set;Ljava/util/function/BiConsumer;)V
intermediary method_56598
Lnet/minecraft/class_7782;method_56598(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_5455;Ljava/util/Set;Ljava/util/function/BiConsumer;)V
official a
Ljz;a(Lcom/mojang/serialization/DynamicOps;Ljw;Ljava/util/Set;Ljava/util/function/BiConsumer;)V
-
serialize
private static <T> void serialize(com.mojang.serialization.DynamicOps<NbtElement> nbtOps, RegistryLoader.Entry<T> entry, DynamicRegistryManager registryManager, Set<VersionedIdentifier> knownPacks, BiConsumer<RegistryKey<? extends Registry<?>>, List<SerializableRegistries.SerializedRegistryEntry>> callback) - Mappings:
Namespace Name Mixin selector named serialize
Lnet/minecraft/registry/SerializableRegistries;serialize(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/registry/RegistryLoader$Entry;Lnet/minecraft/registry/DynamicRegistryManager;Ljava/util/Set;Ljava/util/function/BiConsumer;)V
intermediary method_56597
Lnet/minecraft/class_7782;method_56597(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_7655$class_7657;Lnet/minecraft/class_5455;Ljava/util/Set;Ljava/util/function/BiConsumer;)V
official a
Ljz;a(Lcom/mojang/serialization/DynamicOps;Lala$c;Ljw;Ljava/util/Set;Ljava/util/function/BiConsumer;)V
-
stream
private static Stream<DynamicRegistryManager.Entry<?>> stream(DynamicRegistryManager dynamicRegistryManager) - Mappings:
Namespace Name Mixin selector named stream
Lnet/minecraft/registry/SerializableRegistries;stream(Lnet/minecraft/registry/DynamicRegistryManager;)Ljava/util/stream/Stream;
intermediary method_45956
Lnet/minecraft/class_7782;method_45956(Lnet/minecraft/class_5455;)Ljava/util/stream/Stream;
official a
Ljz;a(Ljw;)Ljava/util/stream/Stream;
-
streamDynamicEntries
public static Stream<DynamicRegistryManager.Entry<?>> streamDynamicEntries(CombinedDynamicRegistries<ServerDynamicRegistryType> combinedRegistries) - Mappings:
Namespace Name Mixin selector named streamDynamicEntries
Lnet/minecraft/registry/SerializableRegistries;streamDynamicEntries(Lnet/minecraft/registry/CombinedDynamicRegistries;)Ljava/util/stream/Stream;
intermediary method_47449
Lnet/minecraft/class_7782;method_47449(Lnet/minecraft/class_7780;)Ljava/util/stream/Stream;
official a
Ljz;a(Ljp;)Ljava/util/stream/Stream;
-
streamRegistryManagerEntries
public static Stream<DynamicRegistryManager.Entry<?>> streamRegistryManagerEntries(CombinedDynamicRegistries<ServerDynamicRegistryType> combinedRegistries) - Mappings:
Namespace Name Mixin selector named streamRegistryManagerEntries
Lnet/minecraft/registry/SerializableRegistries;streamRegistryManagerEntries(Lnet/minecraft/registry/CombinedDynamicRegistries;)Ljava/util/stream/Stream;
intermediary method_45953
Lnet/minecraft/class_7782;method_45953(Lnet/minecraft/class_7780;)Ljava/util/stream/Stream;
official b
Ljz;b(Ljp;)Ljava/util/stream/Stream;
-