Mirror-Dimension Fireworks

Colorful firework rockets arc toward a giant mystical glass wall while a synchronized reflection mirrors every trail and explosion on the other side.

Java EditionFireworks & Light ShowsHard24 commandsTested on a real 26.2 & 26.3 server
Glowing firework rockets and their reflections meet at a large tinted-glass mirror and explode. Download the GIF Video & GIF © www.9minecraft.net

Firework ShowsCelebrationMysticRainbowCyanBlackDecorationServer LobbyCinematicItem displaysArmor standsFireworksBlock building (fill/setblock/clone)21+ commands

This command creation builds a towering dark-prismarine and tinted-glass mirror across the center of the arena. From three launchpads on the real side, glowing firework projectiles arc through the air toward the mirror while exact phantom reflections rise in reverse symmetry from the opposite side.

Using synchronized marker mathematics and instant firework detonation, both the real rocket and its mirror twin burst at the exact same moment in matching colors, casting glowing trails and mirror ripples across the glass wall.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /scoreboard objectives add c9_z dummy
  3. /fill ~-9 ~ ~ ~9 ~15 ~ dark_prismarine
  4. /fill ~-8 ~1 ~ ~8 ~14 ~ cyan_stained_glass
  5. /fill ~-7 ~2 ~ ~7 ~13 ~ tinted_glass
  6. /fill ~-9 ~ ~-1 ~9 ~ ~1 sea_lantern
  7. /fill ~-9 ~15 ~-1 ~9 ~15 ~1 sea_lantern
  8. /summon marker ~ ~ ~ {Tags:["c9_fw","c9_ctrl"]}
  9. /summon armor_stand ~-5 ~ ~-10 {Tags:["c9_fw","c9_actor"],NoGravity:1b,Invisible:1b,ArmorItems:[{},{},{},{id:"minecraft:dispenser",count:1}]}
  10. /summon armor_stand ~5 ~ ~10 {Tags:["c9_fw","c9_actor_m"],NoGravity:1b,Invisible:1b,ArmorItems:[{},{},{},{id:"minecraft:dispenser",count:1}]}

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

  1. /execute as @e[tag=c9_ctrl] run scoreboard players add @s c9_timer 1
  2. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 90.. as @e[tag=c9_ctrl] run scoreboard players set @s c9_timer 0
  3. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 1 run summon item_display ~-5 ~1 ~-10 {Tags:["c9_fw","c9_real","c9_c1"],Glowing:1b,glow_color_override:16724838,item:{id:"minecraft:firework_rocket",count:1},transformation:{ left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.5f,1.5f,1.5f] }}
  4. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 1 run summon item_display ~-5 ~1 ~10 {Tags:["c9_fw","c9_mir","c9_c1"],Glowing:1b,glow_color_override:16724838,item:{id:"minecraft:firework_rocket",count:1},transformation:{ left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.5f,1.5f,1.5f] }}
  5. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 31 run summon item_display ~ ~1 ~-11 {Tags:["c9_fw","c9_real","c9_c2"],Glowing:1b,glow_color_override:2686975,item:{id:"minecraft:firework_rocket",count:1},transformation:{ left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.5f,1.5f,1.5f] }}
  6. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 31 run summon item_display ~ ~1 ~11 {Tags:["c9_fw","c9_mir","c9_c2"],Glowing:1b,glow_color_override:2686975,item:{id:"minecraft:firework_rocket",count:1},transformation:{ left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.5f,1.5f,1.5f] }}
  7. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 61 run summon item_display ~5 ~1 ~-10 {Tags:["c9_fw","c9_real","c9_c3"],Glowing:1b,glow_color_override:16766976,item:{id:"minecraft:firework_rocket",count:1},transformation:{ left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.5f,1.5f,1.5f] }}
  8. /execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 61 run summon item_display ~5 ~1 ~10 {Tags:["c9_fw","c9_mir","c9_c3"],Glowing:1b,glow_color_override:16766976,item:{id:"minecraft:firework_rocket",count:1},transformation:{ left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.5f,1.5f,1.5f] }}
  9. /execute as @e[tag=c9_real] at @s run tp @s ~ ~0.35 ~0.25
  10. /execute as @e[tag=c9_mir] at @s run tp @s ~ ~0.35 ~-0.25
  11. /execute as @e[tag=c9_fw,type=item_display] at @s run particle firework ~ ~ ~ 0.08 0.08 0.08 0.02 3 force
  12. /execute as @e[tag=c9_fw,type=item_display] at @s run scoreboard players add @s c9_timer 1
  13. /execute as @e[tag=c9_c1,scores={c9_timer=28}] at @s run summon firework_rocket ~ ~ ~ {LifeTime:0,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"large_ball",colors:[16711782,16755455],fade_colors:[16777215],has_twinkle:1b,has_trail:1b}]}}}}
  14. /execute as @e[tag=c9_fw,type=item_display,scores={c9_timer=28..}] at @s run summon firework_rocket ~ ~ ~ {LifeTime:0,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"star",colors:[65535,16766720],fade_colors:[11141375],has_twinkle:1b,has_trail:1b}]}}}}

How it works

Frames from the test run

Mirror-Dimension Fireworks - frame 1Mirror-Dimension Fireworks - frame 2Mirror-Dimension Fireworks - frame 3

Recorded on our own test server: 44 frames at about 7.3 fps. Our image check saw: A large prismarine and sea-lantern framed tinted-glass mirror stands at night while glowing firework rockets and their mirrored reflections arc toward the glass and explode into colorful particles.

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. Create a flat clearing at least 41x41 blocks wide and switch the time to night so the glowing rockets and reflections stand out against the tinted glass.
  2. Stand at the center of your stage and run the 10 setup commands in order to build the giant mirror wall and create the scoreboard timers.
  3. Place a chain of 14 command blocks (1 Repeating Always Active followed by 13 Chain Always Active) or 14 separate Repeating Always Active command blocks at the stage center.
  4. Paste each loop command into the repeating command blocks in order.
  5. To keep expired rocket display entities cleaned up automatically in long sessions, add one extra chain command block running <code>/kill @e[tag=c9_fw,type=item_display,scores={c9_timer=29..}]</code> after the explosion commands.

Use it with real players

To let a real player launch mirrored fireworks anywhere along the wall, replace the fixed timer spawns with an execute command that detects when a player uses a firework rocket and computes their Z distance to the mirror plane using /execute store result score @s c9_z run data get entity @s Pos[2], then negates that score to summon the mirrored twin on the opposite side of the glass wall.

Remove it again 4 commands

  1. /kill @e[tag=c9_fw]
  2. /fill ~-9 ~ ~-1 ~9 ~15 ~1 air
  3. /scoreboard objectives remove c9_timer
  4. /scoreboard objectives remove c9_z

FAQ

Why do the fireworks explode immediately when summoned at the top of the arc?

The flying projectile is actually a glowing item_display entity for smooth motion control, and when its timer hits 28 ticks it summons a real firework_rocket entity with LifeTime:0, which detonates on the very first tick.

Can I change the colors of the mirrored explosions?

Yes, edit the decimal color numbers inside the colors:[...] and fade_colors:[...] arrays inside the minecraft:fireworks component in the last two loop commands.

Commands used

/execute/fill/particle/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides