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 Summary
Fields Modifier and Type Field Description private int
entityId
private int
transactionId
-
Constructor Summary
Constructors Constructor Description QueryEntityNbtC2SPacket()
QueryEntityNbtC2SPacket(int transactionId, int entityId)
-
Method Summary
Modifier and Type Method Description void
apply(ServerPlayPacketListener serverPlayPacketListener)
int
getEntityId()
int
getTransactionId()
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
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
- 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
- Specified by:
read
in interfacePacket<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
- Specified by:
write
in interfacePacket<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
- Specified by:
apply
in interfacePacket<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
-