net.minecraft.network.protocol.game

public record ServerboundEditBookPacket

implements Packet<ServerGamePacketListener>

ahb
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
private final int
c
slot
comp_2285
slot
f_133997_
private final List<String>
d
pages
comp_2286
pages
f_182746_
private final Optional<String>
e
title
comp_2287
title
f_182747_
public static final int
a
MAX_BYTES_PER_CHAR
field_34038
field_34038
f_182742_
private static final int
f
TITLE_MAX_CHARS
field_34039
MAX_TITLE_LENGTH
f_182743_
private static final int
g
PAGE_MAX_CHARS
field_34040
MAX_PAGE_LENGTH
f_182744_
private static final int
h
MAX_PAGES_COUNT
field_34046
MAX_PAGES
f_182745_
public static final StreamCodec<FriendlyByteBuf, ServerboundEditBookPacket>
b
STREAM_CODEC
field_48193
CODEC
f_316818_

Constructor summary

ModifierConstructor
public (int pages, List<String> title, Optional<String> arg2)

Method summary

Modifier and TypeMethod
public PacketType<ServerboundEditBookPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_12236(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public int
b()
slot()
comp_2285()
slot()
f_133997_()
public List<String>
e()
pages()
comp_2286()
pages()
f_182746_()
public Optional<String>
f()
title()
comp_2287()
title()
f_182747_()