A mechanical field gun angles its barrel and fires arcing explosive shells that whistle through the air before cratering a distant target zone.
Projectiles & MissilesIndustrialTechnologyFireBlackOrangeWhiteMap MakingPvPCinematicBlock displaysArmor standsSmooth animation (interpolation)Block building (fill/setblock/clone)SoundsGlowing outlines21+ commands
The Automated Siege Howitzer is a heavy artillery display constructed using Minecraft's block display entities and scoreboard physics. Positioned on the west side of the stage, an automated engineer operator stands beside a multi-part mechanical field gun that smoothly elevates its barrel, locks onto a bunker across the field, and fires glowing artillery shells.
Each shell follows a true parabolic arc across the arena, trailing fiery embers and whistling through the air before slamming into the target zone with a loud explosion and a shower of shockwave particles, while the howitzer barrel kicks back with realistic recoil.
/scoreboard objectives add c9_t dummy/scoreboard players set #tick c9_t 0/fill ~-9 ~-1 ~-2 ~-5 ~-1 ~2 stone_bricks/fill ~6 ~-1 ~-2 ~10 ~-1 ~2 cobblestone/fill ~7 ~ ~-1 ~9 ~1 ~1 mossy_stone_bricks hollow/summon armor_stand ~-7 ~ ~-2 {Tags:["c9_all","c9_actor"],NoGravity:1b,ShowArms:1b,Rotation:[-45f,0f],equipment:{head:{id:"minecraft:iron_helmet",count:1},chest:{id:"minecraft:chainmail_chestplate",count:1},legs:{id:"minecraft:leather_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1},mainhand:{id:"minecraft:spyglass",count:1}}}/summon block_display ~-8 ~ ~-1 {Tags:["c9_all","c9_base"],block_state:{Name:"minecraft:polished_deepslate"},transformation:{translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],scale:[2.2f,0.6f,2.0f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~-7.2 ~0.5 ~-0.6 {Tags:["c9_all","c9_breech"],block_state:{Name:"minecraft:anvil"},transformation:{translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],scale:[1.4f,1.0f,1.2f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~-7 ~1.0 ~ {Tags:["c9_all","c9_barrel"],block_state:{Name:"minecraft:Smooth_basalt"},transformation:{translation:[0f,-0.25f,-0.25f],left_rotation:[0f,0f,0.173f,0.985f],scale:[3.8f,0.5f,0.5f],right_rotation:[0f,0f,0f,1f]}}/scoreboard players add #tick c9_t 1/execute if score #tick c9_t matches 100.. run scoreboard players set #tick c9_t 0/execute if score #tick c9_t matches 10 as @e[tag=c9_barrel] run data merge entity @s {start_interpolation:0,interpolation_duration:20,transformation:{translation:[0f,-0.25f,-0.25f],left_rotation:[0f,0f,0.382f,0.924f],scale:[3.8f,0.5f,0.5f],right_rotation:[0f,0f,0f,1f]}}/execute if score #tick c9_t matches 15 at @e[tag=c9_barrel] run playsound block.iron_trapdoor.open master @a ~ ~ ~ 1 0.6/execute if score #tick c9_t matches 40 as @e[tag=c9_barrel] run data merge entity @s {start_interpolation:0,interpolation_duration:3,transformation:{translation:[-0.7f,-0.5f,-0.25f],left_rotation:[0f,0f,0.382f,0.924f],scale:[3.8f,0.5f,0.5f],right_rotation:[0f,0f,0f,1f]}}/execute if score #tick c9_t matches 40 run summon block_display ~-4.2 ~3.2 ~ {Tags:["c9_all","c9_shell"],Glowing:1b,glow_color_override:16744192,teleport_duration:1,block_state:{Name:"minecraft:magma_block"},transformation:{translation:[-0.2f,-0.2f,-0.2f],left_rotation:[0f,0f,0f,1f],scale:[0.4f,0.4f,0.4f],right_rotation:[0f,0f,0f,1f]}}/execute if score #tick c9_t matches 40 run particle explosion ~-4.2 ~3.2 ~ 0.2 0.2 0.2 0.05 5 force/execute if score #tick c9_t matches 40 run playsound entity.generic.explode master @a ~-4.2 ~3.2 ~ 1.5 0.7/execute if score #tick c9_t matches 45 as @e[tag=c9_barrel] run data merge entity @s {start_interpolation:0,interpolation_duration:15,transformation:{translation:[0f,-0.25f,-0.25f],left_rotation:[0f,0f,0.382f,0.924f],scale:[3.8f,0.5f,0.5f],right_rotation:[0f,0f,0f,1f]}}/execute as @e[tag=c9_shell] at @s run scoreboard players add @s c9_t 1/execute as @e[tag=c9_shell] at @s run particle flame ~ ~ ~ 0.05 0.05 0.05 0.02 4 force/execute as @e[tag=c9_shell,scores={c9_t=1..14}] at @s run tp @s ~0.43 ~0.35 ~/execute as @e[tag=c9_shell,scores={c9_t=15..29}] at @s run tp @s ~0.43 ~-0.5 ~/execute as @e[tag=c9_shell,scores={c9_t=30..}] at @s store success score @s c9_t run particle explosion_emitter ~ ~ ~ 0 0 0 0 1 force/execute as @e[tag=c9_shell,scores={c9_t=1}] at @s run playsound entity.generic.explode master @a ~ ~ ~ 2 0.5/kill @e[tag=c9_shell,scores={c9_t=1}]setup #9 Summons the elongated smooth basalt barrel using a <code>block_display</code> scaled to 3.8 blocks long and rotated slightly upward using a quaternion in <code>left_rotation</code>.loop #3 At tick 10 of the cycle, the barrel smoothly tilts upward to a 45-degree firing angle over 20 ticks using display entity interpolation.loop #5 At tick 40, the barrel violently recoils backward along its firing axis in just 3 ticks while the shell is spawned at the muzzle.loop #12 Simulates an artillery trajectory: for the first 14 ticks of flight the shell climbs eastwards, and from tick 15 to 29 it plunges downwards into the target bunker.


Recorded on our own test server: 51 frames at about 8.5 fps. Our image check saw: On the left is a small dark-gray turret with an operator figure behind it, firing small particles in an arc toward a stone brick bunker on the right.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let players fire the howitzer on demand instead of using an automatic timer, remove the first two loop commands and trigger /scoreboard players set #tick c9_t 1 with a button or lever placed next to the c9_actor artilleryman station.
/kill @e[tag=c9_all]/scoreboard objectives remove c9_t/fill ~-9 ~-1 ~-2 ~10 ~-1 ~2 grass_block/fill ~7 ~ ~-1 ~9 ~1 ~1 airBlock display entities support built-in transformation interpolation. By setting interpolation_duration and start_interpolation:0, the client smoothly animates the rotation and recoil.
No, the explosion uses explosion_emitter particles and sound effects rather than real TNT, keeping your builds safe while still looking destructive.
/data/execute/fill/kill/particle/playsound/scoreboard/summon/tp
▶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