EffectLib Particle - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

class: Particle

Description:

This effect plays a single particle that can be instant, repeating, or delayed based on the type.

Configuration:

Overridden:

Option Default
type "repeating"
particle "villager_angry"
period 1
iterations 1

Example:

ParticleExample:
    spell-class: ".instant.DummySpell"
    effects:
      Effect1:
        position: caster
        effect: effectlib 
        effectlib:
            class: ParticleEffect
            particle: FLAME
            type: REPEATING
            period: 1
            iterations: 1