Class CEditBookPacket
java.lang.Object
net.minecraft.network.play.client.CEditBookPacket
- All Implemented Interfaces:
IPacket<IServerPlayNetHandler>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCEditBookPacket
(ItemStack p_i244520_1_, boolean p_i244520_2_, int p_i244520_3_) -
Method Summary
Modifier and TypeMethodDescriptiongetBook()
int
getSlot()
void
handle
(IServerPlayNetHandler p_148833_1_) boolean
void
read
(PacketBuffer p_148837_1_) void
write
(PacketBuffer p_148840_1_) 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.IPacket
isSkippable
-
Field Details
-
book
-
signing
private boolean signing -
slot
private int slot
-
-
Constructor Details
-
CEditBookPacket
public CEditBookPacket() -
CEditBookPacket
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IServerPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IServerPlayNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IServerPlayNetHandler>
-
getBook
-
isSigning
public boolean isSigning() -
getSlot
public int getSlot()
-