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 aym
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A serialization-friendly POJO representation of a registry entry list of tags. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Map
<RegistryKey<? extends Registry<?>>, TagPacketSerializer.Serialized> serializeTags
(CombinedDynamicRegistries<ServerDynamicRegistryType> dynamicRegistryManager) private static <T> TagPacketSerializer.Serialized
serializeTags
(Registry<T> registry) (package private) static <T> TagGroupLoader.RegistryTags
<T> toRegistryTags
(Registry<T> registry, TagPacketSerializer.Serialized tags)
-
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
Laym;a(Ljx;)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
Laym;a(Lkd;)Laym$a;
-
toRegistryTags
static <T> TagGroupLoader.RegistryTags<T> toRegistryTags(Registry<T> registry, TagPacketSerializer.Serialized tags) - Mappings:
Namespace Name Mixin selector named toRegistryTags
Lnet/minecraft/registry/tag/TagPacketSerializer;toRegistryTags(Lnet/minecraft/registry/Registry;Lnet/minecraft/registry/tag/TagPacketSerializer$Serialized;)Lnet/minecraft/registry/tag/TagGroupLoader$RegistryTags;
intermediary method_40106
Lnet/minecraft/class_6864;method_40106(Lnet/minecraft/class_2378;Lnet/minecraft/class_6864$class_5748;)Lnet/minecraft/class_3503$class_6863;
official a
Laym;a(Lkd;Laym$a;)Layl$c;
-