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 suintermediary net/minecraft/class_2795named net/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket
-
Field Summary
Fields Modifier and Type Field Description private BlockPosposprivate inttransactionId -
Constructor Summary
Constructors Constructor Description QueryBlockNbtC2SPacket()QueryBlockNbtC2SPacket(int transactionId, BlockPos pos) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)BlockPosgetPos()intgetTransactionId()voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
transactionId
private int transactionId- Mappings:
Namespace Name Mixin selector official aLsu;a:Iintermediary field_12762Lnet/minecraft/class_2795;field_12762:Inamed transactionIdLnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;transactionId:I
-
pos
- Mappings:
Namespace Name Mixin selector official bLsu;b:Lfx;intermediary field_12763Lnet/minecraft/class_2795;field_12763:Lnet/minecraft/class_2338;named posLnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;pos:Lnet/minecraft/util/math/BlockPos;
-
-
Constructor Details
-
QueryBlockNbtC2SPacket
public QueryBlockNbtC2SPacket() -
QueryBlockNbtC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Lsu;<init>(ILfx;)Vintermediary <init>Lnet/minecraft/class_2795;<init>(ILnet/minecraft/class_2338;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;<init>(ILnet/minecraft/util/math/BlockPos;)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLpa;a(Lnw;)Vintermediary method_11053Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLpa;b(Lnw;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLsu;a(Lss;)Vintermediary method_12095Lnet/minecraft/class_2795;method_12095(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getTransactionId
public int getTransactionId()- Mappings:
Namespace Name Mixin selector official bLsu;b()Iintermediary method_12096Lnet/minecraft/class_2795;method_12096()Inamed getTransactionIdLnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;getTransactionId()I
-
getPos
- Mappings:
Namespace Name Mixin selector official cLsu;c()Lfx;intermediary method_12094Lnet/minecraft/class_2795;method_12094()Lnet/minecraft/class_2338;named getPosLnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;getPos()Lnet/minecraft/util/math/BlockPos;
-