1 2 3 4 5 6 7 8 9
use minecraft_net_proc::Packet; use crate::fields::types::TextComponent; Packet!(DisguisedChatMessage, 0x1E, { message: TextComponent, chat_type: VarInt, sender_name: TextComponent, target: PrefixedOptional<TextComponent>, });