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 tf
intermediary net/minecraft/class_2820
named net/minecraft/network/packet/c2s/play/BookUpdateC2SPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BookUpdateC2SPacket()
BookUpdateC2SPacket(ItemStack book, boolean signed, int slot)
-
Method Summary
Modifier and Type Method Description void
apply(ServerPlayPacketListener serverPlayPacketListener)
ItemStack
getBook()
int
getSlot()
void
read(PacketByteBuf buf)
boolean
wasSigned()
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
book
- Mappings:
Namespace Name Mixin selector official a
Ltf;a:Lbnv;
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 boolean signed- Mappings:
Namespace Name Mixin selector official b
Ltf;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 int slot- Mappings:
Namespace Name Mixin selector official c
Ltf;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() -
BookUpdateC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Ltf;<init>(Lbnv;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
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ServerPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ServerPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)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
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Ltf;a(Lss;)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
- Mappings:
Namespace Name Mixin selector official b
Ltf;b()Lbnv;
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
Ltf;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
Ltf;d()I
intermediary method_12235
Lnet/minecraft/class_2820;method_12235()I
named getSlot
Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;getSlot()I
-