clickEvent

Creates a custom click event with the specified action and value.

Return

A McTextClickEvent instance with the provided action and value.

Parameters

action

The type of action to perform when clicked.

value

The value associated with the action.