SaveLocationSpell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".targeted.SaveLocationSpell"
[!IMPORTANT] Introduced in 4.0 Beta 19.
targeting cast argument values:
| 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