EffectLib Arc - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

class: Arc

Description:

This effect creates an arc that extends from the source location to the target location.

Configuration:

Overridden:

Option Default
type "repeating"
particle "flame"
period 1
iterations 200

Other:

Option Description Type Default
particles The number of particles that are displayed. Integer 100
height The height of the arc in blocks. Float 2

Example:

AnimatedBallExample:
    spell-class: ".instant.DummySpell"
    effects:
      Effect1:
        position: caster
        effect: effectlib 
        effectlib:
            class: ArcEffect
            particle: FLAME
            particles: 100
            height: 2