forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 69
EffectLib Sphere
JasperLorelai edited this page Jan 13, 2024
·
2 revisions
class: Sphere
This effect creates a 3D Sphere.
Option | Default |
---|---|
type |
"repeating" |
particle |
"spell_mob" |
iterations |
500 |
period |
1 |
Option | Description | Type | Default |
---|---|---|---|
radius |
The radius of the sphere. | Double | 0.6 |
yOffset |
The offset of the sphere on the y-axis. | Double | 0 |
particles |
The number of particles to display. | Integer | 50 |
radiusIncrease |
The amount to increase the radius of the sphere per tick. | Double | 0 |
particleIncrease |
The amount to increase the number of particles per tick. | Integer | 0 |
SphereExample:
spell-class: ".instant.DummySpell"
effects:
Effect1:
position: caster
effect: effectlib
effectlib:
class: SphereEffect
particle: FLAME
radius: 0.6
yOffset: 0
particles: 50
radiusIncrease: 0
particleIncrease: 0
type: REPEATING
period: 1
iterations: 500