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
named net/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket
intermediary net/minecraft/class_2822
official ahc
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48194 Lnet/minecraft/class_2822;field_48194:Lnet/minecraft/class_9139;
      official a Lahc;a:Lyx;
    • transactionId

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

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

    • QueryEntityNbtC2SPacket

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

      private QueryEntityNbtC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2822;<init>(Lnet/minecraft/class_2540;)V
      official <init> Lahc;<init>(Lvw;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55975 Lnet/minecraft/class_2822;method_55975(Lnet/minecraft/class_2540;)V
      official a Lahc;a(Lvw;)V
    • getPacketId

      public PacketType<QueryEntityNbtC2SPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named getPacketId Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
      intermediary method_55846 Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
      official a Lzg;a()Lzi;
    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
      intermediary method_12243 Lnet/minecraft/class_2822;method_12243(Lnet/minecraft/class_2792;)V
      official a Lahc;a(Lagi;)V
    • getTransactionId

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

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