net.minecraft.network.protocol.game

public record ClientboundServerDataPacket

implements Packet<ClientGamePacketListener>

aem
net.minecraft.network.protocol.game.ClientboundServerDataPacket
net.minecraft.class_7495
net.minecraft.network.packet.s2c.play.ServerMetadataS2CPacket
net.minecraft.src.C_213533_
net.minecraft.network.protocol.game.ClientboundServerDataPacket

Field summary

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

Constructor summary

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

Method summary

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