MobGoalEditSpell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".targeted.MobGoalEditSpell"
[!WARNING] Introduced in 4.0 Beta 14.
targeting cast argument values:
| Value | Supported |
|---|---|
entity |
true |
location |
false |
entity_from_location |
false |
Description:
Modifies Mob Goals of an entity.
Configuration:
- You can find configuration info here.
- Only
remove-allsupports dynamic values through string expressions.
Example:
follow_me:
spell-class: ".targeted.MobGoalEditSpell"
always-granted: true
cast-item: stick
add:
- goal: path_to
priority: 1
data:
position:
x: "%var:meta_location_x%"
y: "%var:meta_location_y%"
z: "%var:meta_location_z%"