firework
Launches a firework at the trigger location with configurable colors, shape, and effects.
Categories: visual
Optional arguments
| Key(s) | Description | Type | Default |
|---|---|---|---|
power | The flight duration of the firework (0–255). Defaults to 0. | INT | 0 |
effects | A list of firework effect subsections, each with type, colors, fade-colors, trail, and flicker. | DYNAMIC |
effects entries
| Key | Description | Type | Required |
|---|---|---|---|
type | The explosion shape: ball, ball_large, star, burst, creeper. Choices: ball, ball_large, star, burst, creeper | STRING_LIST | yes |
colors | The hex colors of the explosion. | STRING_LIST | no |
fade-colors | The hex colors the explosion fades to. | STRING_LIST | no |
trail | Whether the firework leaves a trail. | BOOLEAN | no |
flicker | Whether the explosion flickers. | BOOLEAN | no |
Trigger parameters required
LOCATION
Example
effects:
- id: firework
args:
power: 1 # ← Optional
effects:
- type: ball|ball_large|star|burst|creeper
colors: <value> # ← Optional
fade-colors: <value> # ← Optional
trail: <value> # ← Optional
flicker: <value> # ← Optional # ← Optional
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |