Command-guided interceptor missile calculates real-time 3D velocity vectors midair to track and strike a fast-moving aerial target with explosion visuals.
Projectiles & MissilesTechnologyFireRedOrangeBlackCinematicLearningMap MakingBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands
A glowing crimson target drone orbits high above a central launch pad while an autonomous interceptor missile blasts straight upward from the silo. Midair, the missile continuously calculates a steering velocity vector—blending its forward momentum with the direction toward the moving target—to curve cleanly through the sky and detonate on impact.
Using block_display interpolation and marker-based 3D vector addition, the pursuit stays smooth every tick without data packs or mods.
/scoreboard objectives add c9_t dummy/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:deepslate_tiles/fill ~-1 ~ ~-1 ~1 ~ ~1 minecraft:polished_deepslate_slab[type=bottom]/setblock ~ ~-1 ~ minecraft:sea_lantern/setblock ~ ~ ~ minecraft:dispenser[facing=up]/summon minecraft:marker ~ ~1 ~ {Tags:["c9_pad"]}/summon minecraft:marker ~ ~12.5 ~ {Tags:["c9_orbit"]}/summon minecraft:marker ~ ~1 ~ {Tags:["c9_guide"]}/summon minecraft:block_display ~ ~12.5 ~10 {Tags:["c9_target","c9_boom"],Glowing:1b,glow_color_override:16724787,teleport_duration:1,brightness:{sky:15,block:15},block_state:{Name:"minecraft:target"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.45f,-0.45f,-0.45f],scale:[0.9f,0.9f,0.9f]}}/scoreboard players set #cycle c9_t 0/scoreboard players add #cycle c9_t 1/execute if score #cycle c9_t matches 80.. run scoreboard players set #cycle c9_t 0/execute if score #cycle c9_t matches 65 unless entity @e[tag=c9_target] at @e[tag=c9_orbit,limit=1] run summon minecraft:block_display ^ ^ ^10 {Tags:["c9_target","c9_boom"],Glowing:1b,glow_color_override:16724787,teleport_duration:1,brightness:{sky:15,block:15},block_state:{Name:"minecraft:target"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.45f,-0.45f,-0.45f],scale:[0.9f,0.9f,0.9f]}}/execute as @e[tag=c9_orbit,limit=1] at @s run tp @s ~ ~ ~ ~3.5 0/execute at @e[tag=c9_orbit,limit=1] run tp @e[tag=c9_target,limit=1] ^ ^ ^10 ~ ~/execute at @e[tag=c9_target,limit=1] run particle minecraft:dust{color:[1.0,0.15,0.2],scale:1.1} ~ ~ ~ 0.1 0.1 0.1 0 2 force/execute if score #cycle c9_t matches 5 unless entity @e[tag=c9_missile] at @e[tag=c9_pad,limit=1] run summon minecraft:block_display ~ ~0.4 ~ {Tags:["c9_missile","c9_boom"],Rotation:[0f,-88f],Glowing:1b,glow_color_override:16744448,teleport_duration:1,brightness:{sky:15,block:15},block_state:{Name:"minecraft:end_rod",Properties:{facing:"south"}},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.5f,-0.5f,-0.5f],scale:[1.1f,1.1f,1.1f]}}/execute if entity @e[tag=c9_missile] if entity @e[tag=c9_target] at @e[tag=c9_missile,limit=1] run tp @e[tag=c9_guide,limit=1] ^ ^ ^4.0/execute if entity @e[tag=c9_missile] if entity @e[tag=c9_target] as @e[tag=c9_guide,limit=1] at @s facing entity @e[tag=c9_target,limit=1] feet run tp @s ^ ^ ^1.15/execute if entity @e[tag=c9_missile] if entity @e[tag=c9_target] as @e[tag=c9_missile,limit=1] at @s facing entity @e[tag=c9_guide,limit=1] feet run tp @s ^ ^ ^0.85 ~ ~/execute at @e[tag=c9_missile,limit=1] run particle minecraft:flame ~ ~ ~ 0.05 0.05 0.05 0.02 4 force/execute at @e[tag=c9_missile,limit=1] if entity @e[tag=c9_target,distance=..1.8] run tag @e[tag=c9_boom] add c9_dead/execute at @e[tag=c9_target,tag=c9_dead,limit=1] run particle minecraft:explosion_emitter ~ ~ ~ 0.4 0.4 0.4 0 2 force/kill @e[tag=c9_dead]setup #9 Spawns the aerial target as a glowing <code>block_display</code> with <code>teleport_duration:1</code> so every tick of motion interpolates smoothly on screen.loop #4 Rotates the sky-level <code>c9_orbit</code> marker by 3.5 degrees per tick, driving the target's circular flight path 10 blocks outward.loop #7 Launches the missile straight upward (<code>Rotation:[0f,-88f]</code>) from the central pad at tick 5 of each 4-second cycle using a south-oriented <code>end_rod</code> display aligned to its forward vector.loop #8 Projects the missile's current velocity vector 4.0 blocks forward into 3D space by placing the <code>c9_guide</code> marker along <code>^ ^ ^4.0</code>.loop #9 Adds a 1.15-block steering correction vector directly toward the moving target, forming the resultant 3D velocity vector without trigonometry tables.loop #10 Rotates the missile to face the newly calculated vector point and advances it at 0.85 blocks per tick, creating a smooth curving intercept arc.loop #12 Checks if the missile is within 1.8 blocks of the target and flags both entities with <code>c9_dead</code> so the explosion particle fires right before both are removed.


Recorded on our own test server: 44 frames at about 8.7 fps. Our image check saw: A glowing red target block moves across the night sky while a lightning-rod missile with a flame trail launches from a central blackstone pad and angles toward it, though the impact is not shown.
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 hunt real players or flying mobs instead of the demo drone, tag your target with /tag <target> add c9_target (such as @p or a flying phantom), remove the orbit movement and target respawn command blocks (loop commands 3 through 6), and swap the explosion_emitter particle for a real /summon minecraft:tnt ~ ~ ~ {fuse:0} at impact if you want explosive damage.
/kill @e[tag=c9_boom]/kill @e[tag=c9_pad]/kill @e[tag=c9_orbit]/kill @e[tag=c9_guide]/scoreboard objectives remove c9_t/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:grass_block/fill ~-1 ~ ~-1 ~1 ~ ~1 minecraft:airIt performs 3D vector addition directly in world space using the <code>c9_guide</code> marker: placing it 4.0 blocks ahead along the current heading and shifting it 1.15 blocks toward the target produces a smooth resultant vector that balances momentum and turning speed.
Because the missile travels at 0.85 blocks per tick—roughly 40% faster than the target—and turns up to 16 degrees per tick, it always spirals inward and intersects the 1.8-block detonation sphere well before the 4-second cycle resets.
/execute/fill/kill/particle/scoreboard/setblock/summon/tag/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