Presets

Item presets

Minecraft Firework Command Generator

Firework commands are searched because the useful data is visual: flight duration, shape, colors, fade colors, trail, and twinkle. This page turns those choices into an item preset that can be copied or saved with a reward flow.

Preset result

A firework rocket command that works as a celebration reward, map signal, or elytra kit item.

Output

Firework Give output

/give @p minecraft:firework_rocket[custom_name={text:"Victory Burst",color:"gold",italic:false},fireworks={flight_duration:2,explosions:[{shape:"large_ball",colors:[I;16755200,16776960],fade_colors:[I;16711680],has_trail:true,has_twinkle:true}]},custom_data={firework:"victory_burst"}] 1
Too long for Minecraft chat

The longest command line is 287 characters, 31 over the 256-character chat input limit. Pasting it into chat can truncate the line and make Minecraft report a syntax error even when the generated command is valid.

  • Use a Command Block: run /give @s command_block, place it, then paste this command into the block command field.
  • Use a .mcfunction for a reusable datapack: save the line without the leading slash at saves/<world>/datapacks/<pack>/data/<ns>/function/<name>.mcfunction with a minimal pack.mcmeta, run /reload, then run /function <ns>:<name>. Do not paste .mcfunction content into chat.

Preset screenshot

The NBTForge workbench state used for the minecraft firework command generator article, including the visible controls and generated output.

Build the preset

  1. Open Give and choose firework_rocket as the item.
  2. Set flight duration first so the rocket matches the use case: elytra boost, signal, or celebration.
  3. Choose explosion shape, colors, fade colors, trail, and twinkle.
  4. Copy the command and test both inventory use and any dispenser or reward setup.

Signal versus reward fireworks

A signal firework should be readable from a distance, with strong colors and a clear burst shape. A reward firework can be more decorative and may include lore or custom_data.

The sample output is a Victory Burst: a visible large-ball rocket with warm colors, trail, and twinkle for completion feedback.

Save fireworks with the event

Fireworks often run alongside title messages, sounds, loot, or command-pack rewards. Save the rocket command with those related outputs so the whole event can be copied together.

For elytra kits, keep a simpler rocket variant without decorative explosion data.

  • Use flight_duration for travel feel.
  • Use explosion colors for visual identity.
  • Use custom_data when fireworks are part of a tracked reward.

Fit the preset into a real project

Treat Minecraft Firework Command Generator as a tested starting point, not just a copied string. After the output works once, save it with a clear Project name, note the target Minecraft version, and keep the preset near related setup commands such as scoreboard, bossbar, loot, or reset lines.

Before publishing the preset to a map, server, or command pack, run it from the copied artifact rather than only from the live workbench. That catches missing dependencies, stale selectors, wrong edition choices, and commands that only worked because local test state already existed.

  • Keep the selected Edition and Version with the shared command.
  • Test selectors against a harmless command before using damage, kill, clear, or teleport.
  • Move long commands into Project or a function-style workflow instead of pasting them into chat.
  • Recheck warnings after changing entities, item components, passengers, or datapack resources.

FAQ

Can one firework have multiple explosions?

Yes. Add more explosion entries, but test the visual result because too many colors can become hard to read.

Should elytra rockets include explosion data?

Usually no. Elytra boost rockets are cleaner without decorative explosions, while celebration rockets benefit from color and shape settings.

When should this preset become part of a command pack?

Use it as a command pack entry when the output depends on setup lines, reset commands, loot resources, scoreboard state, or repeated testing. Single safe commands can still be copied directly from Output.

Open this workflow

Start from the related Give workbench, then adjust the preset fields for your world.