类 BookUpdateC2SPacket

    • 字段详细资料

      • book

        private final ItemStack book
        Mappings:
        Namespace Name Mixin selector
        official a Ltt;a:Lbpr;
        intermediary field_12863 Lnet/minecraft/class_2820;field_12863:Lnet/minecraft/class_1799;
        named book Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;book:Lnet/minecraft/item/ItemStack;
      • signed

        private final boolean signed
        Mappings:
        Namespace Name Mixin selector
        official b Ltt;b:Z
        intermediary field_12864 Lnet/minecraft/class_2820;field_12864:Z
        named signed Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;signed:Z
      • slot

        private final int slot
        Mappings:
        Namespace Name Mixin selector
        official c Ltt;c:I
        intermediary field_26897 Lnet/minecraft/class_2820;field_26897:I
        named slot Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;slot:I
    • 构造器详细资料

      • BookUpdateC2SPacket

        public BookUpdateC2SPacket​(ItemStack book,
                                   boolean signed,
                                   int slot)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ltt;<init>(Lbpr;ZI)V
        intermediary <init> Lnet/minecraft/class_2820;<init>(Lnet/minecraft/class_1799;ZI)V
        named <init> Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;<init>(Lnet/minecraft/item/ItemStack;ZI)V
      • BookUpdateC2SPacket

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

      • write

        public void write​(PacketByteBuf buf)
        指定者:
        write 在接口中 Packet<ServerPlayPacketListener>
        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​(ServerPlayPacketListener serverPlayPacketListener)
        指定者:
        apply 在接口中 Packet<ServerPlayPacketListener>
        Mappings:
        Namespace Name Mixin selector
        official a Ltt;a(Lth;)V
        intermediary method_12236 Lnet/minecraft/class_2820;method_12236(Lnet/minecraft/class_2792;)V
        named apply Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
      • getBook

        public ItemStack getBook()
        Mappings:
        Namespace Name Mixin selector
        official b Ltt;b()Lbpr;
        intermediary method_12237 Lnet/minecraft/class_2820;method_12237()Lnet/minecraft/class_1799;
        named getBook Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;getBook()Lnet/minecraft/item/ItemStack;
      • wasSigned

        public boolean wasSigned()
        Mappings:
        Namespace Name Mixin selector
        official c Ltt;c()Z
        intermediary method_12238 Lnet/minecraft/class_2820;method_12238()Z
        named wasSigned Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;wasSigned()Z
      • getSlot

        public int getSlot()
        Mappings:
        Namespace Name Mixin selector
        official d Ltt;d()I
        intermediary method_12235 Lnet/minecraft/class_2820;method_12235()I
        named getSlot Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;getSlot()I