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/NbtQueryResponseS2CPacketintermediary net/minecraft/class_2774official afu
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<PacketByteBuf, NbtQueryResponseS2CPacket> private final @Nullable NbtCompoundprivate final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionNbtQueryResponseS2CPacket(int transactionId, @Nullable NbtCompound nbt) private -
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.private 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
transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_48002Lnet/minecraft/class_2774;field_48002:Lnet/minecraft/class_9139;official aLafu;a:Lyx;
-
transactionId
private final int transactionId- Mappings:
Namespace Name Mixin selector named transactionIdLnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;transactionId:Iintermediary field_12691Lnet/minecraft/class_2774;field_12691:Iofficial bLafu;b:I
-
nbt
- Mappings:
Namespace Name Mixin selector named nbtLnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;nbt:Lnet/minecraft/nbt/NbtCompound;intermediary field_12690Lnet/minecraft/class_2774;field_12690:Lnet/minecraft/class_2487;official cLafu;c:Lub;
-
-
Constructor Details
-
NbtQueryResponseS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;<init>(ILnet/minecraft/nbt/NbtCompound;)Vintermediary <init>Lnet/minecraft/class_2774;<init>(ILnet/minecraft/class_2487;)Vofficial <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;)Vintermediary <init>Lnet/minecraft/class_2774;<init>(Lnet/minecraft/class_2540;)Vofficial <init>Lafu;<init>(Lvw;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_55947Lnet/minecraft/class_2774;method_55947(Lnet/minecraft/class_2540;)Vofficial aLafu;a(Lvw;)V
-
getPacketId
- Specified by:
getPacketIdin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector named getPacketIdLnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;intermediary method_55846Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;official aLzg;a()Lzi;
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)Vintermediary method_11909Lnet/minecraft/class_2774;method_11909(Lnet/minecraft/class_2602;)Vofficial aLafu;a(Labu;)V
-
getTransactionId
public int getTransactionId()- Mappings:
Namespace Name Mixin selector named getTransactionIdLnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;getTransactionId()Iintermediary method_11910Lnet/minecraft/class_2774;method_11910()Iofficial bLafu;b()I
-
getNbt
- Mappings:
Namespace Name Mixin selector named getNbtLnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;getNbt()Lnet/minecraft/nbt/NbtCompound;intermediary method_11911Lnet/minecraft/class_2774;method_11911()Lnet/minecraft/class_2487;official eLafu;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:
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 named isWritingErrorSkippableLnet/minecraft/network/packet/Packet;isWritingErrorSkippable()Zintermediary method_11051Lnet/minecraft/class_2596;method_11051()Zofficial cLzg;c()Z
-