net.minecraft.network.protocol.game

public class ClientboundServerDataPacket

implements Packet<ClientGamePacketListener>

xw
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
a
motd
field_39387
description
f_237795_
private final Optional<byte[]>
b
iconBytes
field_42967
favicon
f_271248_
private final boolean
c
enforcesSecureChat
field_39920
secureChatEnforced
f_242954_

Constructor summary

ModifierConstructor
public (Component description, Optional<byte[]> favicon, boolean previewsChat)
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(ve arg0)
handle(ClientGamePacketListener arg0)
method_44131(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public Component
a()
getMotd()
method_44132()
getDescription()
m_271805_()
public Optional<byte[]>
c()
getIconBytes()
method_49398()
getFavicon()
m_271815_()
public boolean
d()
enforcesSecureChat()
method_45058()
isSecureChatEnforced()
m_242957_()