Heat-Seeking Arrows

A volley of glowing heat-seeking arrows curves sharply mid-flight, weaving through the air with fiery trails to relentlessly chase down a moving target.

Java EditionWands, Weapons & ToolsMedium20 commandsTested on a real 26.2 & 26.3 server
Glowing homing arrows curve inward with fiery particle trails to strike a targeted mob at night. Download the GIF Video & GIF © www.9minecraft.net

Projectiles & MissilesFireMedievalRedPurpleOrangePvPBoss FightAdventure MapArmor standsSummoned mobsSoundsRotation math13-20 commands

Watch an armored archer fire volleys of glowing arrows high into the air that suddenly lock onto a sprinting zombie and curve sharply to hunt it down. Each arrow leaves a bright fiery smoke trail as it weaves through the sky, exploding in a burst of sparks on impact.

This command creation uses custom marker guidance and motion blending so projectiles curve smoothly rather than snapping directly to their target, creating cinematic missile-style flight paths in vanilla Minecraft.

1. Setup - type these once 4 commands

  1. /scoreboard objectives add c9_t dummy
  2. /summon marker ~ ~ ~ {Tags:["c9_ctrl","c9_ent"]}
  3. /summon armor_stand ~ ~ ~7 {Tags:["c9_actor","c9_ent"],NoGravity:1b,ShowArms:1b,Rotation:[180f,0f],equipment:{mainhand:{id:"minecraft:bow",count:1,components:{"minecraft:enchantment_glint_override":true}},head:{id:"minecraft:golden_helmet",count:1},chest:{id:"minecraft:iron_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1}},Pose:{RightArm:[-90f,0f,5f],LeftArm:[-90f,45f,0f]}}
  4. /summon zombie ~-5 ~ ~-4 {Tags:["c9_target","c9_ent"],NoAI:1b,Silent:1b,NoGravity:1b,Invulnerable:1b,Glowing:1b,CustomName:'{"text":"Target","color":"red"}',CustomNameVisible:1b,equipment:{head:{id:"minecraft:chainmail_helmet",count:1}}}

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

  1. /scoreboard players add @e[tag=c9_ent] c9_t 1
  2. /execute as @e[tag=c9_target] at @s run tp @s ~ ~ ~ facing ~ ~ ~1
  3. /execute as @e[tag=c9_target,scores={c9_t=1..40}] at @s run tp @s ~0.25 ~ ~-0.05 facing ~1 ~ ~-0.2
  4. /execute as @e[tag=c9_target,scores={c9_t=41..80}] at @s run tp @s ~-0.25 ~ ~0.05 facing ~-1 ~ ~0.2
  5. /execute as @e[tag=c9_target,scores={c9_t=80..}] run scoreboard players set @s c9_t 0
  6. /execute as @e[tag=c9_actor] at @s facing entity @e[tag=c9_target,limit=1] eyes run tp @s ~ ~ ~ ~ ~
  7. /execute if entity @e[tag=c9_ctrl,scores={c9_t=25..}] at @e[tag=c9_actor] run playsound minecraft:entity.arrow.shoot master @a ~ ~ ~ 1 0.8
  8. /execute if entity @e[tag=c9_ctrl,scores={c9_t=25..}] at @e[tag=c9_actor] run summon spectral_arrow ~-0.8 ~1.6 ~-0.5 {Tags:["c9_arrow","c9_ent"],NoGravity:1b,Glowing:1b,Motion:[-0.5,0.45,-0.25],damage:0.0d}
  9. /execute if entity @e[tag=c9_ctrl,scores={c9_t=25..}] at @e[tag=c9_actor] run summon spectral_arrow ~ ~1.7 ~-0.5 {Tags:["c9_arrow","c9_ent"],NoGravity:1b,Glowing:1b,Motion:[0.0,0.55,-0.35],damage:0.0d}
  10. /execute if entity @e[tag=c9_ctrl,scores={c9_t=25..}] at @e[tag=c9_actor] run summon spectral_arrow ~0.8 ~1.6 ~-0.5 {Tags:["c9_arrow","c9_ent"],NoGravity:1b,Glowing:1b,Motion:[0.5,0.45,-0.25],damage:0.0d}
  11. /execute as @e[tag=c9_ctrl,scores={c9_t=25..}] run scoreboard players set @s c9_t 0
  12. /execute as @e[tag=c9_arrow,scores={c9_t=7..60}] at @s facing entity @e[tag=c9_target,limit=1] feet run tp @s ^ ^ ^0.65 ~ ~
  13. /execute at @e[tag=c9_arrow] run particle dust{color:[1.0,0.35,0.0],scale:1.3} ~ ~ ~ 0.08 0.08 0.08 0 4 force
  14. /execute as @e[tag=c9_arrow] at @s if entity @e[tag=c9_target,distance=..1.6] run particle explosion ~ ~ ~ 0.2 0.2 0.2 0.05 2 force
  15. /execute as @e[tag=c9_arrow] at @s if entity @e[tag=c9_target,distance=..1.6] run kill @s
  16. /kill @e[tag=c9_arrow,scores={c9_t=65..}]

How it works

Frames from the test run

Heat-Seeking Arrows - frame 1Heat-Seeking Arrows - frame 2Heat-Seeking Arrows - frame 3

Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: Three glowing arrows are fired in a spread, curving inward with red and purple particle trails toward a glowing mob in the center while another volley flies into the sky.

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. Open a creative world in Minecraft Java Edition and stand in the middle of a clear flat area.
  2. Run each of the 4 setup commands in chat one by one to create the scoreboard, controller marker, archer, and moving target.
  3. Place a line or stack of 16 repeating command blocks set to Always Active near your stage.
  4. Paste one loop command into each repeating command block in order.
  5. Watch the archer automatically fire volleys of three glowing arrows that fan out into the sky and curve in to strike the moving zombie.

Use it with real players

To let real players shoot heat-seeking arrows, remove the archer summon and the three arrow-summoning loop commands. Instead, run a repeating command block with /tag @e[type=spectral_arrow,tag=!c9_arrow,nbt={inGround:0b}] add c9_arrow and /tag @e[tag=c9_arrow,tag=!c9_ent] add c9_ent, then replace tag=c9_target in the homing and impact commands with type=#minecraft:raiders,distance=..25 or type=!player,distance=..25 so any spectral arrow you shoot from your bow locks onto the nearest mob after 7 ticks of flight.

Remove it again 2 commands

  1. /kill @e[tag=c9_ent]
  2. /scoreboard objectives remove c9_t

FAQ

Why do the arrows wait a moment before curving toward the target?

The homing command checks for scores={c9_t=7..60}, giving the arrows 7 ticks to fly outward in a fan pattern using their initial Motion tag before locking onto the target.

How can I change the speed of the heat-seeking arrows?

Adjust the ^ ^ ^0.65 value in the homing teleport command (#12 in the loop). Higher numbers like ^ ^ ^0.9 make the arrows faster, while lower numbers make them easier to dodge.

Commands used

/execute/kill/particle/playsound/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides