EffectLib Icon - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

class: Icon

Description:

This effect displays a single particle above the target.

Configuration:

Overridden:

Option Default
type "repeating"
particle "villager_happy"
period 4
iterations 25

Other:

Option Description Type Default
yOffset The offset of the particle on the y-offset. Integer 2

Example:

IconExample:
    spell-class: ".instant.DummySpell"
    effects:
      Effect1:
        position: caster
        effect: effectlib 
        effectlib:
            class: IconEffect
            particle: FLAME
            yOffset: 2
            type: REPEATING
            period: 4
            iterations: 25