ClickAction
Namespace Mc.Scripting.Text · Kind enum
public enum ClickAction : intWhat happens when a player clicks a text component.
Members
Section titled “Members”| Name | Value | Description |
|---|---|---|
OpenUrl |
0 | Opens a URL (the client asks for confirmation). |
RunCommand |
1 | Runs a command as the player (the value includes the slash). |
SuggestCommand |
2 | Puts text into the chat box. |
CopyToClipboard |
3 | Copies the value to the clipboard. |
ChangePage |
4 | Changes the page of a book. |