Build a vertical missile launcher in Minecraft that fires a salvo of glowing rockets arcing through the sky on thick smoke trails to strike wandering targets.
Projectiles & MissilesTechnologyFireWhiteOrangeYellowCinematicPvPMini-gameItem displaysArmor standsFireworksRiding & passengersSummoned mobsBlock building (fill/setblock/clone)SoundsGlowing outlinesRotation math21+ commands
Few sights in Minecraft match a vertical missile battery firing in sequence. With this command creation, a central battery launches a rapid salvo of glowing projectiles straight into the air. At the top of their climb, the missiles tilt over, lock onto glowing targets wandering across the field, and arc smoothly down on trails of campfire smoke and flame.
Each impact triggers a flash explosion with shockwave particles and sound effects, while new targets automatically respawn around the perimeter so the barrage never runs out of things to hit.
/scoreboard objectives add c9_time dummy/scoreboard objectives add c9_age dummy/scoreboard players set #clock c9_time 0/fill ~-1 ~ ~-1 ~1 ~ ~1 polished_deepslate/setblock ~ ~1 ~ dispenser[facing=up]/setblock ~-1 ~1 ~-1 redstone_lamp[lit=true]/setblock ~1 ~1 ~-1 redstone_lamp[lit=true]/setblock ~-1 ~1 ~1 redstone_lamp[lit=true]/setblock ~1 ~1 ~1 redstone_lamp[lit=true]/summon armor_stand ~ ~1 ~ {Invisible:1b,Marker:1b,NoGravity:1b,Tags:["c9_actor","c9_obj"]}/scoreboard players add #clock c9_time 1/execute if score #clock c9_time matches 100.. run scoreboard players set #clock c9_time 0/execute unless entity @e[tag=c9_target,distance=..22] run summon husk ~8 ~ ~8 {Glowing:1b,PersistenceRequired:1b,Tags:["c9_target","c9_obj"],attributes:[{id:"minecraft:movement_speed",base:0.18d}],active_effects:[{id:"minecraft:fire_resistance",duration:999999,show_particles:0b},{id:"minecraft:resistance",amplifier:4,duration:999999,show_particles:0b}]}/execute if score #clock c9_time matches 1 unless entity @e[tag=c9_target,distance=..22,limit=4] run summon husk ~-9 ~ ~6 {Glowing:1b,PersistenceRequired:1b,Tags:["c9_target","c9_obj"],attributes:[{id:"minecraft:movement_speed",base:0.18d}],active_effects:[{id:"minecraft:fire_resistance",duration:999999,show_particles:0b},{id:"minecraft:resistance",amplifier:4,duration:999999,show_particles:0b}]}/execute if score #clock c9_time matches 50 unless entity @e[tag=c9_target,distance=..22,limit=4] run summon husk ~7 ~ ~-9 {Glowing:1b,PersistenceRequired:1b,Tags:["c9_target","c9_obj"],attributes:[{id:"minecraft:movement_speed",base:0.18d}],active_effects:[{id:"minecraft:fire_resistance",duration:999999,show_particles:0b},{id:"minecraft:resistance",amplifier:4,duration:999999,show_particles:0b}]}/execute as @e[tag=c9_target] at @s if entity @s[distance=16..25] facing ~ ~ ~ run tp @s ^ ^ ^0.35/execute at @e[tag=c9_actor] if score #clock c9_time matches 10..26 run summon armor_stand ~ ~1.2 ~ {Invisible:1b,Marker:1b,NoGravity:1b,Tags:["c9_missile","c9_obj"],Passengers:[{id:"minecraft:item_display",Tags:["c9_obj"],Glowing:1b,glow_color_override:16733440,item:{id:"minecraft:firework_rocket"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.6f,1.6f,1.6f]}}]}/execute at @e[tag=c9_actor] if score #clock c9_time matches 10..26 run playsound entity.firework_rocket.launch master @a ~ ~1 ~ 0.6 1.2/scoreboard players add @e[tag=c9_missile] c9_age 1/execute as @e[tag=c9_missile,scores={c9_age=1..14}] at @s run tp @s ~ ~0.65 ~ ~25 -80/execute as @e[tag=c9_missile,scores={c9_age=15..26}] at @s facing entity @e[tag=c9_target,sort=arbitrary,limit=1] eyes run tp @s ^ ^0.38 ^0.55 ~ ~/execute as @e[tag=c9_missile,scores={c9_age=27..95}] at @s facing entity @e[tag=c9_target,sort=nearest,limit=1] eyes run tp @s ^ ^0.08 ^0.78 ~ ~/execute at @e[tag=c9_missile] run particle campfire_cosy_smoke ~ ~ ~ 0.08 0.08 0.08 0.01 2 force/execute as @e[tag=c9_missile] at @s if entity @e[tag=c9_target,distance=..1.6] run particle explosion_emitter ~ ~ ~ 0 0 0 1 1 forceloop #7 Between ticks 10 and 26 of the 100-tick cycle, the launcher summons invisible marker armor stands carrying glowing oversized firework rocket item displays.loop #10 During the first 14 ticks of a missile's life, it climbs straight upward while spinning on its vertical axis to simulate a vertical booster phase.loop #11 From ticks 15 to 26, the missile enters its apex transition: it faces a target with <code>facing entity</code> and blends upward motion (<code>^0.38</code>) with forward thrust (<code>^0.55</code>) to paint a smooth curve across the sky.loop #12 After tick 27, the seeker locks onto the nearest target and dives in at high speed (<code>^0.78</code> blocks per tick) with a slight loft so it strikes from above.loop #14 When a missile reaches within 1.6 blocks of a target, it triggers an explosion emitter particle burst.


Recorded on our own test server: 54 frames at about 8.9 fps. Our image check saw: A central launcher shoots a vertical stream of glowing projectiles that arc downward with thick smoke trails and explode on impact.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To fire the seeker swarm from your own position instead of the stationary launch pad, replace @e[tag=c9_actor] in the missile summon command with @a[nbt={SelectedItem:{id:"minecraft:blaze_rod"}}] and replace tag=c9_target in the homing commands with type=#minecraft:raiders or type=zombie so the rockets seek hostile mobs around you whenever you hold a Blaze Rod.
/kill @e[tag=c9_obj]/scoreboard objectives remove c9_time/scoreboard objectives remove c9_age/fill ~-1 ~ ~-1 ~1 ~1 ~1 airTheir flight is split into three age phases using the c9_age scoreboard: pure vertical ascent for ticks 1 to 14, an arcing blend of upward and forward local coordinates (^ ^0.38 ^0.55) for ticks 15 to 26, and full forward homing after tick 27.
In the missile summon command, widen or narrow the tick range (10..26) to fire more or fewer rockets per burst, and adjust the ^ ^ ^0.78 value in the homing command to make the rockets fly faster or slower.
/execute/fill/particle/playsound/scoreboard/setblock/summon/tp
▶Magnetic Rail-Track Javelin AssemblerProjectiles & MissilesExpert22 cmds
▶Pachinko-Board Trick-Shot CrossbowProjectiles & MissilesExpert24 cmds
▶Steampunk Piston-Hammer Pilebunker GauntletProjectiles & MissilesMedium24 cmds
▶16-Way Automated ArtilleryProjectiles & MissilesHard25 cmds
▶Artillery Projectile SimulatorProjectiles & MissilesHard24 cmds
▶Automated Airstrike BombardmentProjectiles & MissilesMedium22 cmds