chat
Component
: string | number | boolean | chatComponent[] | { text
: string; bold
?: boolean; clickEvent
?: {
action
: "open_url" |
"run_command" | "suggest_command" |
"change_page"; value
: string | number; };
color
?: minecraftTextColor;
extra
?: chatComponent[];
hoverEvent
?: { action
: "show_text";
value
: chatComponent; };
insertion
?: string;
italic
?: boolean;
obfuscated
?: boolean;
strikethrough
?: boolean;
underlined
?: boolean; } | { keybind
: keycode;
bold
?: boolean;
clickEvent
?: { action
: "open_url" |
"run_command" | "suggest_command" |
"change_page"; value
: string | number; };
color
?: minecraftTextColor;
extra
?: chatComponent[];
hoverEvent
?: { action
: "show_text";
value
: chatComponent; };
insertion
?: string;
italic
?: boolean;
obfuscated
?: boolean;
strikethrough
?: boolean;
underlined
?: boolean; } | { translate
: chatTranslate;
bold
?: boolean;
clickEvent
?: { action
: "open_url" |
"run_command" | "suggest_command" |
"change_page"; value
: string | number; };
color
?: minecraftTextColor;
extra
?: chatComponent[];
hoverEvent
?: { action
: "show_text";
value
: chatComponent; };
insertion
?: string;
italic
?: boolean;
obfuscated
?: boolean;
strikethrough
?: boolean;
underlined
?: boolean;
with
?: chatComponent[]; }