Watch four miniature armored workers autonomously walk around a stone and ore quarry, swing pickaxes, shatter blocks, and spark dust without any player input.
Custom MobsIndustrialMedievalGoldCyanBlackDecorationMap MakingAdventure MapArmor standsBlock building (fill/setblock/clone)Rotation math21+ commands
Four miniature armored miners march around a layered outcrop of stone, gold ore, and diamond ore, swinging their pickaxes and carving tunnels entirely on their own. Golden dust sparks burst on every strike as blocks shatter into collectible drops on the deepslate quarry floor.
Once the outcrop is chipped away, the crew steps clear while the quarry stone automatically regenerates for nonstop mining action.
/scoreboard objectives add c9_t dummy/fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 cobbled_deepslate/fill ~-3 ~ ~-3 ~3 ~1 ~3 stone/fill ~-3 ~1 ~-1 ~3 ~1 ~1 gold_ore/fill ~-1 ~ ~-3 ~1 ~ ~3 diamond_ore/summon armor_stand ~-4.2 ~ ~-1 {Tags:["c9_w"],Small:1b,ShowArms:1b,NoBasePlate:1b,NoGravity:1b,Glowing:1b,Rotation:[-75.0f,0.0f],CustomName:{"text":"Miner Pip","color":"gold"},CustomNameVisible:1b,equipment:{head:{id:"minecraft:golden_helmet",count:1},chest:{id:"minecraft:iron_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1},mainhand:{id:"minecraft:iron_pickaxe",count:1,components:{"minecraft:enchantments":{efficiency:3}}}}}/summon armor_stand ~4.2 ~ ~1 {Tags:["c9_w"],Small:1b,ShowArms:1b,NoBasePlate:1b,NoGravity:1b,Glowing:1b,Rotation:[105.0f,0.0f],CustomName:{"text":"Miner Brix","color":"aqua"},CustomNameVisible:1b,equipment:{head:{id:"minecraft:diamond_helmet",count:1},chest:{id:"minecraft:iron_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1},mainhand:{id:"minecraft:diamond_pickaxe",count:1,components:{"minecraft:enchantments":{efficiency:3}}}}}/summon armor_stand ~1 ~ ~-4.2 {Tags:["c9_w"],Small:1b,ShowArms:1b,NoBasePlate:1b,NoGravity:1b,Glowing:1b,Rotation:[15.0f,0.0f],CustomName:{"text":"Miner Cole","color":"green"},CustomNameVisible:1b,equipment:{head:{id:"minecraft:iron_helmet",count:1},chest:{id:"minecraft:chainmail_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1},mainhand:{id:"minecraft:iron_pickaxe",count:1}}}/summon armor_stand ~-1 ~ ~4.2 {Tags:["c9_w"],Small:1b,ShowArms:1b,NoBasePlate:1b,NoGravity:1b,Glowing:1b,Rotation:[-165.0f,0.0f],CustomName:{"text":"Miner Tug","color":"yellow"},CustomNameVisible:1b,equipment:{head:{id:"minecraft:turtle_helmet",count:1},chest:{id:"minecraft:golden_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:golden_boots",count:1},mainhand:{id:"minecraft:golden_pickaxe",count:1},offhand:{id:"minecraft:lantern",count:1}}}/summon marker ~ ~ ~ {Tags:["c9_ctrl"]}/scoreboard players add #tick c9_t 1/execute if score #tick c9_t matches 10.. run scoreboard players set #tick c9_t 0/scoreboard players add #regen c9_t 1/execute as @e[tag=c9_w] at @s if block ^ ^ ^0.9 air if block ^ ^1 ^0.9 air run tp @s ^ ^ ^0.09 ~1.2 ~/execute as @e[tag=c9_w,distance=4.5..] at @s run tp @s ~ ~ ~ facing entity @e[tag=c9_ctrl,limit=1] feet/execute if score #tick c9_t matches 0 as @e[tag=c9_w] run data merge entity @s {Pose:{RightArm:[-115f,0f,-10f],LeftArm:[-35f,0f,10f]}}/execute if score #tick c9_t matches 5 as @e[tag=c9_w] run data merge entity @s {Pose:{RightArm:[-25f,0f,5f],LeftArm:[-10f,0f,-5f]}}/execute if score #tick c9_t matches 5 as @e[tag=c9_w] at @s if block ^ ^1 ^0.9 air unless block ^ ^ ^0.9 air run setblock ^ ^ ^0.9 air destroy/execute if score #tick c9_t matches 5 as @e[tag=c9_w] at @s unless block ^ ^1 ^0.9 air run setblock ^ ^1 ^0.9 air destroy/execute if score #tick c9_t matches 5 as @e[tag=c9_w] at @s unless block ^ ^ ^0.9 air run particle dust{color:[1.0,0.8,0.2],scale:1.3} ^ ^0.8 ^0.8 0.3 0.3 0.3 0 12/execute if score #regen c9_t matches 318 as @e[tag=c9_w,distance=..4.3] at @s facing entity @e[tag=c9_ctrl,limit=1] feet run tp @s ^ ^ ^-4.5/execute if score #regen c9_t matches 319 run kill @e[type=item,distance=..14]/execute if score #regen c9_t matches 320 run fill ~-3 ~ ~-3 ~3 ~1 ~3 stone/execute if score #regen c9_t matches 321.. run scoreboard players set #regen c9_t 0setup #6 <p>Spawns each miniature worker as a <code>Small:1b</code>, <code>Glowing:1b</code> armor stand with visible arms and <code>equipment</code> NBT holding a helmet, armor set, and pickaxe.</p>loop #4 <p>Checks whether the two blocks directly ahead (<code>^ ^ ^0.9</code> and <code>^ ^1 ^0.9</code>) are air. When the path is clear, the worker steps forward and curves gently by <code>1.2</code> degrees per tick.</p>loop #5 <p>Whenever a worker wanders <code>4.5</code> blocks or more from the quarry center, it turns back to face the central <code>c9_ctrl</code> marker so the crew stays focused on the outcrop.</p>loop #9 <p>On the down-swing tick (<code>#tick = 5</code>), workers break the upper block first with <code>setblock ... air destroy</code>, then break the lower block on the next swing so no blocks float in midair.</p>loop #11 <p>Every 16 seconds (<code>#regen = 318..320</code>), any workers inside the quarry are pushed safely outward, old item drops are cleared, and the stone outcrop is restored.</p>


Recorded on our own test server: 60 frames at about 9.8 fps. Our image check saw: Four glowing miniature armor stands named as miners move through an outcrop of stone, gold ore, and diamond ore on a deepslate platform, leaving behind dropped diamond, cobblestone, and raw gold items.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
/kill @e[tag=c9_w]/kill @e[tag=c9_ctrl]/kill @e[type=item,distance=..14]/scoreboard objectives remove c9_t/fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 grass_block/fill ~-3 ~ ~-3 ~3 ~1 ~3 airYes. Edit the 13th loop command and replace stone with another block such as deepslate, andesite, or iron_ore.
The 12th loop command clears loose drops right before the quarry resets so item entities never build up and cause lag.
/data/execute/fill/kill/particle/scoreboard/setblock/summon/tp
▶Da Vinci Ornithopter Griffin AutomatonCustom MobsExpert24 cmds
▶Lumbering Walking Castle BossCustom MobsExpert20 cmds
▶Clockwork Battalion SkirmishCustom MobsMedium24 cmds
▶The Industrious Villager BuilderCustom MobsHard22 cmds
▶Molten Waffle-Iron Lava GolemCustom MobsMedium23 cmds
▶Steampunk Espresso Machine GolemCustom MobsHard23 cmds