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 ve
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 Lve;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 Lve;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> Lve;<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> Lve;<init>(Lph;)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 Lql;a(Lph;)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 Lve;a(Lur;)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 Lve;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 Lve;c()I
      intermediary method_12244 Lnet/minecraft/class_2822;method_12244()I
      named getEntityId Lnet/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket;getEntityId()I