Class BookUpdateC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.BookUpdateC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class BookUpdateC2SPacket extends Object implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
official tz
intermediary net/minecraft/class_2820
named net/minecraft/network/packet/c2s/play/BookUpdateC2SPacket
  • Field Details

    • book

      private final ItemStack book
      Mappings:
      Namespace Name Mixin selector
      official a Ltz;a:Lbqp;
      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 Ltz;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 Ltz;c:I
      intermediary field_26897 Lnet/minecraft/class_2820;field_26897:I
      named slot Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;slot:I
  • Constructor Details

    • BookUpdateC2SPacket

      public BookUpdateC2SPacket(ItemStack book, boolean signed, int slot)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ltz;<init>(Lbqp;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> Ltz;<init>(Log;)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
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Log;)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)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Ltz;a(Ltn;)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 Ltz;b()Lbqp;
      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 Ltz;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 Ltz;d()I
      intermediary method_12235 Lnet/minecraft/class_2820;method_12235()I
      named getSlot Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;getSlot()I