McTranslatableText
Represents a Minecraft translatable text component.
This class represents a text component that can be translated based on a localization key and optional arguments.
Parameters
The translation key used to look up the localized text.
An array of arguments to replace placeholders in the localized text.
Properties
The click event associated with this text component, if any.
The hover event associated with this text component, if any.
List of sibling text components that are displayed alongside this component.
List of text styles applied to this component.
Functions
Appends one or more text components to the list of siblings.
Appends a collection of text components to the list of siblings.
Sets the click event for this text component.
Sets the hover event for this text component.
Merges this text component with another text component, combining their styles, siblings, and events.
Applies one or more styles to this text component.
Applies a style to this text component.