Package net.minecraft.registry.tag
Class TagPacketSerializer
java.lang.Object
net.minecraft.registry.tag.TagPacketSerializer
- Mappings:
Namespace Name official aqk
intermediary net/minecraft/class_6864
named net/minecraft/registry/tag/TagPacketSerializer
-
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 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
(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 official a
Laqk;a(Lhl;)Ljava/util/Map;
intermediary method_40105
Lnet/minecraft/class_6864;method_40105(Lnet/minecraft/class_7780;)Ljava/util/Map;
named serializeTags
Lnet/minecraft/registry/tag/TagPacketSerializer;serializeTags(Lnet/minecraft/registry/CombinedDynamicRegistries;)Ljava/util/Map;
-
serializeTags
- Mappings:
Namespace Name Mixin selector official a
Laqk;a(Lhq;)Laqk$a;
intermediary method_40102
Lnet/minecraft/class_6864;method_40102(Lnet/minecraft/class_2378;)Lnet/minecraft/class_6864$class_5748;
named serializeTags
Lnet/minecraft/registry/tag/TagPacketSerializer;serializeTags(Lnet/minecraft/registry/Registry;)Lnet/minecraft/registry/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
Laqk;a(Laev;Lhq;Laqk$a;Laqk$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/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
-