Type alias textArrayComponent
text
Array
Component
: { color
: textColor;
modifiers
: textModifier[];
text
: string;
clickEvent
?: { action
: "open_url" |
"run_command" | "suggest_command" |
"change_page"; value
: string | number; };
hoverEvent
?: { action
: "show_text";
value
: textArrayComponent[]; };
insertion
?: string; } | { color
: textColor;
keybind
: keycode; modifiers
: textModifier[]; clickEvent
?: {
action
: "open_url" |
"run_command" | "suggest_command" |
"change_page"; value
: string | number; };
hoverEvent
?: { action
: "show_text";
value
: textArrayComponent[]; };
insertion
?: string; } | { color
: textColor;
modifiers
: textModifier[];
translate
: chatTranslate; with
: textArrayComponent[]; clickEvent
?: {
action
: "open_url" |
"run_command" | "suggest_command" |
"change_page"; value
: string | number; };
hoverEvent
?: { action
: "show_text";
value
: textArrayComponent[]; };
insertion
?: string; }