Class NbtQueryResponseS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.NbtQueryResponseS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official acuintermediary net/minecraft/class_2774named net/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ClientPlayPacketListener clientPlayPacketListener) getNbt()intbooleanReturns whether a throwable in writing of this packet allows the connection to simply skip the packet's sending than disconnecting.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.Packet
getNewNetworkState
-
Field Details
-
transactionId
private final int transactionId- Mappings:
Namespace Name Mixin selector official aLacu;a:Iintermediary field_12691Lnet/minecraft/class_2774;field_12691:Inamed transactionIdLnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;transactionId:I
-
nbt
- Mappings:
Namespace Name Mixin selector official bLacu;b:Lsl;intermediary field_12690Lnet/minecraft/class_2774;field_12690:Lnet/minecraft/class_2487;named nbtLnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;nbt:Lnet/minecraft/nbt/NbtCompound;
-
-
Constructor Details
-
NbtQueryResponseS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lacu;<init>(ILsl;)Vintermediary <init>Lnet/minecraft/class_2774;<init>(ILnet/minecraft/class_2487;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;<init>(ILnet/minecraft/nbt/NbtCompound;)V
-
NbtQueryResponseS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lacu;<init>(Lug;)Vintermediary <init>Lnet/minecraft/class_2774;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLxd;a(Lug;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLacu;a(Lyx;)Vintermediary method_11909Lnet/minecraft/class_2774;method_11909(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getTransactionId
public int getTransactionId()- Mappings:
Namespace Name Mixin selector official aLacu;a()Iintermediary method_11910Lnet/minecraft/class_2774;method_11910()Inamed getTransactionIdLnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;getTransactionId()I
-
getNbt
- Mappings:
Namespace Name Mixin selector official dLacu;d()Lsl;intermediary method_11911Lnet/minecraft/class_2774;method_11911()Lnet/minecraft/class_2487;named getNbtLnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;getNbt()Lnet/minecraft/nbt/NbtCompound;
-
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>- Returns:
- whether a throwable in writing of this packet allows the connection to simply skip the packet's sending than disconnecting
- Mappings:
Namespace Name Mixin selector official bLxd;b()Zintermediary method_11051Lnet/minecraft/class_2596;method_11051()Znamed isWritingErrorSkippableLnet/minecraft/network/packet/Packet;isWritingErrorSkippable()Z
-