net.minecraft.network.protocol.game

public record ClientboundServerDataPacket

implements Packet<ClientGamePacketListener>

afo
net.minecraft.network.protocol.game.ClientboundServerDataPacket
net.minecraft.class_7495
net.minecraft.network.packet.s2c.play.ServerMetadataS2CPacket
net.minecraft.network.protocol.game.ClientboundServerDataPacket

Field summary

Modifier and TypeField
private final Component
b
motd
comp_2277
description
private final Optional<byte[]>
c
iconBytes
comp_2278
favicon
public static final StreamCodec<io.netty.buffer.ByteBuf, ClientboundServerDataPacket>
a
STREAM_CODEC
field_47966
CODEC

Constructor summary

ModifierConstructor
public (Component arg0, Optional<byte[]> arg1)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundServerDataPacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_44131(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public Component
b()
motd()
comp_2277()
description()
public Optional<byte[]>
e()
iconBytes()
comp_2278()
favicon()