Build an automated firecracker display in Minecraft Java Edition using pure commands, featuring bouncing red crackers, colorful sparks, and rapid popping sounds.
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.
/scoreboard objectives add c9_tick dummy/fill ~-1 ~ ~-1 ~1 ~ ~1 minecraft:polished_blackstone_slab/setblock ~ ~ ~ minecraft:red_nether_bricks/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"}}/summon minecraft:marker ~ ~1 ~ {Tags:["c9_fc","c9_spawner"]}/execute as @e[tag=c9_spawner] run scoreboard players add @s c9_tick 1/execute as @e[tag=c9_spawner] at @s run tp @s ~ ~ ~ ~37 ~/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/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"}}]}/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/execute as @e[tag=c9_spawner,scores={c9_tick=1}] at @s run playsound minecraft:entity.tnt.primed master @a ~ ~ ~ 1 1.6/execute as @e[tag=c9_spawner,scores={c9_tick=55..}] run scoreboard players set @s c9_tick 0/execute as @e[tag=c9_cracker] at @s run scoreboard players add @s c9_tick 1/execute as @e[tag=c9_cracker] at @s run particle minecraft:crit ~ ~0.35 ~ 0.05 0.05 0.05 0.05 1/execute as @e[tag=c9_cracker,scores={c9_tick=14}] at @s run tp @s ~ ~0.35 ~/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/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/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/execute as @e[tag=c9_cracker,scores={c9_tick=26..}] at @s run kill @n[tag=c9_vis]/kill @e[tag=c9_cracker,scores={c9_tick=26..}]setup #4 Summons a glowing scaled TNT block display on top of the pedestal to act as the central firecracker launcher box.loop #2 Rotates the central spawner marker by 37 degrees every tick so that new firecrackers are tossed out in a wide spiral pattern around the stage.loop #4 During the first 20 ticks of each cycle, summons an uncollectible item entity riding a glowing red concrete block display to represent an individual firecracker.loop #5 Teleports the freshly spawned firecracker slightly forward along the spawner's facing angle, allowing it to fall and slide outward across the grass.loop #10 Gives each firecracker a small upward hop at tick 14 to simulate the firecracker bouncing along the ground before exploding.loop #11 At tick 26, triggers the explosion with bright red and gold dust particle clouds, plays a high-pitched firework crackle, and cleans up both the item and its display passenger.


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.
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.
/kill @e[tag=c9_fc]/scoreboard objectives remove c9_tick/fill ~-1 ~ ~-1 ~1 ~ ~1 minecraft:airItem entities naturally have gravity and ground collision in Minecraft, while the riding block display makes the firecracker clearly visible and glowing from any angle.
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.
/execute/fill/kill/particle/playsound/scoreboard/setblock/summon/tp
▶Explosive Confetti PiñataConfetti & CelebrationEasy24 cmds
▶Festive Confetti Cannon SaluteConfetti & CelebrationEasy23 cmds
▶Giant Jackpot Slot MachineConfetti & CelebrationMedium24 cmds
▶New Year Crystal Ball DropConfetti & CelebrationHard24 cmds
▶Giant Champagne Pop Confetti CelebrationConfetti & CelebrationMedium24 cmds
▶Symphonic Pipe Organ Flame Light ArrayStage LightingMedium24 cmds