Class ServerboundEditBookPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundEditBookPacket
- All Implemented Interfaces:
Packet<ServerGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
private static int
private static int
private int
private static int
-
Constructor Summary
ConstructorDescriptionServerboundEditBookPacket(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, wait
Methods 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:
- Constant Field Values
-
TITLE_MAX_CHARS
private static final int TITLE_MAX_CHARS- See Also:
- Constant Field Values
-
PAGE_MAX_CHARS
private static final int PAGE_MAX_CHARS- See Also:
- Constant Field Values
-
MAX_PAGES_COUNT
private static final int MAX_PAGES_COUNT- See Also:
- Constant Field Values
-
slot
private final int slot -
pages
-
title
-
-
Constructor Details
-
ServerboundEditBookPacket
-
ServerboundEditBookPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ServerGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ServerGamePacketListener>
-
getPages
-
getTitle
-
getSlot
public int getSlot()
-