Uses modern Minecraft item component syntax (1.20.5+). On older versions these need the legacy NBT tag format instead.

How to Use the Firework Rocket Generator

  1. Pick a target selector (defaults to @p, the nearest player).
  2. Choose a flight duration (1, 2, or 3 – higher launches higher and explodes later).
  3. Choose an explosion shape and pick a color with the color swatch.
  4. Toggle the trail effect on or off.
  5. Copy the generated /give command.

Syntax Reference

A firework rocket carries a fireworks item component holding a list of explosions plus a top-level flight_duration:

/give @p minecraft:firework_rocket[fireworks={explosions:[{shape:"large_ball",colors:[I;16711680],has_trail:true}],flight_duration:1}]

Key fields:

  • shapesmall_ball, large_ball, star, creeper, or burst.
  • colors – an int array (note the I; prefix required for int-array NBT) of decimal RGB values; this generator converts the hex color you pick into the correct decimal automatically.
  • has_trail – adds a sparkling trail as the star falls.
  • has_twinkle – a separate optional flag (not exposed in this tool’s UI) for a twinkle/flicker effect, addable manually.
  • flight_duration – 1 to 3, controlling how high the rocket flies before exploding (each level roughly doubles airtime).

Frequently Asked Questions

How are fireworks normally crafted survival-side?

A basic rocket needs paper plus 1-3 gunpowder (gunpowder count sets flight duration) crafted together; adding a firework star crafted from gunpowder, a shape ingredient, and dye colors gives it an explosion effect. This generator skips the crafting grid and lets you set the shape, color, and duration directly.

Can a firework rocket be used to boost flight with an Elytra?

Yes – using any firework rocket while gliding with an Elytra gives a burst of forward momentum, regardless of its explosion shape or color; the propulsion behavior is the same no matter what this generator sets for the visual effect.

Does flight duration affect the explosion’s damage if it hits something?

Yes indirectly – a rocket fired from a crossbow (or dispenser) deals more explosion damage the higher its flight duration/gunpowder count, since that’s tied to the same firework star payload. A hand-thrown or placed rocket (not fired from a crossbow) doesn’t damage anything when it detonates.

Can I add multiple explosion colors or fade colors to one rocket?

Yes – the colors array can hold multiple decimal values for a multi-color burst, and a separate fade_colors field (not in this tool’s simplified UI) can be added manually for a color-fade effect, same as combining multiple dyes on a real firework star.

Related Tools