
After some time, the firework explodes into a colorful explosion based on the effects of the firework stars added upon crafting, or no explosion if no firework star was used. In Bedrock and Java editions, fireworks can fly in any of the 6 directions a dispenser can point. Once launched, fireworks fly out vertically, with random horizontal offset up to 5 blocks. Attempting to do this in Bedrock Edition, however, results in the firework passing through the entity, so the player must plan where to aim. In Java Edition, if a firework rocket shot from a crossbow hits an entity, the rocket instantly explodes, no matter the flight duration. The Piercing enchantment has no effect on firework rockets shot from a crossbow. A higher flight duration gives the firework rocket a longer range, and more damage is added per firework star. If the rocket is equipped with a firework star of any kind, the player takes damage when it explodes.Ī firework rocket can be used as ammunition for crossbows, although it deals damage only if it has an explosion effect. The duration of the speed boost depends on the flight duration of the rocket. Using a firework rocket while flying with elytra propels the player in the direction they are facing. If shot from a Multishot crossbow, then 3 rockets fire with the same effects. They can also be launched from dispensers and crossbows. To launch a firework rocket, use its item on a block. All firework stars explode almost simultaneously when the rocket detonates. Up to seven firework stars can be used by using firework stars instead of additional gunpowder. Up to five firework stars can also be used with three gunpowder. Adding more gunpowder increases the duration of the rocket.
