Class ServerboundEditBookPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundEditBookPacket
- All Implemented Interfaces:
- Packet<ServerGamePacketListener>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intprivate static final intprivate static final intprivate final intprivate static final int
- 
Constructor SummaryConstructorsConstructorDescriptionServerboundEditBookPacket(int p_182749_, List<String> p_182750_, Optional<String> p_182751_) ServerboundEditBookPacket(FriendlyByteBuf p_179592_) 
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
MAX_BYTES_PER_CHARpublic static final int MAX_BYTES_PER_CHAR- See Also:
 
- 
TITLE_MAX_CHARSprivate static final int TITLE_MAX_CHARS- See Also:
 
- 
PAGE_MAX_CHARSprivate static final int PAGE_MAX_CHARS- See Also:
 
- 
MAX_PAGES_COUNTprivate static final int MAX_PAGES_COUNT- See Also:
 
- 
slotprivate final int slot
- 
pages
- 
title
 
- 
- 
Constructor Details- 
ServerboundEditBookPacket
- 
ServerboundEditBookPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ServerGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ServerGamePacketListener>
 
- 
getPages
- 
getTitle
- 
getSlotpublic int getSlot()
 
-