Build an automated firework and light show in vanilla Minecraft with sequenced mortars, rising comets, and musical chimes using command blocks.
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.
/scoreboard objectives add c9_tick dummy/fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 polished_blackstone/fill ~-7 ~-1 ~-7 ~7 ~-1 ~7 obsidian/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 sea_lantern/setblock ~-6 ~ ~-6 dispenser[facing=up]/setblock ~6 ~ ~-6 dispenser[facing=up]/setblock ~-6 ~ ~6 dispenser[facing=up]/setblock ~6 ~ ~6 dispenser[facing=up]/summon marker ~ ~ ~ {Tags:["c9_fw_ctrl","c9_fw_ent"]}/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]}}/scoreboard players add @e[tag=c9_fw_ctrl] c9_tick 1/execute as @e[tag=c9_fw_ctrl,scores={c9_tick=100..}] run scoreboard players set @s c9_tick 0/execute as @e[tag=c9_fw_core] at @s run tp @s ~ ~ ~ ~6 ~/particle end_rod ~ ~1.5 ~ 0.4 0.4 0.4 0.02 2 force/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/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/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/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/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]}]}}}}/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]}]}}}}/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]}]}}}}/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]}]}}}}/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]}]}}}}/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.5setup #1 Creates the <code>c9_tick</code> scoreboard objective that acts as the master timeline for the choreography.setup #10 Summons a glowing <code>item_display</code> showing an End Crystal at the center of the stage to act as the visual centerpiece.loop #1 Increments the master clock on the <code>c9_fw_ctrl</code> marker by 1 every game tick (20 times per second).loop #2 Resets the master clock back to 0 every 100 ticks (5 seconds) so the symphony loops seamlessly.loop #9 At tick 10, launches a custom red and orange large-ball firework from the northwest mortar using the <code>minecraft:fireworks</code> item component.loop #13 At tick 95, fires the grand finale multi-color trailing firework straight up from the central crystal.


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.
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.
/kill @e[tag=c9_fw_ent]/scoreboard objectives remove c9_tick/fill ~-8 ~-1 ~-8 ~8 ~1 ~8 air/fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 grass_blockEdit 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.
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.
/execute/fill/particle/playsound/scoreboard/setblock/summon/tp
▶Bouncing Xylophone Light-Mallet SymphonyFirework ShowsMedium24 cmds
▶Venetian Glassblower Molten Goblet SpinFirework ShowsExpert22 cmds
▶Harmonic Tuning Fork Crystal Shatter ResonanceFirework ShowsHard23 cmds
▶Iridescent Scarab Beetle Solar UnfurlingFirework ShowsExpert24 cmds
▶Luminous Glass Harp Water-Rim Resonance RingsFirework ShowsMedium24 cmds
▶Automated Firework SymphonyFirework ShowsMedium21 cmds