Skip to content

Flame Effect

AkitoBurrito edited this page Dec 27, 2022 · 1 revision

Flame Effect

Source Code

Description: This effect creates a flame-like aura.

Configuration:

Option Description Type Default Value
particle The name of the particle that is displayed. (uses different particle names compared to general MagicSpells). The list of these particles can be found here. String FLAME
particles The number of particles displayed in each row. Integer 10
type The type of effect used. The three types are DELAYED, INSTANT, and REPEATING. String REPEATING
period How long to wait, in ticks, between each iteration. Integer 1
iterations Number of times to repeat the effect. Integer 600

Example:

FlameExample:
    spell-class: ".instant.DummySpell"
    effects:
      Effect1:
        position: caster
        effect: effectlib 
        effectlib:
            class: FlameEffect
            particle: FLAME
            particles: 10
            type: REPEATING
            period: 1
            iterations: 600
Clone this wiki locally