Onspawnorload

Description

Executes the skill when either ~onSpawn or ~onLoad would trigger.

Examples

EXAMPLE_MOB:
  Type: VILLAGER
  Skills:
    # sends a message to all the players in the world
    # when the mob spawns or when the mob is loaded after a server restart
    - message{m=SPAWNED! Or was i loaded?} @World ~onSpawnOrLoad
Updated Aug 19, 2026