Package net.minecraft.tag
Class TagPacketSerializer
java.lang.Object
net.minecraft.tag.TagPacketSerializer
- Mappings:
Namespace Name official aii
intermediary net/minecraft/class_6864
named net/minecraft/tag/TagPacketSerializer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static final class
A serialization-friendly POJO representation of ainvalid @linkplain
tag group
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <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
(DynamicRegistryManager 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(DynamicRegistryManager dynamicRegistryManager) - Mappings:
Namespace Name Mixin selector official a
Laii;a(Lhc;)Ljava/util/Map;
intermediary method_40105
Lnet/minecraft/class_6864;method_40105(Lnet/minecraft/class_5455;)Ljava/util/Map;
named serializeTags
Lnet/minecraft/tag/TagPacketSerializer;serializeTags(Lnet/minecraft/util/registry/DynamicRegistryManager;)Ljava/util/Map;
-
serializeTags
- Mappings:
Namespace Name Mixin selector official a
Laii;a(Lhb;)Laii$a;
intermediary method_40102
Lnet/minecraft/class_6864;method_40102(Lnet/minecraft/class_2378;)Lnet/minecraft/class_6864$class_5748;
named serializeTags
Lnet/minecraft/tag/TagPacketSerializer;serializeTags(Lnet/minecraft/util/registry/Registry;)Lnet/minecraft/tag/TagPacketSerializer$Serialized;
-
loadTags
public static <T> void loadTags(RegistryKey<? extends Registry<T>> registryKey, Registry<T> registry, TagPacketSerializer.Serialized serialized, TagPacketSerializer.Loader<T> loader) - Mappings:
Namespace Name Mixin selector official a
Laii;a(Lys;Lhb;Laii$a;Laii$b;)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
named loadTags
Lnet/minecraft/tag/TagPacketSerializer;loadTags(Lnet/minecraft/util/registry/RegistryKey;Lnet/minecraft/util/registry/Registry;Lnet/minecraft/tag/TagPacketSerializer$Serialized;Lnet/minecraft/tag/TagPacketSerializer$Loader;)V
-