Skip to content
JasperLorelai edited this page Nov 11, 2023 · 8 revisions

Source Code

spell-class: ".targeted.GripSpell"

Description:

Teleports the targeted entity to your location.

Configuration:

Since 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!"
Clone this wiki locally