EffectLib Image - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

class: Image

Description:

This effect displays an image's pixels as particles within your world.

Configuration:

This effect extends its options from Base Image.

Option Description Type Default
invert Defines whether to invert the image. Boolean false

Example:

Example:
    spell-class: ".instant.DummySpell"
    effects:
      Effect1:
        position: caster
        effect: effectlib
        effectlib:
          class: Image
          particle: REDSTONE
          fileName: plugins/MagicSpells/images/FILENAME
          isGif: false
          enableRotation: true
          stepY: 5
          stepX: 5
          size: 0.06
          iterations: 1
          color: 707070
          period: 9