Firework Rocket
Type |
Manufactured items |
---|---|
Durability |
0 (one use) |
Renewable |
Yes |
Stackable |
Yes (64) |
Internal ID |
22 |
Network ID |
76 |
Entity ID |
See Data values |
First appearances |
See History |
Data value |
dec: 401 hex: 191 bin: 110010001 |
Name |
See Data values |
Firework rockets, or simply fireworks, are items and entities used to create decorative explosions, propel the elytra, and serve as ammunition for crossbows.[upcoming: JE 1.14 & BE 1.8]
Contents
Obtaining[edit]
In Java Edition, fireworks can only be obtained by crafting and commands, but as of 1.13, it can also be obtained by the creative inventory.
Crafting[edit]
Ingredients | Crafting recipe | Description |
---|---|---|
Paper + Gunpowder |
When crafted this way (without a firework star), the rocket will have no explosion effects. | |
Any Firework Star + Paper + Gunpowder |
Adding more gunpowder increases the duration of the rocket. Up to three gunpowder can be used. Up to five firework stars can also be used with three gunpowder. Up to seven firework stars can be used by using firework stars instead of additional gunpowder. All firework stars will go off simultaneously when the rocket detonates. |
Creative inventory[edit]
Five pre-made firework rockets are listed in the Creative inventory.[Legacy Console Edition only]
They are equivalent to the following rockets:
Crafting the firework star: | Adding a fade color: | Crafting the firework: | Preview |
---|---|---|---|
No fade color | ![]() | ||
No fade color | ![]() | ||
![]() | |||
![]() | |||
![]() |
Usage[edit]
Launching fireworks[edit]
To launch a firework rocket, use its item on a block. They can also be launched from dispensers.
Elytra[edit]
When you hold a firework rocket in your hand and are gliding with the elytra, using the firework rocket will boost the flying speed. If the rocket is equipped with a firework star of any kind, you will take 8 () damage or less (depending on the armor points). The duration or strength of the speed boost depends on the flight duration of the firework rocket.
Crossbow[edit]
A firework rocket can be used as ammunition for crossbows. However, if the firework rocket has no explosion effect, it deals no damage. A higher flight duration will give the firework rocket a longer range. When firework rockets shot from a crossbow hit an entity it instantly explodes, no matter the flight duration. More damage will be added per firework star.
Behavior[edit]
Once launched, fireworks will fly out vertically, with random horizontal offset up to 5 blocks. In the Bedrock Edition, fireworks can fly in any direction. After some time, the firework will explode into a colorful explosion based on the effects of the firework stars added upon crafting, or no explosion if no firework star was used. If multiple firework stars were added to the rocket upon crafting, they will all explode simultaneously.
The explosion of firework rockets deals 2.5 hearts of damage, per firework star. There is also a delay between detonation and the player hearing the sound, emulating real fireworks, but this sound travels much more slowly than in the real world.[1][2] The explosion of a firework can be seen 64 blocks away, regardless of its height.
Care should be taken during firework assembly so as not to exceed the (unmodded) particle limit of 16,384 with fireworks. If the limit is exceeded, the oldest particles are removed before displaying new ones, resulting in severely diminished firework quality / duration. At most a firework should have 3 trail stars, more than that could waste diamonds, firework stars, and other fireworks. Particle counts per star are:
Ball Type | Plain | Trail |
---|---|---|
Small | 98 | ~1300 |
Large | 387 | 4000+ |
Star | 122 | ~1600 |
Creeper | 266 | ~3500 |
Burst | 72 | ~930 |
Twinkle effect adds 2 particles to the count.
Like most other entities, they can be moved by water and explosions, and teleported via portals. They also cannot move through solid surfaced blocks, upon hitting one they will either move to a side or explode based on the duration. If a firework explodes under a block, its explosion will be flattened.
Duration and direction[edit]
Fireworks travel different heights based on the amount of gunpowder added. The number will be displayed as a tag on the item's tooltip with the description of "Flight Duration".
The height it rises is between 12 to 22 blocks with 1 gunpowder, 23 to 39 blocks with 2 gunpowder, and 40 to 60 blocks with 3 gunpowder. (Note: Using command blocks, firework rockets with higher durations will go much higher and keep accelerating with virtually no terminal velocity. If the duration is long enough, the firework rocket could reach heights of over 1000000 blocks and speeds of over 10000 m/s in a matter of minutes. Such fireworks with significant X and Z motions will speed up sideways exponentially and reach outside the world boundary in a matter of seconds.)
When spawned fireworks have a vertical speed of .05 and a random small X and Z speed (random value near zero with a standard deviation of .001). Each firework also determines its lifetime in ticks by 10 × (number of gunpowder + 1) + random value from 0 to 5 + random value from 0 to 6, after which it will explode. Each tick, the firework will accelerate horizontally by multiplying its X and Z velocities by 1.15, and vertically by adding a constant factor of .04.
Fireworks can be made to travel different directions by being dispensed or launched under flowing water. The firework's direction then rapidly arcs to the horizontal and the travel distance increases to a point further than the height.
Data values[edit]
ID[edit]
Firework Rocket | Name ID |
---|---|
Firework Rocket | firework_rocket
|
Firework Rocket | Name ID | Numeric ID |
---|---|---|
Item | fireworks
|
401 |
Entity | fireworks_rocket
|
72 |
Item data[edit]
- tag: The item's tag tag.
- Explosion: One of these may appear on a firework star.
- Flicker: 1 or 0 (true/false) - true if this explosion will have the Twinkle effect (glowstone dust). May be absent.
- Trail: 1 or 0 (true/false) - true if this explosion will have the Trail effect (diamond). May be absent.
- Type: The shape of this firework's explosion. 0 = Small Ball, 1 = Large Ball, 2 = Star-shaped, 3 = Creeper-shaped, 4 = Burst. Other values will be named "Unknown Shape" and render as Small Ball.
- Colors: Array of integer values corresponding to the primary colors of this firework's explosion. If custom color codes are used, the game will render it as "Custom" in the tooltip, but the proper color will be used in the explosion. Custom colors are integers in the same format as the color tag from Display Properties.
- FadeColors: Array of integer values corresponding to the fading colors of this firework's explosion. Same handling of custom colors as Colors. May be absent.
- Fireworks: One of these may appear on a firework rocket.
- Flight: Indicates the flight duration of the firework (equals the amount of gunpowder used in crafting the rocket). While this value can be anything from -128 to 127, values of -2 and under almost never detonate at all.
- Explosions: List of compounds representing each explosion this firework will cause.
- Same format as 'Explosion' compound on a firework star, as described above.
- Explosion: One of these may appear on a firework star.
Entity data[edit]
- Entity data
- Tags common to all entities see Template:Nbt inherit/entity/template
- Life: The number of ticks this fireworks rocket has been flying for.
- LifeTime: The number of ticks before this fireworks rocket explodes. This value is randomized when the firework is launched: ((Flight + 1) * 10 + random(0 to 5) + random(0 to 6))
- ShotAtAngle[upcoming: JE 1.14]: 1 if the firework was shot from a crossbow, 0 otherwise.[verify]
- FireworksItem: The crafted firework rocket.
- id: The id of the item, should be
minecraft:firework_rocket
. - Count: The item count, typically 1.
- tag: The tag tag.
- Fireworks: The firework rocket's item data.
- Flight: Indicates the flight duration of the firework (equals the amount of gunpowder used in crafting the rocket). While this value can be anything from -128 to 127, values of -2 and under almost never detonate at all.
- Explosions: List of compounds representing each explosion this firework will cause.
- Same format as 'Explosion' compound on a firework star, as described above.
- Fireworks: The firework rocket's item data.
- id: The id of the item, should be
Video[edit]
History[edit]
Java Edition | |||||
---|---|---|---|---|---|
November 24, 2012 | Jeb stated that there may be fireworks in Minecraft at the Future Updates with the Minecraft PC Team panel at MineCon 2012. | ||||
December 5, 2012 | Jeb released the first image of fireworks, along with the information that colors, fade, height, effects and shapes will be craftable. | ||||
1.4.6 | 12w49a | Added firework rockets. | |||
12w50a | Added sound and more effects to firework rockets. | ||||
1.10 | 16w20a | Firework rocket recipe now produces 3 rockets, rather than 1. | |||
1.11 | 16w32a | The entity ID is changed from FireworksRocketEntity to fireworks_rocket . | |||
1.11.1 | 16w50a | Firework rockets can now damage entities that are within their explosion radius. | |||
Firework rockets can now boost players while flying with an elytra. | |||||
1.13 | 17w47a | The ID has been changed from fireworks to firework_rocket .
| |||
The fade effects on fireworks can now be added by combining the firework star with dyes. | |||||
Prior to The Flattening, this item's numeral ID was 401. | |||||
pre5 | Entity ID changed to firework_rocket . | ||||
Upcoming Java Edition | |||||
1.14 | 18w43a | Fireworks can now be shot from crossbows. | |||
Bedrock Edition | |||||
1.2 | beta 1.2.0.2 | Added firework rockets. | |||
1.8 | beta 1.8.0.10 | Firework rockets can now be held in the off-hand and be shot from crossbows. | |||
Legacy Console Edition | |||||
TU19 | CU7 | 1.12 | Patch 1 | Patch s1 | Added firework rockets. |
TU46 | CU36 | 1.38 | Patch 15 | Updated crafting interface to allow crafting firework stars and fireworks. | |
TU53 | CU43 | 1.49 | Patch 23 | Patch s3 | Firework rockets can now boost players while flying with an elytra. |
Firework rockets now damage user if there is a firework star applicated to the firework rocket. | |||||
TU56 | CU47 | 1.55 | Patch 26 | Patch s6 | Firework rockets now produce 3 rockets upon crafting them instead of 1. |
Issues[edit]
Issues relating to "Firework Rocket" are maintained on the bug tracker. Report issues there.
Trivia[edit]
- Launching a rocket by hand on a wooden pressure plate will activate it. The same doesn't hold for stone pressure plates, or for a dispenser placing a rocket onto a wooden pressure plate.
- 2012 New Years is what inspired Jeb to add fireworks.[3]
- If you shoot a firework into a Nether portal, it will explode in the Nether.
Gallery[edit]
Jeb's first image of Fireworks, also showing that they can be shot from dispensers.
References[edit]
- ↑ “However, no sound effects for fireworks yet... but everything's implemented, so they can be added without doing a new snapshot” – @jeb_, December 7, 2012
- ↑ “Haha, @igblan , the speed of sound is 40 m/s, because the realistic speed of ~340 m/s didn't work well in Minecraft scale” – @jeb_, December 7, 2012
- ↑ “@SPvs_TheWorld New Year's Eve” – @jeb_, December 7, 2012