Actions
Run commands when a tooltip is being shown.
Action configuration
preset-id:
content:
text:
- 'Looking at bedrock'
display:
theme: default-one-line
conditions:
conditions:
- lookingatblock{type=bedrock} true
# Actions are specified optionally here
actions:
# Action name and list of commands
right-click-block:
# A single "say hi" command that will be executed by the console
- say hi
Supported actions
Action
Description
Commands
CommandsExamples
Last updated