... | @@ -3,28 +3,36 @@ Creates a firework effect at the target. |
... | @@ -3,28 +3,36 @@ Creates a firework effect at the target. |
|
|
|
|
|
|
|
|
|
## Attributes
|
|
## Attributes
|
|
|
|
| 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 | 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 |
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
### Type Attribute
|
|
| ------ | ------ | ------ | ------ |
|
|
The type attribute's value can be one of the following
|
|
| type | t | The type of firework. See below for a list. | BALL |
|
|
- `BALL`
|
|
| duration | d | The flight duration of the firework. | 2 |
|
|
- `BALL_LARGE`
|
|
| flicker | f | Whether to add the flicker effect to the explosion. | false |
|
|
- `BURST`
|
|
| trail | tr | Whether to add the trail effect to the firework rocket. | false |
|
|
- `CREEPER`
|
|
| colors | c | The color of the firework explosion, in RGB or hex | 0,0,0 |
|
|
- `STAR`
|
|
| fadecolors | fc | The fade colors of the firework explosion, in RBG or hex | 0,0,0 |
|
|
|
|
|
|
### Colors Attribute
|
|
### Firework Types
|
|
|
|
- BALL
|
|
|
|
- BALL_LARGE
|
|
|
|
- BURST
|
|
|
|
- CREEPER
|
|
|
|
- STAR
|
|
|
|
|
|
|
|
### Firework Colors
|
|
|
|
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.
|
|
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
|
|
## Examples
|
|
```yaml
|
|
```yaml
|
|
Skills:
|
|
Skills:
|
|
- effect:firework{t=BALL;d=1;f=true;tr=true} @self ~onInteract
|
|
- effect:firework{t=BALL;d=1;f=true;tr=true} @self ~onInteract
|
|
``` |
|
```
|
|
\ No newline at end of file |
|
|
|
|
|
|
|
|
|
## Aliases
|
|
|
|
- [x] fireworks
|
|
|
|
- [x] effect:firework
|
|
|
|
- [x] effect:fireworks
|
|
|
|
- [x] e:firework |
|
|
|
\ No newline at end of file |