Class QueryBlockNbtC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.QueryBlockNbtC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class QueryBlockNbtC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official tf
intermediary net/minecraft/class_2795
named net/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket
-
Field Summary
Fields Modifier and Type Field Description private BlockPos
pos
private int
transactionId
-
Constructor Summary
Constructors Constructor Description QueryBlockNbtC2SPacket(int transactionId, BlockPos pos)
QueryBlockNbtC2SPacket(PacketByteBuf buf)
-
Method Summary
Modifier and Type Method Description void
apply(ServerPlayPacketListener serverPlayPacketListener)
BlockPos
getPos()
int
getTransactionId()
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 final int transactionId- Mappings:
Namespace Name Mixin selector official a
Ltf;a:I
intermediary field_12762
Lnet/minecraft/class_2795;field_12762:I
named transactionId
Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;transactionId:I
-
pos
- Mappings:
Namespace Name Mixin selector official b
Ltf;b:Lfx;
intermediary field_12763
Lnet/minecraft/class_2795;field_12763:Lnet/minecraft/class_2338;
named pos
Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;pos:Lnet/minecraft/util/math/BlockPos;
-
-
Constructor Details
-
QueryBlockNbtC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Ltf;<init>(ILfx;)V
intermediary <init>
Lnet/minecraft/class_2795;<init>(ILnet/minecraft/class_2338;)V
named <init>
Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;<init>(ILnet/minecraft/util/math/BlockPos;)V
-
QueryBlockNbtC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Ltf;<init>(Lnx;)V
intermediary <init>
Lnet/minecraft/class_2795;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lpb;a(Lnx;)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
Ltf;a(Ltd;)V
intermediary method_12095
Lnet/minecraft/class_2795;method_12095(Lnet/minecraft/class_2792;)V
named apply
Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getTransactionId
public int getTransactionId()- Mappings:
Namespace Name Mixin selector official b
Ltf;b()I
intermediary method_12096
Lnet/minecraft/class_2795;method_12096()I
named getTransactionId
Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;getTransactionId()I
-
getPos
- Mappings:
Namespace Name Mixin selector official c
Ltf;c()Lfx;
intermediary method_12094
Lnet/minecraft/class_2795;method_12094()Lnet/minecraft/class_2338;
named getPos
Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;getPos()Lnet/minecraft/util/math/BlockPos;
-