Firework Rocket

Firework rockets are items which, when activated, create colorful explosions. The color, fade, shape and effect of the explosion are determined by what ingredients are used to create the firework star - one of the ingredients used to create a rocket. However, a firework rocket can be crafted without a firework star. When this happens, it will only have a rocket trail, with no colorful explosion. The height of a rocket can be altered by adding up to 3 gunpowder to the rocket recipe. This increases the flight duration by 1 per gunpowder. Multiple firework stars can also be used, in which case each one will go off simultaneously when the rocket detonates. Firework rockets can be activated by right-clicking any block with them, or they can be fired out of dispensers. The fireworks are customizable in colors, shapes, and height. Their flight path is random and sometimes are offset up to 5 blocks to the side, they also tend to spiral up. Fireworks are also affected by gravity. Their motion can be changed with TNT or flowing water.

There is 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. Jeb mentioned on Twitter that fireworks may have effects on mobs, such as scaring wolves. There is a bug that, if the firework's explosion is in front of water or ice, the water and/or ice will become invisible for a fraction of a second. There is also another bug, that when you set off a normal firework rocket (No fire stars or such) your game will go to an end of stream page.

If a rocket's path is hindered by any solid block it will do one of three things: stay under the block as if caught there until it explodes (more likely to happen if the firework has a shorter flight duration), explode upon contact (if this happens the explosion will appear above the block, even though the rocket did not go above it, unless there are more than one block), or stay under the block for a few seconds then fly off more to the side (more likely to happen with longer duration). If a rocket with any kind of explosion ingredient detonates under a block, the explosion pattern will appear flattened against the ground in a wide, disc-like fashion.

Crafting
When the rocket is launched in lava, the rocket will catch fire until the rocket explodes. When launched in fire, the rocket will briefly catch, but will extinguish quickly. Although, lava does not seem to change the motion of the rocket unlike water; neither does fire. Fireworks can explode over the 256 block height limit. Firework rockets can also travel through nether portals if fired inside a nether portal, they will stay at the top of the portal unable to go higher then go through the portal. A rocket will not be visible under a cloud when it explodes.

Duration
When the item is hovered over in the inventory it displays the flight duration (e.g. "Flight Duration: 1").

Rough distance (in blocks) that the rocket travels depending on the flight duration.
 * 1 gunpowder: 12-21 blocks
 * 2 gunpowder: 23-38 blocks
 * 3 gunpowder: 40-57 blocks with a few exploding at 35 and 36 blocks.

Results obtained by 576 fireworks per type being set off. Using small balled and red firework stars.

Shape effects
A firework can only have one shape effect for each firework star used in the recipe. A combination of firework stars can be used on the same firework rocket when crafting.

Additional effects
In addition to the shape effects, you may add either or both of these additional effects.(Place one or both of them anywhere during the making of the Firework Star.)