Firework Rocket

Firework rockets are items and entities which, when activated, create colorful explosions.

Crafting
The firework rocket is one of the few items in the game that cannot be taken directly out of a creative inventory.

Usage
To launch a firework rocket, its item on a block. They can also be launched from dispensers.

Behavior
Once launched, fireworks will fly out vertically, with random horizontal offset, and, after some time, explode into a colorful explosion. Explosion is only visual and has no effect on entities or blocks. Weather, being on fire or in liquids doesn't affect the rocket.

Like most other entities, they can be moved by water and explosions, and teleported via portals.

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:

Trivia

 * Shooting a rocket into a cobweb causes it to slow down as expected, and the explosion particles are slowed down too, creating a colorful ball inside the web.
 * 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.