Class TagPacketSerializer

java.lang.Object
net.minecraft.tag.TagPacketSerializer

public class TagPacketSerializer extends Object
Mappings:
Namespace Name
official alc
intermediary net/minecraft/class_6864
named net/minecraft/tag/TagPacketSerializer
  • 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 Lalc;a(Lhn;)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

      private static <T> TagPacketSerializer.Serialized serializeTags(Registry<T> registry)
      Mappings:
      Namespace Name Mixin selector
      official a Lalc;a(Lhm;)Lalc$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 Lalc;a(Laba;Lhm;Lalc$a;Lalc$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