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