Onchangetarget

Description

Executes the skill when the mob changes target.

REQUIRES ThreatTables to be enabled

Examples

EXAMPLE_MOB:
  Type: CHICKEN
  Modules:
    ThreatTable: true
  Skills:
    # sends a message to all the players in the world
    # when the mob's target changes
    - message{m=Target Changed} @World ~onChangeTarget

Aliases

  • onTargetChange
Updated Aug 19, 2026