Click
Specifies what action to run once the enclosed content has been clicked on; please note that not all actions are supported on all Minecraft versions.
Open URL
Overview
Opens the specified URL when clicking.
Suggest Command
Overview
Suggests the specified command within the player's chat-prompt.
Run Command
Overview
Executes the specified command using the player's client; some vanilla-commands block this action!
Copy To Clipboard
Overview
Copies the specified text to the player's system-clipboard.
Change Page
Overview
Changes the page of a book to the specified number; only works within books.
Open File
Overview
Opens a local file on the player's computer; this action has been discontinued and should not be used on modern versions of Minecraft (will be omitted as to avoid errors)!
Example
Simple Open-URL
Code-Blocks are only available within the browserValue Shorthand
For convenience, the Code-Blocks are only available within the browser attribute also supports a bound expression of arbitrary name.
Code-Blocks are only available within the browser