Skip to content

WindGlide Spell

MomoPewpew edited this page Jul 28, 2023 · 11 revisions

Source Code

spell-class: ".buff.WindGlideSpell"

Targeting:

This spell can be cast by/on all living entities.

Description:

Elytra flight without visible elytra.

Buff spell Uses increment on interval.

Configuration:

Option Description Default Value
spell Sub-spell to be casted null
collision-spell Sub-spell to be casted when the caster collides with a block null
block-collision-dmg Should damage on block collision be disabled? true
cancel-on-collision Should the spell be cancelled on block collision? false
velocity How fast the player moves 20.0
height Whether or not the player sinks or rises 0.0
interval How many ticks until the spell and velocity is executed 4

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
Clone this wiki locally