McTextClickEvent

Represents a Minecraft text click event.

This class defines actions that can be performed when a player clicks on a text component. It specifies the action to take and the associated value, such as opening a URL, running a command, or suggesting a command.

Parameters

action

The type of action to perform when the text is clicked.

value

The value associated with the action, such as a URL or command.

Types

Link copied to clipboard

Click event actions.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard