Square Effect - MomoPewpew/MagicSpells GitHub Wiki
Square Effect
Description: This effect creates a 2D square.
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 that are displayed. | Integer | 50 |
particleIncrease |
The amount to increase the particles per tick. | Integer | 0 |
radius |
The radius of this sphere or circle, in blocks. | Double | 0.6 |
radiusIncrease |
The amount to increase the radius per tick. | Double | 0 |
yOffset |
The y-offset of the square. | Double | 0 |
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 | 500 |
Example:
SquareExample:
spell-class: ".instant.DummySpell"
effects:
Effect1:
position: caster
effect: effectlib
effectlib:
class: SquareEffect
particle: FLAME
particles: 50
radius: 0.6
type: REPEATING
period: 1
iterations: 500