Skip to content
JasperLorelai edited this page Nov 6, 2023 · 10 revisions

Source Code

spell-class: ".instant.FlightPathSpell"

Description:

A spell that makes the player mount an entity and travels to the specified location.

Configuration:

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

Option Description Type Default Supports expressions
speed The speed you travel at. Float 1.5 true
x The x position to travel to. Float 0 true
z The z position to travel to. Float 0 true
interval Interval between traveling. Integer 5 false
cruising-altitude The height the caster will fly to before flying toward the target position. Integer 150 true

Example:

flightpath:
    spell-class: ".instant.FlightPathSpell"
    cast-item: stick
    cooldown: 20
    x: 0 
    z: 0
    cruising-altitude: 150 
    speed: 1.5 
Clone this wiki locally