net.minecraft.network.protocol.game

public record ServerboundEditBookPacket

implements Packet<ServerGamePacketListener>

aha
net.minecraft.network.protocol.game.ServerboundEditBookPacket
net.minecraft.class_2820
net.minecraft.network.packet.c2s.play.BookUpdateC2SPacket
net.minecraft.network.protocol.game.PacketPlayInBEdit

Field summary

Modifier and TypeField
private final int
b
slot
comp_2285
slot
private final List<String>
c
pages
comp_2286
pages
private final Optional<String>
d
title
comp_2287
title
public static final StreamCodec<FriendlyByteBuf, ServerboundEditBookPacket>
a
STREAM_CODEC
field_48193
CODEC

Constructor summary

ModifierConstructor
public (int arg0, List<String> arg1, Optional<String> arg2)

Method summary

Modifier and TypeMethod
public PacketType<ServerboundEditBookPacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12236(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public int
b()
slot()
comp_2285()
slot()
public List<String>
e()
pages()
comp_2286()
pages()
public Optional<String>
f()
title()
comp_2287()
title()