... | ... | @@ -3,28 +3,36 @@ Creates a firework effect at the target. |
|
|
|
|
|
|
|
|
## Attributes
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
|
| ------ | ------ | ------ | ------ |
|
|
|
| type | t | The type of firework. See below for a list. | BALL |
|
|
|
| duration | d | The flight duration of the firework. | 2 |
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| type | t | The Type of firework. See below for a list. | BALL |
|
|
|
| power | p, duration, d | The flight duration of the firework. | 2 |
|
|
|
| flicker | f | Whether to add the flicker effect to the explosion. | false |
|
|
|
| trail | tr | Whether to add the trail effect to the firework rocket. | false |
|
|
|
| colors | c | The color of the firework explosion, in RGB or hex | 0,0,0 |
|
|
|
| fadecolors | fc | The fade colors of the firework explosion, in RBG or hex | 0,0,0 |
|
|
|
| colors | color, c | The color of the firework explosion, in RGB or hex | #FFFFFF |
|
|
|
| fadecolors| fcolors, fc| The fade colors of the firework explosion, in RBG or hex | #FFFFFF |
|
|
|
|
|
|
### Firework Types
|
|
|
- BALL
|
|
|
- BALL_LARGE
|
|
|
- BURST
|
|
|
- CREEPER
|
|
|
- STAR
|
|
|
### Type Attribute
|
|
|
The type attribute's value can be one of the following
|
|
|
- `BALL`
|
|
|
- `BALL_LARGE`
|
|
|
- `BURST`
|
|
|
- `CREEPER`
|
|
|
- `STAR`
|
|
|
|
|
|
### Firework Colors
|
|
|
### Colors Attribute
|
|
|
It has been reported that the firework will display the opposite color than the one specified in the "color" output. If your firework effect seems to be having this problem, try to invert the color attribute.
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
```yaml
|
|
|
Skills:
|
|
|
- effect:firework{t=BALL;d=1;f=true;tr=true} @self ~onInteract
|
|
|
```
|
|
|
|
|
|
|
|
|
## Aliases
|
|
|
- [x] fireworks
|
|
|
- [x] effect:firework
|
|
|
- [x] effect:fireworks
|
|
|
- [x] e:firework |
|
|
\ No newline at end of file |