Class NbtQueryResponseS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.NbtQueryResponseS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class NbtQueryResponseS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket
intermediary net/minecraft/class_2774
official afu
  • 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

      @Nullable private final @Nullable NbtCompound 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

      public NbtQueryResponseS2CPacket(int transactionId, @Nullable @Nullable NbtCompound nbt)
      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

      private NbtQueryResponseS2CPacket(PacketByteBuf buf)
      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

      private void write(PacketByteBuf buf)
      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

      public PacketType<NbtQueryResponseS2CPacket> getPacketId()
      Specified by:
      getPacketId in interface Packet<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

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<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

      @Nullable public @Nullable NbtCompound 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 interface Packet<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