Hover Text Builder
A builder for creating custom hoverable text components in Minecraft.
This class allows for creating text components with customizable hover text, click events, color, and formatting for use in Minecraft chat. It supports a variety of click actions (run command, suggest command, open URL, etc.) and also supports tooltips with multiple lines.
Parameters
The initial text to display in the message.
Functions
Appends additional text to the current text component.
Appends a formatted text component with additional hover text and click events.
Makes the text bold.
Sets the color of the text.
Sets the color of the text using RGB values.
Sets a click event that copies text to the clipboard when the text is clicked.
Sets the text that will be inserted when the text is clicked.
Makes the text italic.
Sets a click event that runs a command when the text is clicked.
Sets a click event that opens a URL when the text is clicked.
Resets the text to its default formatting.
Strikes through the text.
Sets a click event that suggests a command when the text is clicked.
Adds a tooltip that appears when hovering over the text.
Underlines the text.