EffectLib Colored Image - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

class: ColoredImage

Description:

This effect displays an image's pixels as particles within your world, coloring its particles with each pixel's color.

Configuration:

This effect extends its options from Base Image.

Example:

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