Class SynchronizeTagsS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.common.SynchronizeTagsS2CPacket
All Implemented Interfaces:
Packet<ClientCommonPacketListener>

public class SynchronizeTagsS2CPacket extends Object implements Packet<ClientCommonPacketListener>
Mappings:
Namespace Name
official xp
intermediary net/minecraft/class_2790
named net/minecraft/network/packet/s2c/common/SynchronizeTagsS2CPacket
  • Field Details

    • groups

      private final Map<RegistryKey<? extends Registry<?>>,TagPacketSerializer.Serialized> groups
      Mappings:
      Namespace Name Mixin selector
      official a Lxp;a:Ljava/util/Map;
      intermediary field_12757 Lnet/minecraft/class_2790;field_12757:Ljava/util/Map;
      named groups Lnet/minecraft/network/packet/s2c/common/SynchronizeTagsS2CPacket;groups:Ljava/util/Map;
  • Constructor Details

    • SynchronizeTagsS2CPacket

      public SynchronizeTagsS2CPacket(Map<RegistryKey<? extends Registry<?>>,TagPacketSerializer.Serialized> groups)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxp;<init>(Ljava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_2790;<init>(Ljava/util/Map;)V
      named <init> Lnet/minecraft/network/packet/s2c/common/SynchronizeTagsS2CPacket;<init>(Ljava/util/Map;)V
    • SynchronizeTagsS2CPacket

      public SynchronizeTagsS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lxp;<init>(Lui;)V
      intermediary <init> Lnet/minecraft/class_2790;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/common/SynchronizeTagsS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientCommonPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lxf;a(Lui;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ClientCommonPacketListener clientCommonPacketListener)
      Specified by:
      apply in interface Packet<ClientCommonPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lxp;a(Lxi;)V
      intermediary method_12001 Lnet/minecraft/class_2790;method_12001(Lnet/minecraft/class_8705;)V
      named apply Lnet/minecraft/network/packet/s2c/common/SynchronizeTagsS2CPacket;apply(Lnet/minecraft/network/listener/ClientCommonPacketListener;)V
    • getGroups

      public Map<RegistryKey<? extends Registry<?>>,TagPacketSerializer.Serialized> getGroups()
      Mappings:
      Namespace Name Mixin selector
      official a Lxp;a()Ljava/util/Map;
      intermediary method_12000 Lnet/minecraft/class_2790;method_12000()Ljava/util/Map;
      named getGroups Lnet/minecraft/network/packet/s2c/common/SynchronizeTagsS2CPacket;getGroups()Ljava/util/Map;