Homing Artillery Shells

Oversized glowing artillery shells launch from a heavy iron cannon, curve through the air, and lock onto moving targets before obliterating them.

Java EditionWands, Weapons & ToolsHard24 commandsTested on a real 26.2 & 26.3 server
An artillery cannon fires a glowing homing shell with an orange trail toward armored target dummies. Download the GIF Video & GIF © www.9minecraft.net

Projectiles & MissilesIndustrialTechnologyFireOrangeBlackPvPBoss FightMap MakingBlock displaysArmor standsSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands

A heavy angled iron barrel sits on a reinforced deepslate mount, launching oversized glowing netherite shells high into the sky. Each shell leaves a thick fiery-orange dust trail as it bends its flight path mid-air to chase down armored moving target dummies.

The homing curve uses a forward steering marker rather than snapping straight toward the target, so every shot arcs naturally over the battlefield before detonating in a blast of explosion_emitter clouds.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /scoreboard players set #tick c9_t 0
  3. /fill ~-11 ~0 ~-3 ~-7 ~0 ~3 minecraft:polished_deepslate
  4. /fill ~-10 ~1 ~-2 ~-8 ~1 ~2 minecraft:deepslate_bricks
  5. /summon minecraft:block_display ~-8.5 ~2.4 ~0 {Tags:["c9_all"],Rotation:[-90f,-50f],block_state:{Name:"minecraft:iron_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.6f,-0.6f,-1.9f],scale:[1.2f,1.2f,3.8f]}}
  6. /summon minecraft:block_display ~-7.3 ~3.85 ~0 {Tags:["c9_all"],Rotation:[-90f,-50f],block_state:{Name:"minecraft:netherite_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.725f,-0.725f,-0.275f],scale:[1.45f,1.45f,0.55f]}}
  7. /summon minecraft:marker ~ ~ ~ {Tags:["c9_all","c9_steer"]}
  8. /summon minecraft:armor_stand ~11 ~0 ~0 {Tags:["c9_all","c9_target"],Rotation:[0f,0f],NoGravity:1b,Invulnerable:1b,NoBasePlate:1b,ShowArms:1b,Glowing:1b,equipment:{head:{id:"minecraft:target",count:1},chest:{id:"minecraft:iron_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1}}}
  9. /summon minecraft:armor_stand ~4.8 ~0 ~3.6 {Tags:["c9_all","c9_target"],Rotation:[120f,0f],NoGravity:1b,Invulnerable:1b,NoBasePlate:1b,ShowArms:1b,Glowing:1b,equipment:{head:{id:"minecraft:target",count:1},chest:{id:"minecraft:iron_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1}}}
  10. /summon minecraft:armor_stand ~4.8 ~0 ~-3.6 {Tags:["c9_all","c9_target"],Rotation:[-120f,0f],NoGravity:1b,Invulnerable:1b,NoBasePlate:1b,ShowArms:1b,Glowing:1b,equipment:{head:{id:"minecraft:target",count:1},chest:{id:"minecraft:iron_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1}}}

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

  1. /scoreboard players add #tick c9_t 1
  2. /execute if score #tick c9_t matches 45.. run scoreboard players set #tick c9_t 0
  3. /execute as @e[tag=c9_target] at @s run tp @s ^ ^ ^0.20 ~2.6 ~
  4. /execute if score #tick c9_t matches 1 unless entity @e[tag=c9_shell] run summon minecraft:block_display ~-7.0 ~4.1 ~0 {Tags:["c9_all","c9_shell"],Rotation:[-90f,-50f],teleport_duration:2,interpolation_duration:2,Glowing:1b,glow_color_override:16733440,brightness:{sky:15,block:15},block_state:{Name:"minecraft:netherite_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.5f,-0.5f,-0.75f],scale:[1.0f,1.0f,1.5f]}}
  5. /execute as @e[tag=c9_shell] at @s run tp @s ^ ^ ^0.76
  6. /execute at @e[tag=c9_shell] run tp @e[tag=c9_steer,limit=1] ^ ^ ^3.5
  7. /execute as @e[tag=c9_steer] at @s facing entity @e[tag=c9_target,limit=1,sort=nearest] eyes run tp @s ^ ^ ^0.9
  8. /execute as @e[tag=c9_shell] at @s facing entity @e[tag=c9_steer,limit=1] feet run tp @s ~ ~ ~ ~ ~
  9. /execute at @e[tag=c9_shell] run particle minecraft:dust{color:[1.0,0.28,0.0],scale:2.4} ^ ^ ^-0.6 0.14 0.14 0.14 0 5 force
  10. /execute as @e[tag=c9_shell] at @s if entity @e[tag=c9_target,distance=..2.2] run tag @s add c9_boom
  11. /execute at @e[tag=c9_boom] run particle minecraft:explosion_emitter ~ ~ ~ 0.6 0.6 0.6 0 3 force
  12. /execute at @e[tag=c9_boom] run kill @e[tag=c9_target,distance=..3.0]
  13. /kill @e[tag=c9_boom]
  14. /execute if score #tick c9_t matches 40 unless entity @e[tag=c9_target] run summon minecraft:armor_stand ~11 ~0 ~0 {Tags:["c9_all","c9_target"],Rotation:[0f,0f],NoGravity:1b,Invulnerable:1b,NoBasePlate:1b,ShowArms:1b,Glowing:1b,equipment:{head:{id:"minecraft:target",count:1},chest:{id:"minecraft:iron_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1}}}

How it works

Frames from the test run

Homing Artillery Shells - frame 1Homing Artillery Shells - frame 2Homing Artillery Shells - frame 3

Recorded on our own test server: 44 frames at about 7.3 fps. Our image check saw: An angled iron barrel on a deepslate base fires a glowing netherite ingot shell with an orange particle trail that arcs down and destroys a moving armored target dummy.

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. Clear a flat grass area at least 25 by 25 blocks and stand near the centre where you want the stage.
  2. Run each of the 10 setup commands in chat one by one to create the scoreboard, iron cannon, steering marker, and three patrolling targets.
  3. Place 14 repeating command blocks set to Always Active near the centre, or offset their relative coordinates if placed off-centre.
  4. Paste one loop command into each repeating command block in order from first to last.
  5. Watch the cannon fire glowing orange-trailed shells every 2.25 seconds that curve through the sky to destroy the moving targets.

Use it with real players

To turn this into a real base defense turret, replace tag=c9_target in the steering and detonation commands with type=minecraft:zombie (or any hostile mob) and remove the target respawn command block. If you want a player-fired launcher instead, summon c9_shell at @p eyes facing ~ ~ when a player holds a renamed blaze rod.

Remove it again 3 commands

  1. /kill @e[tag=c9_all]
  2. /scoreboard objectives remove c9_t
  3. /fill ~-11 ~0 ~-3 ~-7 ~2 ~3 minecraft:air

FAQ

Why does the artillery shell curve instead of flying straight at the target?

The steering marker is placed 3.5 blocks ahead of the shell and pulled only 0.9 blocks toward the target each tick, which limits how sharply the shell turns and creates a smooth parabolic arc.

Will the shell explosions break nearby blocks or terrain?

No. The creation uses explosion_emitter particles and targeted entity removal instead of real TNT blasts, so your grass stage and cannon build stay completely intact.

Commands used

/execute/fill/kill/particle/scoreboard/summon/tag/tp

Similar creations

Join 9Minecraft News & Guides