Class NbtQueryResponseS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.NbtQueryResponseS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official aflintermediary net/minecraft/class_2774named net/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket
-
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 official aLafl;a:Lys;intermediary field_48002Lnet/minecraft/class_2774;field_48002:Lnet/minecraft/class_9139;named CODECLnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
transactionId
private final int transactionId- Mappings:
Namespace Name Mixin selector official bLafl;b: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 cLafl;c:Lua;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>Lafl;<init>(ILua;)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>Lafl;<init>(Lvu;)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
- Mappings:
Namespace Name Mixin selector official aLafl;a(Lvu;)Vintermediary method_55947Lnet/minecraft/class_2774;method_55947(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getPacketId
- Specified by:
getPacketIdin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLzb;a()Lzd;intermediary method_55846Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;named getPacketIdLnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLafl;a(Labm;)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 bLafl;b()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 eLafl;e()Lua;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 cLzb;c()Zintermediary method_11051Lnet/minecraft/class_2596;method_11051()Znamed isWritingErrorSkippableLnet/minecraft/network/packet/Packet;isWritingErrorSkippable()Z
-