GripSpell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".targeted.GripSpell"
targeting
cast argument values:
Value | Supported |
---|---|
entity |
true |
location |
false |
entity_from_location |
true |
Description:
Teleports the targeted entity to your location.
Configuration:
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default |
---|---|---|---|
y-offset |
Height offset of the teleport location. (overrides relative-offset ) |
Double | 0 |
location-offset |
Forward offset of the teleport location. (overrides relative-offset ) |
Double | 0 |
check-ground |
Defines whether the spell should check ground while gripping the target. | Boolean | true |
relative-offset |
Relative offset of the teleport location. | Vector | "1,1,0" |
str-cant-grip |
Message sent to the caster when the target cannot be teleported. | Rich Text |
Example:
grip:
spell-class: ".targeted.GripSpell"
range: 100
can-target: players,nonplayers
relative-offset: 5,1,0
str-cant-grip: "Cant teleport your target there!"