forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 72
EffectLib Cloud
JasperLorelai edited this page Jul 28, 2024
·
3 revisions
class: Cloud
This effect creates a puffy cloud.
Option | Default |
---|---|
type |
"repeating" |
period |
5 |
iterations |
50 |
Option | Description | Type | Default |
---|---|---|---|
cloudParticle |
The particle that is displayed for the cloud. | Particle | "cloud" |
cloudColor |
The color of the particle used for cloudParticle . |
Color | |
cloudSpeed |
The speed of the cloud particles. | Float | 0 |
cloudParticles |
The number of particles that are displayed for the cloud. | Integer | 50 |
cloudSize |
The size of the cloud in blocks. | Float | 0.7 |
mainParticle |
The particle that is displayed for the precipitation. | Particle | "water_drip" |
mainParticles |
The number of particles that are displayed for the precipitation. | Integer | 15 |
particleRadius |
The radius of the precipitation particles. | Float | cloudSize - 0.1 |
yOffset |
Offset of the effect from the location on the y-axis. | Double | 0.8 |
increaseHeight |
Whether the effect increases its height every iteration. | Boolean | true |
CloudExample:
spell-class: ".instant.DummySpell"
effects:
Effect1:
position: caster
effect: effectlib
effectlib:
class: CloudEffect
cloudParticle: CLOUD
cloudParticles: 50
cloudSpeed: 0
cloudSize: 0.7
mainParticle: WATER_DRIP
mainParticles: 15
particleRadius: 0.6
yOffset: 0.8
increaseHeight: true
type: REPEATING
period: 5
iterations: 50