1 2 3 4 5 6 7 8 9 10
use azalea_buf::McBuf; use azalea_chat::component::Component; use packet_macros::GamePacket; #[derive(Clone, Debug, McBuf, GamePacket)] pub struct ClientboundServerDataPacket { pub motd: Option<Component>, pub icon_base64: Option<String>, pub previews_chat: bool, }