Class TagQueryResponseS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.TagQueryResponseS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class TagQueryResponseS2CPacket
extends Object
implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
official si
intermediary net/minecraft/class_2774
named net/minecraft/network/packet/s2c/play/TagQueryResponseS2CPacket
  • Field Details

    • transactionId

      private int transactionId
      Mappings:
      Namespace Name Mixin selector
      official a Lsi;a:I
      intermediary field_12691 Lnet/minecraft/class_2774;field_12691:I
      named transactionId Lnet/minecraft/network/packet/s2c/play/TagQueryResponseS2CPacket;transactionId:I
    • tag

      @Nullable private CompoundTag tag
      Mappings:
      Namespace Name Mixin selector
      official b Lsi;b:Lmq;
      intermediary field_12690 Lnet/minecraft/class_2774;field_12690:Lnet/minecraft/class_2487;
      named tag Lnet/minecraft/network/packet/s2c/play/TagQueryResponseS2CPacket;tag:Lnet/minecraft/nbt/CompoundTag;
  • Constructor Details

    • TagQueryResponseS2CPacket

      public TagQueryResponseS2CPacket()
    • TagQueryResponseS2CPacket

      public TagQueryResponseS2CPacket​(int transactionId, @Nullable CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsi;<init>(ILmq;)V
      intermediary <init> Lnet/minecraft/class_2774;<init>(ILnet/minecraft/class_2487;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/TagQueryResponseS2CPacket;<init>(ILnet/minecraft/nbt/CompoundTag;)V
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lpa;b(Lnw;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply​(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lsi;a(Lpd;)V
      intermediary method_11909 Lnet/minecraft/class_2774;method_11909(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/TagQueryResponseS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getTransactionId

      @Environment(CLIENT) public int getTransactionId()
      Mappings:
      Namespace Name Mixin selector
      official b Lsi;b()I
      intermediary method_11910 Lnet/minecraft/class_2774;method_11910()I
      named getTransactionId Lnet/minecraft/network/packet/s2c/play/TagQueryResponseS2CPacket;getTransactionId()I
    • getTag

      Mappings:
      Namespace Name Mixin selector
      official c Lsi;c()Lmq;
      intermediary method_11911 Lnet/minecraft/class_2774;method_11911()Lnet/minecraft/class_2487;
      named getTag Lnet/minecraft/network/packet/s2c/play/TagQueryResponseS2CPacket;getTag()Lnet/minecraft/nbt/CompoundTag;
    • isWritingErrorSkippable

      public boolean isWritingErrorSkippable()
      Returns whether a throwable in writing of this packet allows the connection to simply skip the packet's sending than disconnecting.
      Specified by:
      isWritingErrorSkippable in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a()Z
      intermediary method_11051 Lnet/minecraft/class_2596;method_11051()Z
      named isWritingErrorSkippable Lnet/minecraft/network/Packet;isWritingErrorSkippable()Z