Skip to content
Yeeta edited this page Dec 8, 2018 · 10 revisions

FlightPathSpell

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

Configuration Options:

Option Description Default Value
x The x position to travel to 0
y The y position to travel to 150
z The z position to travel to 0
cruising-altitude The height the caster will fly to before flying toward the target position. 150
speed The speed you travel at 1.5
mount If set, the caster will ride a mount for the flight. I wouldn't really rely on this. empty

Example:

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