forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 68
FlightPathSpell
JasperLorelai edited this page Nov 6, 2023
·
10 revisions
spell-class: ".instant.FlightPathSpell"
A spell that makes the player mount an entity and travels to the specified location.
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 |
flightpath:
spell-class: ".instant.FlightPathSpell"
cast-item: stick
cooldown: 20
x: 0
z: 0
cruising-altitude: 150
speed: 1.5