Text Component
Constructors
Creates a TextComponent from a string.
Creates a TextComponent from an existing ITextComponent.
Types
Functions
Sets the click action and value of the component. See TextComponent.setClickAction for possible click actions.
Sets the action to be performed when the component is clicked on. Possible actions include:
Sets the value to be used by the click action. See TextComponent.setClickAction for possible click actions.
Sets if the component is to be formatted
Sets the hover action and value of the component. See TextComponent.setHoverAction for possible hover actions.
Sets the action to be performed when the component is hovered over. Hover action is set to 'show_text' by default. Possible actions include:
Sets the value to be used by the hover action. See TextComponent.setHoverAction for possible hover actions.
Sets the components text string.