A slow-moving firework missile launches vertically from a turret, locks onto a circling target drone, and curves through the air before exploding.
Firework ShowsTechnologyFireRedOrangeWhitePvPMap MakingMini-gameParticlesBlock displaysItem displaysArmor standsFireworksScoreboard timersExecute chainsBlock building (fill/setblock/clone)Glowing outlinesRotation math21+ commands
Watch an automated launcher fire a heat-seeking firework missile straight into the night sky. After reaching cruising altitude, the projectile locks onto a glowing target drone circling the arena, banking through the air while leaving a thick trail of smoke and flames before detonating on impact.
This creation uses local coordinate offsets to blend vertical climb with direct homing, creating a smooth curved trajectory without complex math or data packs.
/scoreboard objectives add c9_timer dummy/scoreboard players set #clock c9_timer 0/fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 polished_deepslate/fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 iron_block/setblock ~ ~ ~ dispenser[facing=up]/summon marker ~ ~ ~ {Tags:["c9_center"]}/summon armor_stand ~7 ~2.5 ~ {Tags:["c9_target"],NoGravity:1b,Invisible:1b,ArmorItems:[{},{},{},{id:"minecraft:red_glazed_terracotta",Count:1b}],CustomName:'{"text":"TARGET DRONE","color":"red","bold":true}',CustomNameVisible:1b}/summon block_display ~7 ~2.5 ~ {Tags:["c9_tdisp"],Glowing:1b,glow_color_override:16711680,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.35f,1.35f,-0.35f],scale:[0.7f,0.7f,0.7f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/scoreboard players add #clock c9_timer 1/execute if score #clock c9_timer matches 80.. run scoreboard players set #clock c9_timer 0/execute as @e[tag=c9_center] at @s run tp @s ~ ~ ~ ~4 ~/execute at @e[tag=c9_center] run tp @e[tag=c9_target] ^ ^2.5 ^7/execute at @e[tag=c9_target] run tp @e[tag=c9_tdisp] ~ ~ ~/execute at @e[tag=c9_target] run particle dust{color:[1.0,0.1,0.1],scale:1.5} ~ ~1.7 ~ 0.2 0.2 0.2 0 2 force/execute if score #clock c9_timer matches 1 run summon item_display ~ ~1.2 ~ {Tags:["c9_missile"],Glowing:1b,glow_color_override:16755200,item:{id:"minecraft:firework_rocket",Count:1b},transformation:{translation:[0f,0f,0f],scale:[1.6f,1.6f,1.6f],left_rotation:[0.7071f,0f,0f,0.7071f],right_rotation:[0f,0f,0f,1f]}}/execute if score #clock c9_timer matches 1 run particle lava ~ ~1.2 ~ 0.3 0.2 0.3 0 25 force/execute if score #clock c9_timer matches 2..16 as @e[tag=c9_missile] at @s facing entity @e[tag=c9_target,limit=1] feet run tp @s ~ ~0.45 ~ ~ ~/execute if score #clock c9_timer matches 17..26 as @e[tag=c9_missile] at @s facing entity @e[tag=c9_target,limit=1] feet run tp @s ^ ^0.25 ^0.38 ~ ~/execute if score #clock c9_timer matches 27..75 as @e[tag=c9_missile] at @s facing entity @e[tag=c9_target,limit=1] feet run tp @s ^ ^0.06 ^0.62 ~ ~/execute at @e[tag=c9_missile] run particle campfire_cosy_smoke ~ ~ ~ 0.08 0.08 0.08 0.01 3 force/execute at @e[tag=c9_missile] run particle flame ~ ~ ~ 0.05 0.05 0.05 0.02 4 force/execute at @e[tag=c9_missile] if entity @e[tag=c9_target,distance=..1.6] run summon firework_rocket ~ ~ ~ {LifeTime:0,FireworksItem:{id:"minecraft:firework_rocket",Count:1b,components:{"minecraft:fireworks":{explosions:[{shape:"large_ball",has_twinkle:1b,colors:[I;16711680,16755200],fade_colors:[I;16776960]}]}}}}/execute as @e[tag=c9_missile] at @s if entity @e[tag=c9_target,distance=..1.6] run kill @sloop #4 Rotates the center marker by 4 degrees every tick, while the next command teleports the target drone 7 blocks forward in the marker's local view to create a smooth circular flight path.loop #7 Summons an enlarged firework rocket item display at the start of every 4-second cycle, rotated 90 degrees on the X axis so the nose points forward along its flight vector.loop #10 During the mid-flight transition phase (ticks 17 to 26), the missile combines upward local movement (^0.25) with forward homing movement (^0.38) toward the target, creating a realistic pitch-over arc.loop #14 Detects when the missile comes within 1.6 blocks of the target drone and spawns an instant large-ball firework explosion in red, orange, and yellow.


Recorded on our own test server: 50 frames at about 9.9 fps. Our image check saw: A glowing firework rocket launches vertically from a central pad with a smoke and flame trail, curves downward to intercept a red-outlined moving sea lantern block (whose custom name shows raw JSON text), and explodes into red and yellow firework sparks.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make the missile lock onto real players or monsters instead of the test drone, replace @e[tag=c9_target,limit=1] in the loop commands with @e[type=phantom,sort=nearest,limit=1] or @a[gamemode=survival,sort=nearest,limit=1], and add a damage effect alongside the firework detonation command.
/kill @e[tag=c9_center]/kill @e[tag=c9_target]/kill @e[tag=c9_tdisp]/kill @e[tag=c9_missile]/scoreboard objectives remove c9_timer/fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 grass_block/setblock ~ ~ ~ airReal firework_rocket entities fly upward uncontrollably and explode on their own timer. Using an item_display gives full control over orientation and curved homing movement before summoning a real firework at the exact moment of impact.
Yes. Adjust the ^ ^0.06 ^0.62 numbers in the third movement command: increasing the last number makes the missile fly faster, while increasing the middle number gives it a higher lofted arc.
▶Automated Skyward Pyrotechnic SymphonyFirework ShowsMedium24 cmds
▶Unwinding Clockwork Mainspring Ribbon Of LightFirework ShowsHard21 cmds
▶Venetian Glassblower Molten Goblet SpinFirework ShowsExpert22 cmds
▶Victorian Zoetrope Animated Firework CylinderFirework ShowsExpert24 cmds
▶Volcanic Obsidian Monolith Magma Vein EruptionFirework ShowsMedium24 cmds
▶Holographic Solar Eclipse Corona BurstFirework ShowsExpert24 cmds