Two opposing platoons of animated clockwork mannequins autonomously march, swing weapons, and clash with sparks across a glowing brass battlefield.
Custom MobsIndustrialTechnologyMedievalRedBlueGoldDecorationMini-gameCinematicItem displaysArmor standsBlock building (fill/setblock/clone)21+ commands
The Clockwork Battalion Skirmish transforms a flat patch of ground into an automated steampunk battleground. Two opposing platoons—the Crimson Gears and the Cobalt Cogs—continuously deploy along a brass-inlaid floor, marching toward the center with synchronized leg and arm animations while bronze wind-up keys spin above their heads.
When the front lines meet, the mannequins stop marching and trade blows, sending sprays of fiery sparks and smoke into the air until one soldier shatters into a cloud of copper and gold dust. The entire skirmish runs by itself using scoreboards, armor stand pose cycles, and block display entities.
/scoreboard objectives add c9_clk dummy/scoreboard objectives add c9_hp dummy/scoreboard objectives add c9_anim dummy/team add c9_red/team modify c9_red color red/team add c9_blue/team modify c9_blue color aqua/fill ~-12 ~-1 ~-4 ~12 ~-1 ~4 waxed_copper_block/fill ~-12 ~-1 ~-2 ~12 ~-1 ~2 deepslate_tiles/summon item_display ~ ~1.5 ~ {Tags:["c9_unit","c9_core"],item:{id:"minecraft:clock",count:1},billboard:"center",Glowing:1b,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.6f,1.6f,1.6f],translation:[0f,0f,0f]}}/scoreboard players add #tick c9_clk 1/execute if score #tick c9_clk matches 40.. run scoreboard players set #tick c9_clk 0/execute if score #tick c9_clk matches 1 if entity @e[tag=c9_red,limit=6] run scoreboard players set #r_full c9_clk 1/execute if score #tick c9_clk matches 1 unless score #r_full c9_clk matches 1 positioned ~-10 ~ ~-2 run summon armor_stand ~ ~ ~ {Tags:["c9_unit","c9_soldier","c9_red"],ShowArms:1b,NoBasePlate:1b,Glowing:1b,Team:"c9_red",Rotation:[-90f,0f],equipment:{mainhand:{id:"minecraft:golden_sword",count:1},offhand:{id:"minecraft:shield",count:1},head:{id:"minecraft:waxed_cut_copper",count:1},chest:{id:"minecraft:golden_chestplate",count:1},legs:{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":11546150}},feet:{id:"minecraft:iron_boots",count:1}}}/execute if score #tick c9_clk matches 21 unless score #r_full c9_clk matches 1 positioned ~-10 ~ ~2 run summon armor_stand ~ ~ ~ {Tags:["c9_unit","c9_soldier","c9_red"],ShowArms:1b,NoBasePlate:1b,Glowing:1b,Team:"c9_red",Rotation:[-90f,0f],equipment:{mainhand:{id:"minecraft:golden_axe",count:1},head:{id:"minecraft:redstone_lamp",count:1},chest:{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":11546150}},legs:{id:"minecraft:golden_leggings",count:1},feet:{id:"minecraft:golden_boots",count:1}}}/scoreboard players set #r_full c9_clk 0/execute if score #tick c9_clk matches 11 unless entity @e[tag=c9_blue,distance=..18,limit=6] positioned ~10 ~ ~-2 run summon armor_stand ~ ~ ~ {Tags:["c9_unit","c9_soldier","c9_blue"],ShowArms:1b,NoBasePlate:1b,Glowing:1b,Team:"c9_blue",Rotation:[90f,0f],equipment:{mainhand:{id:"minecraft:iron_sword",count:1},offhand:{id:"minecraft:shield",count:1},head:{id:"minecraft:waxed_oxidized_cut_copper",count:1},chest:{id:"minecraft:iron_chestplate",count:1},legs:{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":3847130}},feet:{id:"minecraft:golden_boots",count:1}}}/execute if score #tick c9_clk matches 31 unless entity @e[tag=c9_blue,distance=..18,limit=6] positioned ~10 ~ ~2 run summon armor_stand ~ ~ ~ {Tags:["c9_unit","c9_soldier","c9_blue"],ShowArms:1b,NoBasePlate:1b,Glowing:1b,Team:"c9_blue",Rotation:[90f,0f],equipment:{mainhand:{id:"minecraft:iron_axe",count:1},head:{id:"minecraft:sea_lantern",count:1},chest:{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":3847130}},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1}}}/execute as @e[tag=c9_soldier] unless score @s c9_hp matches 1.. run scoreboard players set @s c9_hp 75/execute as @e[tag=c9_red] at @s unless entity @e[tag=c9_blue,distance=..1.8] unless entity @e[tag=c9_red,distance=0.1..1.4,dx=2] run tp @s ~0.09 ~ ~/execute as @e[tag=c9_blue] at @s unless entity @e[tag=c9_red,distance=..1.8] unless entity @e[tag=c9_blue,distance=0.1..1.4,dx=-2] run tp @s ~-0.09 ~ ~/execute as @e[tag=c9_soldier] at @s run scoreboard players add @s c9_anim 1/execute as @e[tag=c9_soldier,scores={c9_anim=1..10}] run data merge entity @s {Pose:{LeftLeg:[28f,0f,0f],RightLeg:[-28f,0f,0f],RightArm:[-95f,15f,0f],LeftArm:[20f,0f,0f]}}/execute as @e[tag=c9_soldier,scores={c9_anim=11..20}] at @s run data merge entity @s {Pose:{LeftLeg:[-28f,0f,0f],RightLeg:[28f,0f,0f],RightArm:[-30f,-15f,0f],LeftArm:[-20f,0f,0f]}}loop #4 Spawns a Crimson Gears clockwork soldier on the left flank every two seconds if fewer than 6 red soldiers exist. It equips copper and gold armor along with dyed leather leggings using 26.x item component syntax.loop #10 Advances the red soldiers forward by 0.09 blocks per tick, stopping automatically when they come within 1.8 blocks of a blue enemy or 1.4 blocks behind an allied soldier.loop #13 Animates the soldiers' legs and weapon arms by alternating their <code>Pose</code> NBT data between two keyframes based on their personal <code>c9_anim</code> score.loop #14 Completes the second half of the marching and swinging animation cycle. Combined with two extra combat commands in the chain, soldiers reset their cycle at tick 20 and deal damage when clashing.


Recorded on our own test server: 60 frames at about 9.9 fps. Our image check saw: Red and blue glowing armor stands march in opposite directions along a copper-bordered dark stone track beneath a floating clock icon.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To join the battle yourself or command a platoon, run /team join c9_red @s or /team join c9_blue @s. You can summon reinforcements at your own position by replacing the fixed spawn coordinates (~-10 ~ ~-2) in the summon commands with execute at @p run summon armor_stand ~ ~ ~ ... triggered by holding a clock item.
/kill @e[tag=c9_unit]/scoreboard objectives remove c9_clk/scoreboard objectives remove c9_hp/scoreboard objectives remove c9_anim/team remove c9_red/team remove c9_blue/fill ~-12 ~-1 ~-4 ~12 ~-1 ~4 grass_blockEach movement command checks for opposing soldiers within 1.8 blocks and friendly soldiers ahead of them within 1.4 blocks. This keeps them in neat battle lines instead of overlapping inside each other.
No. The spawn commands check that fewer than 6 soldiers exist per team before summoning a new mannequin, capping the total platoon count at 12 active soldiers on the field.
▶Da Vinci Ornithopter Griffin AutomatonCustom MobsExpert24 cmds
▶Lumbering Walking Castle BossCustom MobsExpert20 cmds
▶Steampunk Espresso Machine GolemCustom MobsHard23 cmds
▶Autonomous Scout MechCustom MobsExpert24 cmds
▶Procedural Strider AutomatonCustom MobsExpert24 cmds
▶Tactical Cover SentriesCustom MobsHard26 cmds