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 tfintermediary net/minecraft/class_2820named 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 voidapply(ServerPlayPacketListener serverPlayPacketListener)ItemStackgetBook()intgetSlot()voidread(PacketByteBuf buf)booleanwasSigned()voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
book
- Mappings:
Namespace Name Mixin selector official aLtf;a:Lbnv;intermediary field_12863Lnet/minecraft/class_2820;field_12863:Lnet/minecraft/class_1799;named bookLnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;book:Lnet/minecraft/item/ItemStack;
-
signed
private boolean signed- Mappings:
Namespace Name Mixin selector official bLtf;b:Zintermediary field_12864Lnet/minecraft/class_2820;field_12864:Znamed signedLnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;signed:Z
-
slot
private int slot- Mappings:
Namespace Name Mixin selector official cLtf;c:Iintermediary field_26897Lnet/minecraft/class_2820;field_26897:Inamed slotLnet/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)Vintermediary <init>Lnet/minecraft/class_2820;<init>(Lnet/minecraft/class_1799;ZI)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;<init>(Lnet/minecraft/item/ItemStack;ZI)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLpa;a(Lnw;)Vintermediary method_11053Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLpa;b(Lnw;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLtf;a(Lss;)Vintermediary method_12236Lnet/minecraft/class_2820;method_12236(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getBook
- Mappings:
Namespace Name Mixin selector official bLtf;b()Lbnv;intermediary method_12237Lnet/minecraft/class_2820;method_12237()Lnet/minecraft/class_1799;named getBookLnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;getBook()Lnet/minecraft/item/ItemStack;
-
wasSigned
public boolean wasSigned()- Mappings:
Namespace Name Mixin selector official cLtf;c()Zintermediary method_12238Lnet/minecraft/class_2820;method_12238()Znamed wasSignedLnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;wasSigned()Z
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector official dLtf;d()Iintermediary method_12235Lnet/minecraft/class_2820;method_12235()Inamed getSlotLnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;getSlot()I
-