Changes
Page history
Create Skills/Triggers/onInteract
authored
Oct 25, 2024
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
Skills/Triggers/onInteract.md
0 → 100644
View page @
8ecbfd9c
## Description
Executes the skill when a player interacts with, or
*right-clicks*
, the mob.
> The associated [@trigger](/Skills/Targeters/Trigger) is the player that interacted with the caster
## Examples
```
yml
EXAMPLE_MOB
:
Type
:
CHICKEN
Skills
:
# sends a message to all the players in the world
# when a player right-clicks the mob
-
message{m=INTERACTED} @World ~onInteract
```
\ No newline at end of file