Package net.minecraft.registry.tag
Class TagPacketSerializer
java.lang.Object
net.minecraft.registry.tag.TagPacketSerializer
- Mappings:
Namespace Name named net/minecraft/registry/tag/TagPacketSerializer
intermediary net/minecraft/class_6864
official awx
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static final class
A serialization-friendly POJO representation of a registry entry list of tags. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static <T> void
loadTags
(RegistryKey<? extends Registry<T>> registryKey, Registry<T> registry, TagPacketSerializer.Serialized serialized, TagPacketSerializer.Loader<T> loader) static Map
<RegistryKey<? extends Registry<?>>, TagPacketSerializer.Serialized> serializeTags
(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistryManager) private static <T> TagPacketSerializer.Serialized
serializeTags
(Registry<T> registry)
-
Constructor Details
-
TagPacketSerializer
public TagPacketSerializer()
-
-
Method Details
-
serializeTags
public static Map<RegistryKey<? extends Registry<?>>,TagPacketSerializer.Serialized> serializeTags(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistryManager) - Mappings:
Namespace Name Mixin selector named serializeTags
Lnet/minecraft/registry/tag/TagPacketSerializer;serializeTags(Lnet/minecraft/registry/CombinedDynamicRegistries;)Ljava/util/Map;
intermediary method_40105
Lnet/minecraft/class_6864;method_40105(Lnet/minecraft/class_7780;)Ljava/util/Map;
official a
Lawx;a(Ljt;)Ljava/util/Map;
-
serializeTags
- Mappings:
Namespace Name Mixin selector named serializeTags
Lnet/minecraft/registry/tag/TagPacketSerializer;serializeTags(Lnet/minecraft/registry/Registry;)Lnet/minecraft/registry/tag/TagPacketSerializer$Serialized;
intermediary method_40102
Lnet/minecraft/class_6864;method_40102(Lnet/minecraft/class_2378;)Lnet/minecraft/class_6864$class_5748;
official a
Lawx;a(Ljz;)Lawx$a;
-
loadTags
static <T> void loadTags(RegistryKey<? extends Registry<T>> registryKey, Registry<T> registry, TagPacketSerializer.Serialized serialized, TagPacketSerializer.Loader<T> loader) - Mappings:
Namespace Name Mixin selector named loadTags
Lnet/minecraft/registry/tag/TagPacketSerializer;loadTags(Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/Registry;Lnet/minecraft/registry/tag/TagPacketSerializer$Serialized;Lnet/minecraft/registry/tag/TagPacketSerializer$Loader;)V
intermediary method_40106
Lnet/minecraft/class_6864;method_40106(Lnet/minecraft/class_5321;Lnet/minecraft/class_2378;Lnet/minecraft/class_6864$class_5748;Lnet/minecraft/class_6864$class_6865;)V
official a
Lawx;a(Lakq;Ljz;Lawx$a;Lawx$b;)V
-