Choreographed Pyrotechnic Symphony

Build an automated firework and light show in vanilla Minecraft with sequenced mortars, rising comets, and musical chimes using command blocks.

Java EditionFireworks & Light ShowsHard24 commandsTested on a real 26.2 & 26.3 server
A glowing central crystal and four corner dispensers launch colorful fireworks and particles from an obsidian stage. Download the GIF Video & GIF © www.9minecraft.net

Firework ShowsCelebrationMusicFireRainbowOrangeBlackDecorationServer LobbyCinematicItem displaysFireworksBlock building (fill/setblock/clone)SoundsRotation math21+ commands

The Choreographed Pyrotechnic Symphony turns a flat arena into an automated nighttime light show. An obsidian and sea lantern stage features four corner mortar tubes and a central crystal battery that fires sequences of fireworks, colored dust comets, and glowing particle fountains into the sky.

Everything runs on a single 100-tick scoreboard clock. Each phase of the beat triggers different launchers, accompanied by pitched note block chimes and firework explosions at varying heights.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_tick dummy
  2. /fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 polished_blackstone
  3. /fill ~-7 ~-1 ~-7 ~7 ~-1 ~7 obsidian
  4. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 sea_lantern
  5. /setblock ~-6 ~ ~-6 dispenser[facing=up]
  6. /setblock ~6 ~ ~-6 dispenser[facing=up]
  7. /setblock ~-6 ~ ~6 dispenser[facing=up]
  8. /setblock ~6 ~ ~6 dispenser[facing=up]
  9. /summon marker ~ ~ ~ {Tags:["c9_fw_ctrl","c9_fw_ent"]}
  10. /summon item_display ~ ~1.5 ~ {Tags:["c9_fw_core","c9_fw_ent"],Glowing:1b,glow_color_override:16766720,item:{id:"minecraft:end_crystal",count:1},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.5f,1.5f,1.5f],translation:[0f,0f,0f]}}

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /scoreboard players add @e[tag=c9_fw_ctrl] c9_tick 1
  2. /execute as @e[tag=c9_fw_ctrl,scores={c9_tick=100..}] run scoreboard players set @s c9_tick 0
  3. /execute as @e[tag=c9_fw_core] at @s run tp @s ~ ~ ~ ~6 ~
  4. /particle end_rod ~ ~1.5 ~ 0.4 0.4 0.4 0.02 2 force
  5. /execute if score @e[tag=c9_fw_ctrl,limit=1] c9_tick matches 1..25 run particle flame ~-6 ~1 ~-6 0.1 0.8 0.1 0.08 8 force
  6. /execute if score @e[tag=c9_fw_ctrl,limit=1] c9_tick matches 26..50 run particle flame ~6 ~1 ~-6 0.1 0.8 0.1 0.08 8 force
  7. /execute if score @e[tag=c9_fw_ctrl,limit=1] c9_tick matches 51..75 run particle flame ~6 ~1 ~6 0.1 0.8 0.1 0.08 8 force
  8. /execute if score @e[tag=c9_fw_ctrl,limit=1] c9_tick matches 76..100 run particle flame ~-6 ~1 ~6 0.1 0.8 0.1 0.08 8 force
  9. /execute if score @e[tag=c9_fw_ctrl,limit=1] c9_tick matches 10 run summon firework_rocket ~-6 ~1 ~-6 {LifeTime:18,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"large_ball",has_twinkle:1b,colors:[16711680,16755200],fade_colors:[16776960]}]}}}}
  10. /execute if score @e[tag=c9_fw_ctrl,limit=1] c9_tick matches 35 run summon firework_rocket ~6 ~1 ~-6 {LifeTime:18,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"star",has_trail:1b,colors:[65535,255],fade_colors:[16777215]}]}}}}
  11. /execute if score @e[tag=c9_fw_ctrl,limit=1] c9_tick matches 60 run summon firework_rocket ~6 ~1 ~6 {LifeTime:18,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"burst",has_twinkle:1b,colors:[65280,16776960],fade_colors:[65535]}]}}}}
  12. /execute if score @e[tag=c9_fw_ctrl,limit=1] c9_tick matches 85 run summon firework_rocket ~-6 ~1 ~6 {LifeTime:18,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"creeper",has_trail:1b,colors:[16711935,8388863],fade_colors:[16755200]}]}}}}
  13. /execute if score @e[tag=c9_fw_ctrl,limit=1] c9_tick matches 95 run summon firework_rocket ~ ~2 ~ {LifeTime:22,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:2,explosions:[{shape:"large_ball",has_trail:1b,has_twinkle:1b,colors:[16711680,65280,255,16776960],fade_colors:[16777215]}]}}}}
  14. /execute if score @e[tag=c9_fw_ctrl,limit=1] c9_tick matches 95 run playsound minecraft:block.note_block.chime master @a ~ ~ ~ 3 1.5

How it works

Frames from the test run

Choreographed Pyrotechnic Symphony - frame 1Choreographed Pyrotechnic Symphony - frame 2Choreographed Pyrotechnic Symphony - frame 3

Recorded on our own test server: 58 frames at about 9.6 fps. Our image check saw: An obsidian and sea lantern stage with four corner dispensers and a central glowing end crystal shoots colorful fireworks, flames, and particle effects into the night sky.

Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.

Build it in your world

  1. Stand at the center of a flat open area and run the 10 setup commands in chat to build the launch pad and summon the controller entities.
  2. Place 14 repeating command blocks in a line or cluster nearby, set them all to Always Active, and paste one loop command into each block.
  3. Notice that the coordinates in the loop commands are relative to the stage center; if your command blocks are placed away from the center, wrap each command with execute positioned X Y Z run ... using your center coordinates.
  4. Set the time to night (/time set midnight) so the glowing crystal, flame jets, and firework bursts stand out against the sky.
  5. Watch the 5-second loop cycle through all four corner mortars before firing the central finale burst.

Use it with real players

To let players trigger the show on demand with a button or pressure plate instead of running continuously, add a tag check like tag=c9_playing to the first loop command and have a button grant that tag to @e[tag=c9_fw_ctrl] for one cycle.

Remove it again 4 commands

  1. /kill @e[tag=c9_fw_ent]
  2. /scoreboard objectives remove c9_tick
  3. /fill ~-8 ~-1 ~-8 ~8 ~1 ~8 air
  4. /fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 grass_block

FAQ

How do I change the colors of the fireworks?

Edit the decimal integers inside the colors and fade_colors lists in the firework_rocket summon commands. You can calculate a decimal color code from RGB using (Red * 65536) + (Green * 256) + Blue.

Can I make the rockets fly higher before exploding?

Yes. Increase the LifeTime value (measured in ticks) on the firework_rocket entity. For example, changing LifeTime:18 to LifeTime:30 will make the rocket climb for 1.5 seconds before bursting.

Commands used

/execute/fill/particle/playsound/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides