WindGlideSpell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".buff.WindGlideSpell"
Spell Effect Positions:
special
- Plays the effect at the caster's location oninterval
.
Targeting:
This spell can be cast by/on all living entities.
Description:
Elytra flight without visible elytra.
Buff Uses:
Buff spell Uses increment on interval
.
Configuration:
Since 4.0 Beta 13 some of these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default | Supports Expressions |
---|---|---|---|---|
spell |
Sub-spell to be casted | String | false |
|
collision-spell |
Sub-spell to be casted when the caster collides with a block | String | false |
|
block-collision-dmg |
Should damage on block collision be disabled? | Boolean | true |
true |
cancel-on-collision |
Should the spell be cancelled on block collision? | Boolean | false |
true |
velocity |
How fast the player moves | Double | 20 |
true |
constant-velocity |
Since 4.0 Beta 13. Defines expression evaluation behaviour. | Boolean | true |
true |
height |
Whether or not the player sinks or rises | Double | 0 |
true |
constant-height |
Since 4.0 Beta 13. Defines expression evaluation behaviour. | Boolean | true |
true |
interval |
How many ticks until the spell and velocity is executed | Integer | 4 |
false |
Example:
Windglide:
spell-class: ".buff.WindglideSpell"
duration: 20
block-collision-dmg: true
cancel-on-collision: true
velocity: 10
height: 0
#spell: targetedspell1
#collision-spell: targetedspell2