Autonomous Seeker Swarm: Vertical Launch Homing Missiles

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.

Java EditionWands, Weapons & ToolsHard24 commandsTested on a real 26.2 & 26.3 server
Glowing homing missiles launch vertically and arc downward on thick smoke trails before exploding. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_time dummy
  2. /scoreboard objectives add c9_age dummy
  3. /scoreboard players set #clock c9_time 0
  4. /fill ~-1 ~ ~-1 ~1 ~ ~1 polished_deepslate
  5. /setblock ~ ~1 ~ dispenser[facing=up]
  6. /setblock ~-1 ~1 ~-1 redstone_lamp[lit=true]
  7. /setblock ~1 ~1 ~-1 redstone_lamp[lit=true]
  8. /setblock ~-1 ~1 ~1 redstone_lamp[lit=true]
  9. /setblock ~1 ~1 ~1 redstone_lamp[lit=true]
  10. /summon armor_stand ~ ~1 ~ {Invisible:1b,Marker:1b,NoGravity:1b,Tags:["c9_actor","c9_obj"]}

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

  1. /scoreboard players add #clock c9_time 1
  2. /execute if score #clock c9_time matches 100.. run scoreboard players set #clock c9_time 0
  3. /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}]}
  4. /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}]}
  5. /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}]}
  6. /execute as @e[tag=c9_target] at @s if entity @s[distance=16..25] facing ~ ~ ~ run tp @s ^ ^ ^0.35
  7. /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]}}]}
  8. /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
  9. /scoreboard players add @e[tag=c9_missile] c9_age 1
  10. /execute as @e[tag=c9_missile,scores={c9_age=1..14}] at @s run tp @s ~ ~0.65 ~ ~25 -80
  11. /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 ~ ~
  12. /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 ~ ~
  13. /execute at @e[tag=c9_missile] run particle campfire_cosy_smoke ~ ~ ~ 0.08 0.08 0.08 0.01 2 force
  14. /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 force

How it works

Frames from the test run

Autonomous Seeker Swarm: Vertical Launch Homing Missiles - frame 1Autonomous Seeker Swarm: Vertical Launch Homing Missiles - frame 2Autonomous Seeker Swarm: Vertical Launch Homing Missiles - frame 3

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.

Build it in your world

  1. Enable command blocks on your server or singleplayer world and stand at the center of an open flat area.
  2. Run each of the 10 setup commands in chat one by one to build the scoreboard, the deepslate launch pad, and the launcher marker.
  3. Place a line of 14 Repeating Command Blocks set to Always Active nearby, and paste one loop command into each block.
  4. Add two extra Repeating Command Blocks (Always Active) with <code>/execute as @e[tag=c9_missile] at @s if entity @e[tag=c9_target,distance=..1.6] run playsound entity.generic.explode master @a ~ ~ ~ 0.7 1.3</code> and <code>/execute as @e[tag=c9_missile] at @s if entity @e[tag=c9_target,distance=..1.6] run kill @e[tag=c9_obj,distance=..1.7]</code> plus <code>/kill @e[tag=c9_missile,scores={c9_age=95..}]</code> if you want impacts to destroy the rockets and targets on contact.
  5. Watch the battery fire a salvo every five seconds that climbs, arcs overhead, and tracks the glowing husks.

Use it with real players

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.

Remove it again 4 commands

  1. /kill @e[tag=c9_obj]
  2. /scoreboard objectives remove c9_time
  3. /scoreboard objectives remove c9_age
  4. /fill ~-1 ~ ~-1 ~1 ~1 ~1 air

FAQ

Why do the missiles curve instead of turning sharply at a right angle?

Their 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.

How can I change the size or speed of the salvo?

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.

Commands used

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

Similar creations

Join 9Minecraft News & Guides