Event trigger "Player right clicks block": a procedure using it starts when this happens in the game. It gives the procedure entity, world, x, y, z, direction, blockstate. The event can be canceled.
| Name | Type |
|---|---|
entity | entity |
world | world |
x | number |
y | number |
z | number |
direction | direction |
blockstate | blockstate |
entity.