Synchronized Artillery Barrage

A row of five heavy cannons fires a staggered volley of smoking shells that arc across the field and detonate in rhythmic fiery explosions on a target platform.

Java EditionWands, Weapons & ToolsMedium23 commandsTested on a real 26.2 & 26.3 server
Glowing magma blocks arc across a dark field, leaving fiery smoke trails toward a magma pit. Download the GIF Video & GIF © www.9minecraft.net

Projectiles & MissilesFireMedievalOrangeRedBlackCinematicAdventure MapPvPBlock displaysSmooth animation (interpolation)Riding & passengersBlock building (fill/setblock/clone)Glowing outlines21+ commands

The Synchronized Artillery Barrage sets up a fortified battery of five heavy launchers at one end of the field and a reinforced impact zone at the other. On a continuous cycle, the cannons fire one after another from left to right, sending glowing magma shells along a high parabolic arc with thick smoke and flame trails.

Each shell follows a simulated gravity curve using scoreboard velocity before slamming into the target deck in a staggered, rhythmic chain of explosions, complete with flash particles, shockwave clouds, and heavy cannon sound effects.

1. Setup - type these once 9 commands

  1. /scoreboard objectives add c9_t dummy
  2. /scoreboard objectives add c9_vy dummy
  3. /scoreboard objectives add c9_c dummy
  4. /fill ~-9 ~ ~-13 ~9 ~ ~-11 stone_bricks
  5. /fill ~-9 ~1 ~-11 ~9 ~1 ~-11 stone_brick_wall
  6. /fill ~-9 ~ ~9 ~9 ~ ~13 deepslate_tiles
  7. /fill ~-8 ~ ~10 ~8 ~ ~12 magma_block
  8. /summon marker ~-8 ~1 ~-12 {Tags:["c9_ctrl","c9_gun","c9_g0"]}
  9. /summon marker ~-4 ~1 ~-12 {Tags:["c9_gun","c9_g1"],Passengers:[{id:"minecraft:marker",Tags:["c9_init"]}]}

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

  1. /execute if entity @e[tag=c9_init] run summon marker ~ ~1 ~-12 {Tags:["c9_gun","c9_g2"]}
  2. /execute if entity @e[tag=c9_init] run summon marker ~4 ~1 ~-12 {Tags:["c9_gun","c9_g3"]}
  3. /execute if entity @e[tag=c9_init] run summon marker ~8 ~1 ~-12 {Tags:["c9_gun","c9_g4"]}
  4. /execute if entity @e[tag=c9_init] as @e[tag=c9_gun] at @s run summon block_display ~-0.35 ~ ~-0.5 {Tags:["c9_obj"],Glowing:1b,block_state:{Name:"minecraft:dispenser",Properties:{facing:"south"}},transformation:{left_rotation:[0.1736f,0f,0f,0.9848f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,0.7f,1.4f],translation:[0f,0f,0f]}}
  5. /kill @e[tag=c9_init]
  6. /scoreboard players add @e[tag=c9_ctrl] c9_t 1
  7. /scoreboard players set @e[tag=c9_ctrl,scores={c9_t=70..}] c9_t 0
  8. /execute if entity @e[tag=c9_ctrl,scores={c9_t=5}] at @e[tag=c9_g0] run summon block_display ~ ~0.6 ~0.8 {Tags:["c9_obj","c9_shell","c9_new"],Glowing:1b,glow_color_override:16744448,teleport_duration:1,block_state:{Name:"minecraft:magma_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,0.45f,0.45f],translation:[-0.225f,-0.225f,-0.225f]}}
  9. /execute if entity @e[tag=c9_ctrl,scores={c9_t=13}] at @e[tag=c9_g1] run summon block_display ~ ~0.6 ~0.8 {Tags:["c9_obj","c9_shell","c9_new"],Glowing:1b,glow_color_override:16744448,teleport_duration:1,block_state:{Name:"minecraft:magma_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,0.45f,0.45f],translation:[-0.225f,-0.225f,-0.225f]}}
  10. /execute if entity @e[tag=c9_ctrl,scores={c9_t=21}] at @e[tag=c9_g2] run summon block_display ~ ~0.6 ~0.8 {Tags:["c9_obj","c9_shell","c9_new"],Glowing:1b,glow_color_override:16744448,teleport_duration:1,block_state:{Name:"minecraft:magma_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,0.45f,0.45f],translation:[-0.225f,-0.225f,-0.225f]}}
  11. /execute if entity @e[tag=c9_ctrl,scores={c9_t=29}] at @e[tag=c9_g3] run summon block_display ~ ~0.6 ~0.8 {Tags:["c9_obj","c9_shell","c9_new"],Glowing:1b,glow_color_override:16744448,teleport_duration:1,block_state:{Name:"minecraft:magma_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,0.45f,0.45f],translation:[-0.225f,-0.225f,-0.225f]}}
  12. /execute if entity @e[tag=c9_ctrl,scores={c9_t=37}] at @e[tag=c9_g4] run summon block_display ~ ~0.6 ~0.8 {Tags:["c9_obj","c9_shell","c9_new"],Glowing:1b,glow_color_override:16744448,teleport_duration:1,block_state:{Name:"minecraft:magma_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,0.45f,0.45f],translation:[-0.225f,-0.225f,-0.225f]}}
  13. /execute as @e[tag=c9_new] at @s run particle lava ~ ~ ~ 0.2 0.2 0.2 0.1 8 force
  14. /execute as @e[tag=c9_shell] at @s run tp @s ~ ~0.48 ~0.92

How it works

Frames from the test run

Synchronized Artillery Barrage - frame 1Synchronized Artillery Barrage - frame 2Synchronized Artillery Barrage - frame 3

Recorded on our own test server: 50 frames at about 9.9 fps. Our image check saw: Glowing magma blocks arc through the night sky leaving trails of fire and smoke between a distant stone wall and a foreground magma pit.

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. Stand at the center of a flat 41x41 area facing South.
  2. Run each command from the Setup list once in chat to build the artillery deck, target zone, and cannon markers.
  3. Place 14 repeating command blocks (set to Always Active) near the center or run them through a command harness centered on your starting block.
  4. Paste one Loop command into each repeating command block.
  5. Watch the five launchers automatically initialize their barrels and fire staggered volleys across the stage.

Use it with real players

To let a player trigger a volley manually instead of firing on an automatic timer, remove the scoreboard reset command on c9_ctrl and give the player a carrot on a stick. Set c9_t on c9_ctrl to 1 whenever the player right-clicks, and let the score count up past 70 until the next click.

Remove it again 6 commands

  1. /kill @e[tag=c9_gun]
  2. /kill @e[tag=c9_obj]
  3. /fill ~-9 ~ ~-13 ~9 ~1 ~13 air
  4. /scoreboard objectives remove c9_t
  5. /scoreboard objectives remove c9_vy
  6. /scoreboard objectives remove c9_c

FAQ

Why do the cannon barrels tilt at an angle without using mods?

They are block_display entities using a quaternion left_rotation in their transformation NBT, which lets vanilla Minecraft tilt any block model smoothly.

How do the projectiles move smoothly instead of stepping block by block?

Each shell is a block_display entity with teleport_duration set to 1, instructing the client to interpolate every teleport command smoothly over each tick.

Commands used

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

Similar creations

Join 9Minecraft News & Guides