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

    • transactionId

      private final int transactionId
      Mappings:
      Namespace Name Mixin selector
      official a Lua;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 final int entityId
      Mappings:
      Namespace Name Mixin selector
      official b Lua;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(int transactionId, int entityId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lua;<init>(II)V
      intermediary <init> Lnet/minecraft/class_2822;<init>(II)V
      named <init> Lnet/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket;<init>(II)V
    • QueryEntityNbtC2SPacket

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

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Log;)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 Lua;a(Ltn;)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 Lua;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 Lua;c()I
      intermediary method_12244 Lnet/minecraft/class_2822;method_12244()I
      named getEntityId Lnet/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket;getEntityId()I