forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 66
Firework Effect
JasperLorelai edited this page May 19, 2024
·
7 revisions
effect: fireworks
Plays a firework explosion.
Since 4.0 Beta 13 some of these options support dynamic values through numeric or string expressions.
Option | Description | Type | Default | Supports expressions |
---|---|---|---|---|
type |
Type of the firework: - 0 : ball - 1 : ball_large - 2 : star - 3 : creeper - 4 : burst
|
Integer | 0 |
true |
flight |
Defines how long in server ticks should the firework fly before exploding. | Integer | 0 |
true |
trail |
Defines if the firework should have a trail. | Boolean | false |
true |
flicker |
Defines if the firework should have a flicker. | Boolean | false |
true |
colors |
A list of hexadecimal colors for the explosion (example: ffffff,000000 ). |
String | FF0000 |
false |
fade-colors |
A list of hexadecimal colors for the after fading of the explosion (example: ffffff,000000 ). |
String | FF0000 |
false |
effects:
0:
position: caster
effect: fireworks
flicker: no
trail: no
colors: 0700D6
fade-colors: 28672