类 NbtQueryResponseS2CPacket

    • 字段详细资料

      • transactionId

        private final int transactionId
        Mappings:
        Namespace Name Mixin selector
        official a Lsx;a:I
        intermediary field_12691 Lnet/minecraft/class_2774;field_12691:I
        named transactionId Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;transactionId:I
      • nbt

        @Nullable
        private final @Nullable CompoundTag nbt
        Mappings:
        Namespace Name Mixin selector
        official b Lsx;b:Lmv;
        intermediary field_12690 Lnet/minecraft/class_2774;field_12690:Lnet/minecraft/class_2487;
        named nbt Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;nbt:Lnet/minecraft/nbt/CompoundTag;
    • 构造器详细资料

      • NbtQueryResponseS2CPacket

        public NbtQueryResponseS2CPacket​(int transactionId,
                                         @Nullable
                                         @Nullable CompoundTag nbt)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lsx;<init>(ILmv;)V
        intermediary <init> Lnet/minecraft/class_2774;<init>(ILnet/minecraft/class_2487;)V
        named <init> Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;<init>(ILnet/minecraft/nbt/CompoundTag;)V
      • NbtQueryResponseS2CPacket

        public NbtQueryResponseS2CPacket​(PacketByteBuf buf)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lsx;<init>(Lob;)V
        intermediary <init> Lnet/minecraft/class_2774;<init>(Lnet/minecraft/class_2540;)V
        named <init> Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
    • 方法详细资料

      • write

        public void write​(PacketByteBuf buf)
        指定者:
        write 在接口中 Packet<ClientPlayPacketListener>
        Mappings:
        Namespace Name Mixin selector
        official a Lpf;a(Lob;)V
        intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
        named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
      • apply

        public void apply​(ClientPlayPacketListener clientPlayPacketListener)
        指定者:
        apply 在接口中 Packet<ClientPlayPacketListener>
        Mappings:
        Namespace Name Mixin selector
        official a Lsx;a(Lpi;)V
        intermediary method_11909 Lnet/minecraft/class_2774;method_11909(Lnet/minecraft/class_2602;)V
        named apply Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      • getTransactionId

        public int getTransactionId()
        Mappings:
        Namespace Name Mixin selector
        official b Lsx;b()I
        intermediary method_11910 Lnet/minecraft/class_2774;method_11910()I
        named getTransactionId Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;getTransactionId()I
      • getNbt

        @Nullable
        public @Nullable CompoundTag getNbt()
        Mappings:
        Namespace Name Mixin selector
        official c Lsx;c()Lmv;
        intermediary method_11911 Lnet/minecraft/class_2774;method_11911()Lnet/minecraft/class_2487;
        named getNbt Lnet/minecraft/network/packet/s2c/play/NbtQueryResponseS2CPacket;getNbt()Lnet/minecraft/nbt/CompoundTag;
      • 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.
        指定者:
        isWritingErrorSkippable 在接口中 Packet<ClientPlayPacketListener>
        Mappings:
        Namespace Name Mixin selector
        official a Lpf;a()Z
        intermediary method_11051 Lnet/minecraft/class_2596;method_11051()Z
        named isWritingErrorSkippable Lnet/minecraft/network/Packet;isWritingErrorSkippable()Z