When a player right-clicks
Starts when a player right-clicks a block or the air, with the item in their hand.
A Minecraft element (starts a flow) in Starts when. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player right-clicks → If Item type is minecraft:compass → Open a menu: Warps.
Also called
right click, click, use, interact, use item
Works as a data pack?
Partly. A data pack does most of it, and the editor tells you the difference.
What it gives back
- Player
- Item in hand
- Item type
- Block
- Block type
- Location