Skip to content
JasperLorelai edited this page Jul 19, 2026 · 1 revision

Source Code

spell-class: ".targeted.SaveLocationSpell"

Important

Introduced in 4.0 Beta 19.

Value Supported
entity false
location true
entity_from_location false

Description:

Targeted location spell, which can store specific location properties in the player-caster's variables, such as: world, position, or rotation.

Configuration:

These options support dynamic values through numeric or string expressions.

Option Description
variable-world String Variable name
variable-[x,y,z,yaw,pitch] Numeric/String Variable name

Example:

save_target_block:
    spell-class: ".targeted.SaveLocationSpell"
    helper-spell: true
    variable-x: temp_x
    variable-y: temp_y
    variable-z: temp_z

Clone this wiki locally