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 suintermediary net/minecraft/class_2774named net/minecraft/network/packet/s2c/play/TagQueryResponseS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private @Nullable CompoundTagtagprivate inttransactionId -
Constructor Summary
Constructors Constructor Description TagQueryResponseS2CPacket(int transactionId, @Nullable CompoundTag tag)TagQueryResponseS2CPacket(PacketByteBuf packetByteBuf) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)@Nullable CompoundTaggetTag()intgetTransactionId()booleanisWritingErrorSkippable()Returns whether a throwable in writing of this packet allows the connection to simply skip the packet's sending than disconnecting.voidwrite(PacketByteBuf buf)
-
Field Details
-
transactionId
private final int transactionId- Mappings:
Namespace Name Mixin selector official aLsu;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 bLsu;b:Lmr;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
- Mappings:
Namespace Name Mixin selector official <init>Lsu;<init>(ILmr;)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
-
TagQueryResponseS2CPacket
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLpb;a(Lnx;)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 aLsu;a(Lpe;)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 bLsu;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 cLsu;c()Lmr;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 aLpb;a()Zintermediary method_11051Lnet/minecraft/class_2596;method_11051()Znamed isWritingErrorSkippableLnet/minecraft/network/Packet;isWritingErrorSkippable()Z
-