Firework Effect - TheComputerGeek2/MagicSpells GitHub Wiki
effect: fireworks
Description:
Plays a firework explosion.
Configuration:
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 |
Example:
effects:
0:
position: caster
effect: fireworks
flicker: no
trail: no
colors: 0700D6
fade-colors: 28672