net.minecraft.network.protocol.game

public class ServerboundEditBookPacket

implements Packet<ServerGamePacketListener>

aae
net.minecraft.network.protocol.game.ServerboundEditBookPacket
net.minecraft.class_2820
net.minecraft.network.packet.c2s.play.BookUpdateC2SPacket
net.minecraft.src.C_5159_
net.minecraft.network.protocol.game.PacketPlayInBEdit

Field summary

Modifier and TypeField
public static final int
a
MAX_BYTES_PER_CHAR
field_34038
field_34038
f_182742_
private static final int
b
TITLE_MAX_CHARS
field_34039
MAX_TITLE_LENGTH
f_182743_
private static final int
c
PAGE_MAX_CHARS
field_34040
MAX_PAGE_LENGTH
f_182744_
private static final int
d
MAX_PAGES_COUNT
field_34046
MAX_PAGES
f_182745_
private final int
e
slot
field_26897
slot
f_133997_
private final List<String>
f
pages
field_34041
pages
f_182746_
private final Optional<String>
g
title
field_34042
title
f_182747_

Constructor summary

ModifierConstructor
public (int slot, List<String> pages, Optional<String> title)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(ss arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(zo arg0)
handle(ServerGamePacketListener arg0)
method_12236(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public List<String>
a()
getPages()
method_37442()
getPages()
m_182755_()
public Optional<String>
c()
getTitle()
method_37445()
getTitle()
m_182761_()
public int
d()
getSlot()
method_12235()
getSlot()
m_134013_()