Class ServerboundEditBookPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundEditBookPacket
- All Implemented Interfaces:
Packet<ServerGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate static final intprivate static final intprivate final intprivate static final int -
Constructor Summary
ConstructorsConstructorDescriptionServerboundEditBookPacket(int p_182749_, List<String> p_182750_, Optional<String> p_182751_) ServerboundEditBookPacket(FriendlyByteBuf p_179592_) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
Field Details
-
MAX_BYTES_PER_CHAR
public static final int MAX_BYTES_PER_CHAR- See Also:
-
TITLE_MAX_CHARS
private static final int TITLE_MAX_CHARS- See Also:
-
PAGE_MAX_CHARS
private static final int PAGE_MAX_CHARS- See Also:
-
MAX_PAGES_COUNT
private static final int MAX_PAGES_COUNT- See Also:
-
slot
private final int slot -
pages
-
title
-
-
Constructor Details
-
ServerboundEditBookPacket
-
ServerboundEditBookPacket
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ServerGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ServerGamePacketListener>
-
getPages
-
getTitle
-
getSlot
public int getSlot()
-