Skills

Skills Overview

How mechanics, targeters and conditions fit together.

Skills

A skill in MythicMobs is a single line of YAML with the shape:

- <mechanic>{<args>} <targeter> ?<condition> <modifier>

For example:

- damage{amount=5} @PlayersInRadius{r=10} ?height{h=0.5}

That line says:

  1. Mechanicdamage inflicts 5 damage.
  2. Targeter@PlayersInRadius{r=10} selects every player within 10 blocks.
  3. Condition?height{h=0.5} only runs if the target is within half a block vertically.

Browse the sidebar to see every available mechanic, targeter and condition. Each entry’s page also shows the universal options every skill of that kind inherits.

Generated from @Mythic* annotations in the MythicMobs source.