Class ServerboundEditBookPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundEditBookPacket
- All Implemented Interfaces:
Packet<ServerGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
private static final int
private static final int
private final int
private static final 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:
-
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:
write
in interfacePacket<ServerGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ServerGamePacketListener>
-
getPages
-
getTitle
-
getSlot
public int getSlot()
-