Automated Firecracker Show

Build an automated firecracker display in Minecraft Java Edition using pure commands, featuring bouncing red crackers, colorful sparks, and rapid popping sounds.

Java EditionFireworks & Light ShowsEasy20 commandsTested on a real 26.2 & 26.3 server
Glowing red firecrackers burst into flashes and colorful sparks from a central dispenser at night. Download the GIF Video & GIF © www.9minecraft.net

Confetti & CelebrationCelebrationFireRedWhiteRainbowDecorationServer LobbyCinematicBlock displaysFireworksRiding & passengersSummoned mobsBlock building (fill/setblock/clone)SoundsRotation math13-20 commands

This command creation sets up a central festive dispenser that automatically tosses clusters of glowing red firecrackers across the ground. Each firecracker bounces and tumbles out from the center, trailing fuse sparks before erupting in a rapid chain reaction of colorful dust, flash bursts, and crackling firework sounds.

Because it uses lightweight item entities paired with scaled block displays, the firecrackers react to gravity and bounce off the terrain naturally without needing complex physics math.

1. Setup - type these once 5 commands

  1. /scoreboard objectives add c9_tick dummy
  2. /fill ~-1 ~ ~-1 ~1 ~ ~1 minecraft:polished_blackstone_slab
  3. /setblock ~ ~ ~ minecraft:red_nether_bricks
  4. /summon minecraft:block_display ~ ~0.9 ~ {Tags:["c9_fc","c9_box"],Glowing:1b,glow_color_override:16724736,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,0.8f,0.7f],translation:[-0.35f,0f,-0.35f]},block_state:{Name:"minecraft:TNT"}}
  5. /summon minecraft:marker ~ ~1 ~ {Tags:["c9_fc","c9_spawner"]}

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

  1. /execute as @e[tag=c9_spawner] run scoreboard players add @s c9_tick 1
  2. /execute as @e[tag=c9_spawner] at @s run tp @s ~ ~ ~ ~37 ~
  3. /execute as @e[tag=c9_spawner,scores={c9_tick=1..25}] at @s run particle minecraft:flame ~ ~0.7 ~ 0.1 0.1 0.1 0.02 2
  4. /execute as @e[tag=c9_spawner,scores={c9_tick=1..20}] at @s rotated ~ 0 run summon minecraft:item ~ ~0.7 ~ {Tags:["c9_fc","c9_cracker"],PickupDelay:32767,Item:{id:"minecraft:red_candle",count:1},Passengers:[{id:"minecraft:block_display",Tags:["c9_fc","c9_vis"],Glowing:1b,glow_color_override:16724736,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.22f,0.45f,0.22f],translation:[-0.11f,0f,-0.11f]},block_state:{Name:"minecraft:red_concrete"}}]}
  5. /execute as @e[tag=c9_spawner,scores={c9_tick=1..20}] at @s rotated ~ 0 run tp @e[tag=c9_cracker,distance=..1,limit=1,sort=nearest] ^ ^ ^0.45
  6. /execute as @e[tag=c9_spawner,scores={c9_tick=1}] at @s run playsound minecraft:entity.tnt.primed master @a ~ ~ ~ 1 1.6
  7. /execute as @e[tag=c9_spawner,scores={c9_tick=55..}] run scoreboard players set @s c9_tick 0
  8. /execute as @e[tag=c9_cracker] at @s run scoreboard players add @s c9_tick 1
  9. /execute as @e[tag=c9_cracker] at @s run particle minecraft:crit ~ ~0.35 ~ 0.05 0.05 0.05 0.05 1
  10. /execute as @e[tag=c9_cracker,scores={c9_tick=14}] at @s run tp @s ~ ~0.35 ~
  11. /execute as @e[tag=c9_cracker,scores={c9_tick=26}] at @s run particle minecraft:dust{color:[1.0,0.15,0.1],scale:1.6} ~ ~0.3 ~ 0.45 0.35 0.45 0 22
  12. /execute as @e[tag=c9_cracker,scores={c9_tick=26}] at @s run particle minecraft:dust{color:[1.0,0.85,0.1],scale:1.4} ~ ~0.3 ~ 0.4 0.3 0.4 0 18
  13. /execute as @e[tag=c9_cracker,scores={c9_tick=26}] at @s run playsound minecraft:entity.firework_rocket.twinkle master @a ~ ~ ~ 1.5 1.8
  14. /execute as @e[tag=c9_cracker,scores={c9_tick=26..}] at @s run kill @n[tag=c9_vis]
  15. /kill @e[tag=c9_cracker,scores={c9_tick=26..}]

How it works

Frames from the test run

Automated Firecracker Show - frame 1Automated Firecracker Show - frame 2Automated Firecracker Show - frame 3

Recorded on our own test server: 50 frames at about 9.9 fps. Our image check saw: A central blackstone structure on a grass flatland emits clusters of glowing red candle items surrounded by colorful dust and spark particles, which subsequently burst in a white flash and scatter across the ground.

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. Chat commands require operator permissions in a creative world.
  2. Stand at the center of a flat open area and run the 5 setup commands in order to build the launcher pedestal and scoreboard.
  3. Place a stack or line of 15 Repeating Command Blocks nearby, all set to Always Active.
  4. Paste one loop command into each repeating command block.
  5. Watch the central box shoot out waves of bouncing firecrackers every few seconds.
  6. To stop the show and remove the pedestal, run the cleanup commands listed in the remove section.

Use it with real players

To turn this into a throwable firecracker item for players, execute the summon command in loop step 4 at a player holding a red candle whenever they drop one, or bind the spawner tag c9_spawner directly to a thrown snowball so it scatters firecrackers wherever it lands.

Remove it again 3 commands

  1. /kill @e[tag=c9_fc]
  2. /scoreboard objectives remove c9_tick
  3. /fill ~-1 ~ ~-1 ~1 ~ ~1 minecraft:air

FAQ

Why use an item entity with a block display passenger?

Item entities naturally have gravity and ground collision in Minecraft, while the riding block display makes the firecracker clearly visible and glowing from any angle.

Can I change the colors of the firecracker sparks?

Yes, edit the RGB decimal values inside the dust particle commands in loop steps 11 and 12 to any color values between 0.0 and 1.0.

Commands used

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

Similar creations

Join 9Minecraft News & Guides