Skip to content
JasperLorelai edited this page Jul 27, 2023 · 10 revisions

Source Code

spell-class: ".instant.FlightPathSpell"

Description:

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

Configuration Options:

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

Example:

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