showText
Creates a hover event that displays the specified text when hovered.
Return
A McTextHoverEvent instance with the "SHOW_TEXT" action and the provided text component.
Parameters
text
The McTextComponent to be displayed when hovered.
Creates a hover event that displays the specified text when hovered.
A McTextHoverEvent instance with the "SHOW_TEXT" action and the provided text component.
The McTextComponent to be displayed when hovered.