Watch an autonomous armor stand use live block sensors, velocity physics, and coordinate math to leap over walls, gaps, and platforms toward a moving beacon.
SimulationsTechnologyWhiteCyanLearningMini-gameBlock displaysArmor standsBlock building (fill/setblock/clone)Rotation math21+ commands
Traditional Minecraft mob pathfinding often struggles with parkour gaps and sudden wall climbs. This command creation replaces standard AI with a custom physics and sensor engine running entirely in command blocks. A glowing armor stand runner scans the terrain immediately ahead of it and uses direct velocity adjustments to leap over hazards, clear water trenches, and climb multi-tiered platforms.
In the demonstration arena, a floating goal beacon relocates every few seconds to one of four different stations—including a high tower, a walled trench, and a water hazard. The runner dynamically calculates the horizontal distance to the target, turns to face it, and uses local coordinate sensors (^ ^ ^) to trigger jumps at the exact tick required to clear obstacles.
/scoreboard objectives add c9_val dummy/fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 polished_deepslate/fill ~-3 ~ ~-1 ~3 ~ ~-1 red_sandstone_wall/fill ~-1 ~ ~-3 ~-1 ~ ~3 red_sandstone_wall/fill ~-7 ~ ~-7 ~-4 ~1 ~-4 prismarine_bricks/fill ~-6 ~2 ~-6 ~-5 ~2 ~-5 sea_lantern/fill ~4 ~-1 ~4 ~7 ~-1 ~7 water/fill ~5 ~ ~5 ~6 ~ ~6 gold_block/summon block_display ~-5.5 ~3.5 ~-5.5 {Tags:["c9_ent","c9_goal"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:beacon"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.8f,0.8f],translation:[-0.4f,-0.4f,-0.4f]}}/summon armor_stand ~ ~ ~ {Tags:["c9_ent","c9_runner"],Glowing:1b,ShowArms:1b,NoBasePlate:1b,equipment:{head:{id:"minecraft:golden_helmet"},chest:{id:"minecraft:diamond_chestplate"},legs:{id:"minecraft:diamond_leggings"},feet:{id:"minecraft:golden_boots"}}}/scoreboard players add #tick c9_val 1/execute if score #tick c9_val matches 90.. run scoreboard players set #tick c9_val 0/execute if score #tick c9_val matches 0 run scoreboard players add #stage c9_val 1/execute if score #stage c9_val matches 4.. run scoreboard players set #stage c9_val 0/execute if score #tick c9_val matches 0 if score #stage c9_val matches 0 run tp @e[tag=c9_goal] ~-5.5 ~3.5 ~-5.5/execute if score #tick c9_val matches 0 if score #stage c9_val matches 1 run tp @e[tag=c9_goal] ~5.5 ~1.5 ~5.5/execute if score #tick c9_val matches 0 if score #stage c9_val matches 2 run tp @e[tag=c9_goal] ~6.0 ~1.0 ~-6.0/execute if score #tick c9_val matches 0 if score #stage c9_val matches 3 run tp @e[tag=c9_goal] ~-6.0 ~1.0 ~6.0/execute as @e[tag=c9_goal] at @s run particle end_rod ~ ~ ~ 0.3 0.5 0.3 0.02 2 force/execute as @e[tag=c9_runner] at @s facing entity @e[tag=c9_goal,limit=1] feet run tp @s ~ ~ ~ ~ 0/execute as @e[tag=c9_runner] at @s unless entity @e[tag=c9_goal,distance=..1.5] rotated ~ 0 run tp @s ^ ^ ^0.24/execute as @e[tag=c9_runner] at @s rotated ~ 0 unless block ^ ^ ^0.75 air if block ~ ~-0.1 ~ #minecraft:mineable/pickaxe run data modify entity @s Motion[1] set value 0.52d/execute as @e[tag=c9_runner] at @s rotated ~ 0 if block ^ ^-1 ^0.8 water unless block ~ ~-0.5 ~ water run data modify entity @s Motion[1] set value 0.52d/execute as @e[tag=c9_runner] at @s run particle dust{color:[0.1,0.9,1.0],scale:1.0} ~ ~0.2 ~ 0.1 0.1 0.1 0 3 forceloop #10 Rotates the runner horizontally to face the current position of the goal beacon while locking its vertical pitch to 0 degrees so forward movement stays level.loop #11 Propels the runner forward by 0.24 blocks per tick using local coordinates (^ ^ ^0.24) as long as it has not yet reached within 1.5 blocks of the goal.loop #12 Acts as a forward wall sensor: if the block 0.75 meters ahead is not air and the runner is currently standing on solid stone/prismarine, it injects 0.52 upward velocity into Motion[1] to jump.loop #13 Acts as a gap and hazard sensor: if the floor 0.8 meters ahead is water and the runner is still on dry land, it triggers a high leap over the trench onto the gold island.


Recorded on our own test server: 68 frames at about 9.7 fps. Our image check saw: A glowing armor stand navigates an obstacle course with fences, water, and raised platforms to capture a flag.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let a real player control the target destination instead of using the automated timer, remove loop commands 1 through 8 and run /execute at @p run tp @e[tag=c9_goal] ^ ^1 ^5 in a repeating command block. The runner will dynamically navigate the obstacles toward wherever you point your crosshair.
/kill @e[tag=c9_ent]/scoreboard objectives remove c9_val/fill ~-9 ~ ~-9 ~9 ~4 ~9 air/fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 grass_blockModifying Motion[1] gives the armor stand real upward velocity, allowing Minecraft's native gravity to create a smooth parabolic jump arc while forward teleportation carries it across obstacles.
The wall sensor command checks 'if block ~ ~-0.1 ~ #minecraft:mineable/pickaxe', ensuring the runner only triggers a vertical velocity boost when its feet are touching the arena floor or platforms.
▶Four-Dimensional Hypercube Tesseract RotationSimulationsExpert24 cmds
▶Holographic DNA Double-Helix SplicerSimulationsHard24 cmds
▶Magnetic Ferrofluid Audio VisualizerSimulationsHard24 cmds
▶Microscopic Bacteriophage Viral InjectionSimulationsHard24 cmds
▶Monumental Dam Spillway Floodgate ReleaseSimulationsHard24 cmds