forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 72
SaveLocationSpell
JasperLorelai edited this page Jul 19, 2026
·
1 revision
spell-class: ".targeted.SaveLocationSpell"Important
Introduced in 4.0 Beta 19.
| Value | Supported |
|---|---|
entity |
false |
location |
true |
entity_from_location |
false |
Targeted location spell, which can store specific location properties in the player-caster's variables, such as: world, position, or rotation.
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 |
save_target_block:
spell-class: ".targeted.SaveLocationSpell"
helper-spell: true
variable-x: temp_x
variable-y: temp_y
variable-z: temp_z