Icon Effect - MomoPewpew/MagicSpells GitHub Wiki
Icon Effect
Description: This effect displays a single particle above the target.
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 |
yOffset |
The offset of the particle on the y-offset. | Integer | 2 |
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 | 4 |
iterations |
Number of times to repeat the effect. | Integer | 25 |
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