When a player right-clicks an entity
Starts when a player right-clicks a mob, an animal or another entity.
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 an entity → If Entity type is minecraft:villager → Open a menu: Shop.
Also called
click mob, click entity, npc, interact entity, talk to
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
- Entity
- Entity type