Repository navigation
WindWalkSpell
JasperLorelai edited this page Oct 22, 2023
·
15 revisions
spell-class: ".buff.WindwalkSpell"This spell can be cast by/on all living entities.
This spell lets the caster fly through the air, which works the same as creative mode flying.
Buff spell Uses increment every 20 ticks - hardcoded.
| Option | Description | Default Value |
|---|---|---|
always-fly |
Since Beta 13. When true, the target of the spell cannot land. | false |
enable-max-y |
Since Beta 13. This fixes a bug where you could not set max-y to be below Y level 0. |
true |
fly-speed |
The speed the player flies. | 0.1 |
launch-speed |
If this is greater than zero, the caster will be thrown into the air upon casting the spell (and won't fall because they'll be flying). The bigger the number, the higher they'll go. | 1 |
max-y |
The maximum height y-value a player can fly. | 260 |
max-altitude |
The maximum altitude (blocks above ground) the player can fly. | 100 |
cancel-on-land |
Whether the wind walk effect is cancelled upon landing on the ground. | true |
Windwalk:
spell-class: ".buff.WindwalkSpell"
name: Windwalk
enabled: true
cast-item: stick
fly-speed: 0.1
launch-speed: 1
cancel-on-land: false
cancel-on-logout: true
cancel-on-teleport: true
duration: 10