Class QueryEntityNbtC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.QueryEntityNbtC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class QueryEntityNbtC2SPacket
extends Object
implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
official tg
intermediary net/minecraft/class_2822
named net/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket
  • Field Details

    • transactionId

      private int transactionId
      Mappings:
      Namespace Name Mixin selector
      official a Ltg;a:I
      intermediary field_12868 Lnet/minecraft/class_2822;field_12868:I
      named transactionId Lnet/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket;transactionId:I
    • entityId

      private int entityId
      Mappings:
      Namespace Name Mixin selector
      official b Ltg;b:I
      intermediary field_12867 Lnet/minecraft/class_2822;field_12867:I
      named entityId Lnet/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket;entityId:I
  • Constructor Details

    • QueryEntityNbtC2SPacket

      public QueryEntityNbtC2SPacket()
    • QueryEntityNbtC2SPacket

      @Environment(CLIENT) public QueryEntityNbtC2SPacket​(int transactionId, int entityId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ltg;<init>(II)V
      intermediary <init> Lnet/minecraft/class_2822;<init>(II)V
      named <init> Lnet/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket;<init>(II)V
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ServerPlayPacketListener>
      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<ServerPlayPacketListener>
      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​(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Ltg;a(Lss;)V
      intermediary method_12243 Lnet/minecraft/class_2822;method_12243(Lnet/minecraft/class_2792;)V
      named apply Lnet/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • getTransactionId

      public int getTransactionId()
      Mappings:
      Namespace Name Mixin selector
      official b Ltg;b()I
      intermediary method_12245 Lnet/minecraft/class_2822;method_12245()I
      named getTransactionId Lnet/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket;getTransactionId()I
    • getEntityId

      public int getEntityId()
      Mappings:
      Namespace Name Mixin selector
      official c Ltg;c()I
      intermediary method_12244 Lnet/minecraft/class_2822;method_12244()I
      named getEntityId Lnet/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket;getEntityId()I