forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 71
Particles Effect
AkitoBurrito edited this page Jan 17, 2023
·
30 revisions
Description: Plays a particle effect.
| Option | Description | Variable Type | Default Value |
|---|---|---|---|
particle-name |
the name of the particle that is displayed. List of particle names. | String | "" |
material |
Material to use for the particle - if that particle supports material (block, falling dust, item). | String | "" |
count |
The number of particles that are displayed in the effect. | Integer | 5 |
speed |
The speed of the particle | Double | 0.2 |
horiz-spread |
Defines how much the particle is spread horizontally. | Double | 0.2 |
vert-spread |
Defines how much the particle is spread vertically. | Double | 0.2 |
x-spread |
Defines x axis spread. | Double | 0.2 |
y-spread |
Defines y axis spread. | Double | 0.2 |
z-spread |
Defines z axis spread. | Double | 0.2 |
size |
Defines particle size (currently only supported by the redstone particle). | Double | 1 |
color |
Defines particle color. | String | #ff0000 |
force |
Whether to send the particle to players within an extended range and encourage their client to render it regardless of settings. | Boolean | False |
All particle names can be found at https://goo.gl/5mnajo.
lavabuff:
spell-class: ".buff.DummySpell"
duration: 10
effect-interval: 5
effects:
lava:
position: caster
effect: particles
particle-name: lava
horiz-spread: 0.3
vert-spread: 0.3
speed: 0.2
count: 8