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 agi
-
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
Lagi;a:Lzn;
-
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
Lagi;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
Lagi;c:Lus;
-
-
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>
Lagi;<init>(ILus;)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>
Lagi;<init>(Lwm;)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
Lagi;a(Lwm;)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
Lzw;a()Lzy;
-
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
Lagi;a(Laci;)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
Lagi;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
Lagi;e()Lus;
-
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
Lzw;c()Z
-