Skip to content
JasperLorelai edited this page May 19, 2024 · 5 revisions

Mixed:

With this version, you can use either the string-based or list-based target lists.

String based:

This version should contain target elements separated by a comma in a string/text form.

can-target: element1,element2,element3

List based:

This version should contain target elements in a YAML string list.

can-target:
    - element1
    - element2
    - element3
# same as
can-target: [element1,element2,element3]

Target elements:

  • self or caster
  • player or players
  • invisible or invisibles
  • nonplayer or nonplayers
  • monster or monsters
  • animal or animals
  • mount or mounts
  • rider, riders, passenger or passengers
  • castermount or selfmount
  • casterpassenger or selfpassenger
  • entitytarget or mobtarget
  • Entity Type
  • Game Mode - Since 4.0 Beta 14. When listed, players in that game mode will be valid targets for these spells. This does not change the behaviour of the player/players options, which still only allow players in adventure and survival.
Clone this wiki locally