Class TagPacketSerializer

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

public class TagPacketSerializer extends Object
Mappings:
Namespace Name
official anm
intermediary net/minecraft/class_6864
named net/minecraft/registry/tag/TagPacketSerializer
  • 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 Lanm;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

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