runCommand
Creates a click event that runs the specified command when clicked.
Return
A McTextClickEvent instance with the "RUN_COMMAND" action and the provided command.
Parameters
command
The command to be executed.
Creates a click event that runs the specified command when clicked.
A McTextClickEvent instance with the "RUN_COMMAND" action and the provided command.
The command to be executed.