Class NbtQueryResponseS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.NbtQueryResponseS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket
intermediary net/minecraft/class_2774
official afu
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, NbtQueryResponseS2CPacket> private final @Nullable NbtCompound
private final int
-
Constructor Summary
ModifierConstructorDescriptionNbtQueryResponseS2CPacket
(int transactionId, @Nullable NbtCompound nbt) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) getNbt()
int
boolean
Returns whether a throwable in writing of this packet allows the connection to simply skip the packet's sending than disconnecting.private 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.Packet
transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_48002
Lnet/minecraft/class_2774;field_48002:Lnet/minecraft/class_9139;
official a
Lafu;a:Lyx;
-
transactionId
private final int transactionId- Mappings:
Namespace Name Mixin selector named transactionId
Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;transactionId:I
intermediary field_12691
Lnet/minecraft/class_2774;field_12691:I
official b
Lafu;b:I
-
nbt
- Mappings:
Namespace Name Mixin selector named nbt
Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;nbt:Lnet/minecraft/nbt/NbtCompound;
intermediary field_12690
Lnet/minecraft/class_2774;field_12690:Lnet/minecraft/class_2487;
official c
Lafu;c:Lub;
-
-
Constructor Details
-
NbtQueryResponseS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;<init>(ILnet/minecraft/nbt/NbtCompound;)V
intermediary <init>
Lnet/minecraft/class_2774;<init>(ILnet/minecraft/class_2487;)V
official <init>
Lafu;<init>(ILub;)V
-
NbtQueryResponseS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2774;<init>(Lnet/minecraft/class_2540;)V
official <init>
Lafu;<init>(Lvw;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55947
Lnet/minecraft/class_2774;method_55947(Lnet/minecraft/class_2540;)V
official a
Lafu;a(Lvw;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Lzg;a()Lzi;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_11909
Lnet/minecraft/class_2774;method_11909(Lnet/minecraft/class_2602;)V
official a
Lafu;a(Labu;)V
-
getTransactionId
public int getTransactionId()- Mappings:
Namespace Name Mixin selector named getTransactionId
Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;getTransactionId()I
intermediary method_11910
Lnet/minecraft/class_2774;method_11910()I
official b
Lafu;b()I
-
getNbt
- Mappings:
Namespace Name Mixin selector named getNbt
Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;getNbt()Lnet/minecraft/nbt/NbtCompound;
intermediary method_11911
Lnet/minecraft/class_2774;method_11911()Lnet/minecraft/class_2487;
official e
Lafu;e()Lub;
-
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:
isWritingErrorSkippable
in 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 named isWritingErrorSkippable
Lnet/minecraft/network/packet/Packet;isWritingErrorSkippable()Z
intermediary method_11051
Lnet/minecraft/class_2596;method_11051()Z
official c
Lzg;c()Z
-