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

Source Code

This spell extends its options from Instant Spell.

spell-class: ".LocationSpell"

Description:

The Location Spell casts another spell at a configured location. Rather than use the caster's position or where they are looking, this spell will always cast at the configured location and cannot be redirected.

Configuration:

Since 4.0 Beta 14 location supports dynamic values through string expressions.

Option Description Type Default
location The location at which the spell will be cast, written as worldname,x,y,z,yaw,pitch. yaw and pitch are optional. String "world,0,0,0"
spell The sub-spell to cast at the configured location. String

Example:

location:
  spell-class: ".LocationSpell"
  location: world,0,0,0
  spell: blink
Clone this wiki locally