Build a waddling copper and iron robot from display entities that patrols a walled test pit, tips from side to side, and trails smoke and sparks.
Creatures & ModelsTechnologyIndustrialCuteOrangeWhiteRedDecorationMap MakingBlock displaysItem displaysText displaysArmor standsSmooth animation (interpolation)Riding & passengersSummoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands
The Clumsy Automaton is a self-driving robot constructed from block, item, and text display entities riding an invisible armor stand. It waddles around a copper-walled test pit, tilting its iron torso from side to side while trailing exhaust smoke and sparks.
Whenever the robot detects a wall or obstacle directly ahead, a red exclamation mark pops up above its antenna and it spins in a panic until it finds a clear path forward.
/scoreboard objectives add c9_t dummy/scoreboard objectives add c9_p dummy/fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 minecraft:polished_deepslate/fill ~-5 ~ ~-5 ~5 ~ ~5 minecraft:waxed_copper_block outline/fill ~-4 ~ ~-4 ~4 ~ ~4 minecraft:air/setblock ~2 ~ ~2 minecraft:waxed_oxidized_copper/setblock ~-2 ~ ~-2 minecraft:waxed_oxidized_copper/setblock ~-2 ~ ~2 minecraft:waxed_oxidized_copper/summon minecraft:armor_stand ~ ~ ~ {Tags:["c9_bot"],Invisible:1b,NoGravity:1b,Rotation:[45f,0f],Passengers:[{id:"minecraft:block_display",Tags:["c9_vis","c9_body"],Glowing:1b,block_state:{Name:"minecraft:iron_block"},transformation:{translation:[-0.5f,-1.4f,-0.35f],scale:[1.0f,1.1f,0.7f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},interpolation_duration:3},{id:"minecraft:block_display",Tags:["c9_vis","c9_head"],Glowing:1b,block_state:{Name:"minecraft:waxed_copper_bulb",Properties:{lit:"true"}},transformation:{translation:[-0.4f,-0.25f,-0.4f],scale:[0.8f,0.8f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},interpolation_duration:3},{id:"minecraft:item_display",Tags:["c9_vis","c9_ant"],Glowing:1b,item:{id:"minecraft:lightning_rod",count:1},transformation:{translation:[0f,0.95f,0f],scale:[1.0f,1.0f,1.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:text_display",Tags:["c9_vis","c9_mark"],text:{"text":"!","color":"red","bold":true},billboard:"center",background:0,transformation:{translation:[0f,1.5f,0f],scale:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},interpolation_duration:2}]}/summon minecraft:block_display ~ ~ ~ {Tags:["c9_vis","c9_limb"],Glowing:1b,block_state:{Name:"minecraft:waxed_cut_copper"},transformation:{translation:[-0.6f,0f,-0.25f],scale:[1.2f,0.4f,0.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},teleport_duration:2}/execute as @e[tag=c9_bot] run scoreboard players add @s c9_t 1/execute as @e[tag=c9_bot,scores={c9_t=12..}] run scoreboard players set @s c9_t 0/execute as @e[tag=c9_bot] at @s unless score @s c9_p matches 1.. unless block ^ ^ ^1.15 minecraft:air run scoreboard players set @s c9_p 22/execute as @e[tag=c9_bot,scores={c9_p=1..}] run scoreboard players remove @s c9_p 1/execute as @e[tag=c9_bot] at @s unless score @s c9_p matches 1.. run tp @s ^ ^ ^0.15 ~2 ~/execute as @e[tag=c9_bot,scores={c9_p=1..}] at @s run tp @s ~ ~ ~ ~19 ~/execute as @e[tag=c9_bot] at @s run tp @e[tag=c9_limb] ~ ~ ~ ~ ~/execute as @e[tag=c9_bot,scores={c9_t=1}] at @s run data modify entity @e[tag=c9_body,limit=1,sort=nearest] transformation set value {translation:[-0.5f,-1.4f,-0.35f],scale:[1.0f,1.1f,0.7f],left_rotation:[0.05f,0f,0.12f,0.99f],right_rotation:[0f,0f,0f,1f]}/execute as @e[tag=c9_bot,scores={c9_t=1}] at @s run data modify entity @e[tag=c9_body,limit=1,sort=nearest] start_interpolation set value 0/execute as @e[tag=c9_bot,scores={c9_t=7}] at @s run data modify entity @e[tag=c9_body,limit=1,sort=nearest] transformation set value {translation:[-0.5f,-1.4f,-0.35f],scale:[1.0f,1.1f,0.7f],left_rotation:[0.05f,0f,-0.12f,0.99f],right_rotation:[0f,0f,0f,1f]}/execute as @e[tag=c9_bot,scores={c9_t=7}] at @s run data modify entity @e[tag=c9_body,limit=1,sort=nearest] start_interpolation set value 0/execute as @e[tag=c9_bot,scores={c9_p=21}] at @s run data modify entity @e[tag=c9_mark,limit=1,sort=nearest] transformation.scale set value [5.5f,5.5f,5.5f]/execute as @e[tag=c9_bot,scores={c9_p=1}] at @s run data modify entity @e[tag=c9_mark,limit=1,sort=nearest] transformation.scale set value [0f,0f,0f]/execute as @e[tag=c9_bot] at @s run particle minecraft:campfire_cosy_smoke ^ ^0.6 ^-0.45 0.05 0.05 0.05 0.01 1setup #9 Summons the base invisible armor stand tagged <code>c9_bot</code> with four display passengers: an iron block torso, a glowing lit copper bulb head, a lightning rod antenna, and a hidden exclamation mark text display.loop #3 Checks 1.15 blocks ahead of the robot using local coordinates (<code>^ ^ ^1.15</code>). If the block is not air, it sets the panic timer <code>c9_p</code> to 22 ticks.loop #5 When not panicking, moves the robot forward 0.15 blocks per tick with a slight 2-degree yaw drift so it wanders naturally around the pit.loop #8 At tick 1 of the walk cycle, tilts the iron torso display to the left using a quaternion in <code>left_rotation</code>, then triggers smooth interpolation in the next command.loop #12 Scales the red exclamation mark text display up to <code>5.5</code> whenever the robot bumps into a wall, then scales it back to zero when the turn finishes.


Recorded on our own test server: 60 frames at about 9.8 fps. Our image check saw: A small robot with an iron block torso, copper bulb head, and antenna moves inside a copper-walled test pit, displaying a red exclamation mark near a wall and tilting side to side while emitting smoke particles.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make the automaton follow you instead of wandering inside a pit, replace loop command 5 with /execute as @e[tag=c9_bot] at @s facing entity @p feet unless score @s c9_p matches 1.. run tp @s ^ ^ ^0.15 ~ ~. It will turn toward the nearest player while still pausing and spinning if a wall blocks its way.
/kill @e[tag=c9_vis]/kill @e[tag=c9_bot]/scoreboard objectives remove c9_t/scoreboard objectives remove c9_p/fill ~-5 ~ ~-5 ~5 ~ ~5 minecraft:air/fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 minecraft:grass_blockMounting the torso, head, antenna, and text display as Passengers keeps them locked to the armor stand's position without extra teleport commands, while giving the base its own teleport_duration lets it inherit the stand's yaw rotation smoothly.
Yes. Change the block_state Name in setup commands 9 and 10 to any block you like, such as gold_block or sea_lantern, and adjust the scale values to reshape the automaton.
▶Articulated Centipede Mechanical UndulationCreatures & ModelsExpert23 cmds
▶Cybernetic Eye Dilating Laser ScanCreatures & ModelsMedium24 cmds
▶Articulated Blockwork MascotCreatures & ModelsHard23 cmds
▶Autonomous Strider AutomatonCreatures & ModelsHard24 cmds
▶Floating Voxel PhantomCreatures & ModelsEasy24 cmds
▶Kinematic Galloping ConstructCreatures & ModelsExpert24 cmds