Class TagQueryResponseS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.TagQueryResponseS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class TagQueryResponseS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official siintermediary net/minecraft/class_2774named net/minecraft/network/packet/s2c/play/TagQueryResponseS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private CompoundTagtagprivate inttransactionId -
Constructor Summary
Constructors Constructor Description TagQueryResponseS2CPacket()TagQueryResponseS2CPacket(int transactionId, CompoundTag tag) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)CompoundTaggetTag()intgetTransactionId()booleanisWritingErrorSkippable()Returns whether a throwable in writing of this packet allows the connection to simply skip the packet's sending than disconnecting.voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)
-
Field Details
-
transactionId
private int transactionId- Mappings:
Namespace Name Mixin selector official aLsi;a:Iintermediary field_12691Lnet/minecraft/class_2774;field_12691:Inamed transactionIdLnet/minecraft/network/packet/s2c/play/TagQueryResponseS2CPacket;transactionId:I
-
tag
- Mappings:
Namespace Name Mixin selector official bLsi;b:Lmq;intermediary field_12690Lnet/minecraft/class_2774;field_12690:Lnet/minecraft/class_2487;named tagLnet/minecraft/network/packet/s2c/play/TagQueryResponseS2CPacket;tag:Lnet/minecraft/nbt/CompoundTag;
-
-
Constructor Details
-
TagQueryResponseS2CPacket
public TagQueryResponseS2CPacket() -
TagQueryResponseS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lsi;<init>(ILmq;)Vintermediary <init>Lnet/minecraft/class_2774;<init>(ILnet/minecraft/class_2487;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/TagQueryResponseS2CPacket;<init>(ILnet/minecraft/nbt/CompoundTag;)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- 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<ClientPlayPacketListener>- 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<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLsi;a(Lpd;)Vintermediary method_11909Lnet/minecraft/class_2774;method_11909(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/TagQueryResponseS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getTransactionId
- Mappings:
Namespace Name Mixin selector official bLsi;b()Iintermediary method_11910Lnet/minecraft/class_2774;method_11910()Inamed getTransactionIdLnet/minecraft/network/packet/s2c/play/TagQueryResponseS2CPacket;getTransactionId()I
-
getTag
- Mappings:
Namespace Name Mixin selector official cLsi;c()Lmq;intermediary method_11911Lnet/minecraft/class_2774;method_11911()Lnet/minecraft/class_2487;named getTagLnet/minecraft/network/packet/s2c/play/TagQueryResponseS2CPacket;getTag()Lnet/minecraft/nbt/CompoundTag;
-
isWritingErrorSkippable
public boolean isWritingErrorSkippable()Returns whether a throwable in writing of this packet allows the connection to simply skip the packet's sending than disconnecting.- Specified by:
isWritingErrorSkippablein interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLpa;a()Zintermediary method_11051Lnet/minecraft/class_2596;method_11051()Znamed isWritingErrorSkippableLnet/minecraft/network/Packet;isWritingErrorSkippable()Z
-