Skip to content
JasperLorelai edited this page May 19, 2024 · 7 revisions

Source Code

spell-class: ".targeted.ShadowstepSpell"
Value Supported
entity true
location false
entity_from_location false

Description:

Teleports the caster to the target.

Configuration:

Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.

Option Description Type Default
yaw Modifies yaw of the location by the set value. Float 0
pitch Modifies pitch of the location by the set value. Float 0
distance Distance from the target. (overrides relative-offset) Double -1
relative-offset Relative offset applied at the target's location. Vector "-1,0,0"
str-no-landing-spot Message sent to the caster when there isn't a safe spot to teleport. Rich Text "Cannot shadowstep there."

Example:

Shadowstep: 
    spell-class: ".targeted.ShadowstepSpell"
    name: Shadowstep
    cast-item: stick
    cooldown: 15
    relative-offset: -1,0,0
    can-target: players,nonplayers
Clone this wiki locally