dec: 401 hex: 191 bin: 110010001
Obtaining[edit | edit source]
Fireworks can currently only be obtained by crafting. They are not listed in the creative inventory. In the console edition, 5 pre-made types are already listed in the creative inventory.
Crafting[edit | edit source]
|When crafted this way (without a firework star), the rocket will have no explosion effects.|
|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.|
Usage[edit | edit source]
To launch a firework rocket, use its item on a block. They can also be launched from dispensers.
Behavior[edit | edit source]
- See also: Firework Star#Effects
Once launched, fireworks will fly out vertically, with random horizontal offset up to 5 blocks. 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 is only aesthetic and has no effect on entities or blocks. 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.
Care should be taken during firework assembly so as not to exceed the (unmodded) particle limit of 4k 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:
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 | edit source]
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.)
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 | edit source]
As an item, firework rockets have an ID name of
minecraft:fireworks and an ID number of 401. As an entity, firework rockets have an entity ID of
FireworksRocketEntity and a network ID of 22.
- 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))
FireworksItem: The crafted Firework Rocket item.
tag: The 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.
Video[edit | edit source]
History[edit | edit source]
|November 24, 2012||Jeb stated that there may be fireworks in Minecraft at the Future Updates with the Minecraft PC Team 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.|
|TU19||CU7||1.12||Added firework rockets.|
Issues[edit | edit source]
Issues relating to “Firework Rocket” are maintained on the issue tracker. Report issues there.
Trivia[edit | edit source]
- On the console versions of the Creative menu, there are some pre-crafted Firework Rockets.
- Shooting a rocket into a cobweb causes it and the explosion particles to be slowed down, creating a colorful ball inside the web.
- Similar to the slowdown of cobwebs, it is possible to boost rockets with pistons and slime-blocks.
- If a rocket is launched next to a ladder, the "climbing ladder" sound will play as it goes up as if a player or mob were climbing the ladder.
- Launching a rocket by hand on a wooden pressure plate will activate it. The same doesn't hold for stone plates or when using dispensers.
- There are 20,846,397,359,932,200 unique rocket combinations.[Verify]
Gallery[edit | edit source]
Jeb's first image of Fireworks, also showing that they can be shot from dispensers.