Last updated
Each trigger section uses the same Context terminology as the Power Triggers index.
on-tickRuns periodically for a powered mob.
Entity roles
OWNER, SOURCE, SKILL, and TARGET are the powered mob. TICK is supplied.
Event-specific data
Supports interval, clamped to at least one tick.
on-target-tickRuns periodically while the powered mob has a target.
Entity roles
OWNER/SOURCE/SKILL are the mob; TARGET is its current target. TICK is supplied.
Event-specific data
Supports interval; does not fire without a target.
on-spawnRuns when powers are assigned to a mob.
Entity roles
All entity roles resolve to the powered mob; location is the mob location.
Event-specific data
This is power-assignment lifecycle, not every Bukkit spawn event.
Last updated