Oversized glowing artillery shells launch from a heavy iron cannon, curve through the air, and lock onto moving targets before obliterating them.
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.
/scoreboard objectives add c9_t dummy/scoreboard players set #tick c9_t 0/fill ~-11 ~0 ~-3 ~-7 ~0 ~3 minecraft:polished_deepslate/fill ~-10 ~1 ~-2 ~-8 ~1 ~2 minecraft:deepslate_bricks/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]}}/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]}}/summon minecraft:marker ~ ~ ~ {Tags:["c9_all","c9_steer"]}/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}}}/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}}}/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}}}/scoreboard players add #tick c9_t 1/execute if score #tick c9_t matches 45.. run scoreboard players set #tick c9_t 0/execute as @e[tag=c9_target] at @s run tp @s ^ ^ ^0.20 ~2.6 ~/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]}}/execute as @e[tag=c9_shell] at @s run tp @s ^ ^ ^0.76/execute at @e[tag=c9_shell] run tp @e[tag=c9_steer,limit=1] ^ ^ ^3.5/execute as @e[tag=c9_steer] at @s facing entity @e[tag=c9_target,limit=1,sort=nearest] eyes run tp @s ^ ^ ^0.9/execute as @e[tag=c9_shell] at @s facing entity @e[tag=c9_steer,limit=1] feet run tp @s ~ ~ ~ ~ ~/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/execute as @e[tag=c9_shell] at @s if entity @e[tag=c9_target,distance=..2.2] run tag @s add c9_boom/execute at @e[tag=c9_boom] run particle minecraft:explosion_emitter ~ ~ ~ 0.6 0.6 0.6 0 3 force/execute at @e[tag=c9_boom] run kill @e[tag=c9_target,distance=..3.0]/kill @e[tag=c9_boom]/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}}}setup #5 Summons the angled heavy iron barrel as a stretched <code>block_display</code> with <code>scale:[1.2f,1.2f,3.8f]</code> pitched upward at <code>-50f</code> degrees.loop #4 Every 45 ticks, spawns an oversized glowing <code>netherite_block</code> artillery shell at the cannon muzzle with <code>teleport_duration:2</code> for smooth flight motion.loop #6 Places the invisible <code>c9_steer</code> marker 3.5 blocks ahead of the shell so the next commands can pull its aim gradually toward the nearest target.loop #7 Nudges <code>c9_steer</code> 0.9 blocks toward the closest <code>c9_target</code>, creating a smooth curving turn rate instead of an instant snap.loop #8 Rotates the <code>c9_shell</code> to face the adjusted <code>c9_steer</code> point before the next tick moves it forward.loop #11 Triggers the explosion burst and clears any target within 3 blocks once a shell enters detonation range.


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.
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.
/kill @e[tag=c9_all]/scoreboard objectives remove c9_t/fill ~-11 ~0 ~-3 ~-7 ~2 ~3 minecraft:airThe 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.
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.
▶Magnetic Rail-Track Javelin AssemblerProjectiles & MissilesExpert22 cmds
▶Steampunk Piston-Hammer Pilebunker GauntletProjectiles & MissilesMedium24 cmds
▶16-Way Automated ArtilleryProjectiles & MissilesHard25 cmds
▶Heat-Seeking Rocket LauncherProjectiles & MissilesMedium19 cmds
▶Homing Missile AirstrikeProjectiles & MissilesHard22 cmds
▶Automated Homing Missile SentryProjectiles & MissilesHard21 cmds