Build an autonomous glowing automaton that scans obstacles with laser particles and weaves through a glowing cybernetic maze on the fly using commands.
Custom MobsTechnologyCyanOrangeRedLearningMini-gameMap MakingArmor standsBlock building (fill/setblock/clone)SoundsRotation math21+ commands
The Maze-Solving Automaton is a fully self-guided armor stand robot that navigates a cybernetic obstacle course without any player controls. Using local raycasting checks in front and to the sides, it detects walls before hitting them, fires cyan and red scanner beams, and calculates sharp 90-degree turns in real time.
As the golden robot glides across the dark prismarine floor, it leaves a glowing trail of electric sparks and dynamically switches between a wall-following logic and obstacle-deflection mode, making it continuously patrol the whole arena on its own.
/scoreboard objectives add c9_timer dummy/scoreboard objectives add c9_turn dummy/fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 dark_prismarine/fill ~-9 ~ ~-9 ~9 ~1 ~9 sea_lantern outline/fill ~-8 ~ ~-8 ~8 ~1 ~8 air/fill ~-6 ~ ~-5 ~2 ~1 ~-5 sea_lantern/fill ~-2 ~ ~-1 ~6 ~1 ~-1 sea_lantern/fill ~-6 ~ ~3 ~2 ~1 ~3 sea_lantern/fill ~-3 ~ ~-4 ~-3 ~1 ~2 waxed_copper_bulb[lit=true]/summon armor_stand ~-7 ~ ~-7 {Tags:["c9_bot"],CustomName:'{"text":"PATHFINDER-09","color":"aqua"}',CustomNameVisible:1b,NoGravity:1b,Glowing:1b,ShowArms:1b,Rotation:[0f,0f],equipment:{head:{id:"minecraft:observer",count:1},chest:{id:"minecraft:golden_chestplate",count:1},legs:{id:"minecraft:golden_leggings",count:1},feet:{id:"minecraft:golden_boots",count:1}}}/execute as @e[tag=c9_bot] run scoreboard players add @s c9_timer 1/execute as @e[tag=c9_bot] at @s run particle dust{color:[0.0,1.0,0.85],scale:1.2} ~ ~0.2 ~ 0.1 0.05 0.1 0 2 force/execute as @e[tag=c9_bot] at @s run particle electric_spark ^ ^1.4 ^0.8 0.05 0.05 0.05 0.02 2 force/execute as @e[tag=c9_bot] at @s unless block ^ ^0.5 ^1.1 air run particle dust{color:[1.0,0.15,0.15],scale:1.6} ^ ^1.2 ^0.9 0.15 0.15 0.15 0 6 force/execute as @e[tag=c9_bot] at @s if block ^ ^0.5 ^1.1 air run tp @s ^ ^ ^0.22/execute as @e[tag=c9_bot] at @s unless block ^ ^0.5 ^1.1 air run scoreboard players set @s c9_turn 1/execute as @e[tag=c9_bot,scores={c9_turn=1}] at @s unless block ^1.5 ^0.5 ^ air if block ^-1.5 ^0.5 ^ air run scoreboard players set @s c9_turn 2/execute as @e[tag=c9_bot,scores={c9_turn=1}] at @s if block ^1.5 ^0.5 ^ air if block ^-1.5 ^0.5 ^ air if score @s c9_timer matches 40.. run scoreboard players set @s c9_turn 2/execute as @e[tag=c9_bot,scores={c9_turn=1}] at @s run tp @s ~ ~ ~ ~-90 ~/execute as @e[tag=c9_bot,scores={c9_turn=2}] at @s run tp @s ~ ~ ~ ~90 ~/execute as @e[tag=c9_bot,scores={c9_turn=1..2}] at @s run playsound block.note_block.bit master @a ~ ~ ~ 0.5 1.8/execute as @e[tag=c9_bot] run scoreboard players set @s c9_turn 0/execute as @e[tag=c9_bot,scores={c9_timer=80..}] run scoreboard players set @s c9_timer 0/execute as @e[tag=c9_bot,scores={c9_timer=40}] at @s if block ^ ^0.5 ^1.1 air if block ^-1.5 ^0.5 ^ air run tp @s ~ ~ ~ ~90 ~loop #4 Checks 1.1 blocks directly in front of the automaton using local coordinates (<code>^ ^0.5 ^1.1</code>). When a wall is detected, it flashes a red warning laser particle cloud at head level.loop #5 If the block in front is clear air, the automaton glides forward by 0.22 blocks per tick along its current facing vector.loop #7 When blocked in front, the automaton scans 1.5 blocks to its left (<code>^1.5 ^0.5 ^</code>) and right (<code>^-1.5 ^0.5 ^</code>). If the left side is blocked and the right side is open, it switches its turn decision from left (1) to right (2).loop #14 Every 40 ticks, if the automaton is cruising next to an open right-hand corridor, it executes an exploratory 90-degree right turn so it weaves through the interior corridors instead of just circling the outer perimeter.


Recorded on our own test server: 57 frames at about 9.4 fps. Our image check saw: A glowing armor stand robot navigates around sea lantern and copper bulb walls on a dark prismarine maze floor while leaving cyan particles behind.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
You can reshape the maze inside the outer ring while the automaton is running! Simply place or break sea_lantern or waxed_copper_bulb blocks in its path and watch it scan the new obstacles and recalculate its route in real time.
/kill @e[tag=c9_bot]/scoreboard objectives remove c9_timer/scoreboard objectives remove c9_turn/fill ~-9 ~ ~-9 ~9 ~2 ~9 air/fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 grass_blockIt uses Minecraft's local caret coordinates (^ ^ ^) inside an execute if block command to test the blocks directly ahead, to the left, and to the right of where the armor stand is facing.
Yes! Because the automaton calculates turns dynamically every tick rather than following a pre-programmed path, you can build any 2-block-wide corridor layout and it will navigate through it.
▶Thread-Spinning Loom Weaver BossCustom MobsExpert23 cmds
▶Da Vinci Ornithopter Griffin AutomatonCustom MobsExpert24 cmds
▶Neon Cyberpunk Hologram KitsuneCustom MobsHard24 cmds
▶Prismatic Stained-Glass Peacock UnfurlingCustom MobsHard24 cmds
▶Steampunk Espresso Machine GolemCustom MobsHard23 cmds
▶Sub-Atomic Electron Cloud ElementalCustom MobsHard24 cmds