Ondespawn

Description

Executes the skill when the mob despawns.

The associated @trigger is the caster itself

Examples

EXAMPLE_MOB:
  Type: CHICKEN
  Skills:
    # sends a message to all the players in the world
    # when the mob despawns
    - message{m=DESPAWNED} @World ~onDespawn

Aliases

  • onDespawned
Updated Aug 19, 2026