Build an autonomous cybernetic hunter bot in vanilla Minecraft that scans the arena, dashes along a glowing vector path, and eliminates monster waves.
Custom MobsTechnologyCyanBlueRedBoss FightPvPAdventure MapArmor standsSummoned mobsRotation math21+ commands
The Automated Hunter Bot is a command-driven sentinel equipped with a glowing diamond visor, full netherite armor, and an enchanted blade. Instead of relying on standard mob AI, this unit uses vector-based command pathfinding to lock onto the nearest threat, project a targeting laser across the terrain, and sprint directly into melee range.
As waves of armored undead spawn around the perimeter, the bot dashes from target to target leaving a cyan thruster trail and unleashing electric shockwaves on impact. It is a great demonstration of how a few repeating command blocks can create custom boss-like allies and automated arena defenders.
/scoreboard objectives add c9_timer dummy/team add c9_bot/team modify c9_bot color aqua/team add c9_prey/team modify c9_prey color red/summon marker ~ ~ ~ {Tags:["c9_ctrl"]}/summon armor_stand ~ ~ ~ {Tags:["c9_bot"],CustomName:{"text":"HUNTER-01","color":"aqua","bold":true},CustomNameVisible:1b,ShowArms:1b,NoBasePlate:1b,NoGravity:1b,Glowing:1b,equipment:{head:{id:"minecraft:diamond_block",count:1},chest:{id:"minecraft:netherite_chestplate",count:1},legs:{id:"minecraft:netherite_leggings",count:1},feet:{id:"minecraft:netherite_boots",count:1},mainhand:{id:"minecraft:diamond_sword",count:1,components:{"minecraft:enchantments":{sharpness:5}}}}}/team join c9_bot @e[tag=c9_bot]/summon husk ~7 ~ ~5 {Tags:["c9_prey"],Glowing:1b,PersistenceRequired:1b,equipment:{head:{id:"minecraft:iron_helmet",count:1}}}/summon stray ~-6 ~ ~-5 {Tags:["c9_prey"],Glowing:1b,PersistenceRequired:1b,equipment:{head:{id:"minecraft:chainmail_helmet",count:1}}}/scoreboard players add @e[tag=c9_ctrl] c9_timer 1/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 90.. run scoreboard players set @e[tag=c9_ctrl] c9_timer 0/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 1 unless entity @e[tag=c9_prey,distance=..22] run summon husk ~7 ~ ~-6 {Tags:["c9_prey"],Glowing:1b,PersistenceRequired:1b,equipment:{head:{id:"minecraft:iron_helmet",count:1}}}/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 30 unless entity @e[tag=c9_prey,distance=..22] run summon stray ~-7 ~ ~6 {Tags:["c9_prey"],Glowing:1b,PersistenceRequired:1b,equipment:{head:{id:"minecraft:golden_helmet",count:1}}}/execute if score @e[tag=c9_ctrl,limit=1] c9_timer matches 60 unless entity @e[tag=c9_prey,distance=..22] run summon zombie ~6 ~ ~7 {Tags:["c9_prey"],Glowing:1b,PersistenceRequired:1b,equipment:{head:{id:"minecraft:turtle_helmet",count:1}}}/team join c9_prey @e[tag=c9_prey,team=!c9_prey]/execute as @e[tag=c9_prey,distance=13..] at @s facing ~ ~ ~ run tp @s ^ ^ ^0.25/execute as @e[tag=c9_bot] at @s if entity @e[tag=c9_prey,distance=..22] facing entity @e[tag=c9_prey,sort=nearest,limit=1] feet positioned ^ ^ ^0.42 rotated ~ 0 run tp @s ~ ~ ~ ~ 0/execute as @e[tag=c9_bot] at @s unless entity @e[tag=c9_prey,distance=..22] facing ~ ~ ~ positioned ^ ^ ^0.15 rotated ~ 0 run tp @s ~ ~ ~ ~ 0/execute at @e[tag=c9_bot] run particle dust{color:[0.0,1.0,0.9],scale:1.2} ~ ~1.0 ~ 0.15 0.3 0.15 0 3 force/execute at @e[tag=c9_bot] facing entity @e[tag=c9_prey,sort=nearest,limit=1] eyes run particle dust{color:[1.0,0.15,0.15],scale:0.9} ^ ^1.5 ^1.5 0.05 0.05 0.05 0 2 force/execute at @e[tag=c9_bot] if entity @e[tag=c9_prey,distance=..2.3] run particle sweep_attack ~ ~1.1 ~ 0.4 0.2 0.4 0 3 force/execute at @e[tag=c9_bot] if entity @e[tag=c9_prey,distance=..2.3] run particle electric_spark ~ ~1.2 ~ 0.5 0.5 0.5 0.2 12 force/execute at @e[tag=c9_bot] as @e[tag=c9_prey,distance=..2.3,limit=1] run damage @s 9 minecraft:mob_attack by @e[tag=c9_bot,limit=1]setup #7 Summons the HUNTER-01 armor stand with a diamond block head, full netherite gear, and a Sharpness V diamond sword using the <code>equipment</code> NBT compound and item components.loop #3 Checks the 90-tick cycle on the controller marker and spawns a new glowing monster wave around the arena perimeter whenever the current wave has been cleared.loop #8 Performs the custom pathfinding: the bot faces the nearest monster's feet, steps 0.42 blocks forward along that local vector using <code>^ ^ ^0.42</code>, and levels its pitch with <code>rotated ~ 0</code> so it never sinks into the grass.loop #11 Projects a red laser targeting dot in front of the bot's visor aligned directly toward the nearest target's eyes.loop #14 Applies 9 points of melee attack damage attributed to the bot whenever a target enters its 2.3-block strike radius, triggering realistic knockback and hit flashes.


Recorded on our own test server: 60 frames at about 9.8 fps. Our image check saw: A cyan-outlined entity named "HUNTER-01" equipped with netherite armor, a diamond helmet, and a diamond sword attacks a red-outlined undead mob while leaving a trail of blue and red particles across the grass.
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 Hunter Bot act as a personal bodyguard that follows you when no monsters are nearby, replace the idle return coordinates facing ~ ~ ~ in loop command 9 with facing entity @p[distance=3..] feet. The bot will automatically patrol around you and dash away to intercept any tagged monsters that enter the area.
/kill @e[tag=c9_bot]/kill @e[tag=c9_prey]/kill @e[tag=c9_ctrl]/team remove c9_bot/team remove c9_prey/scoreboard objectives remove c9_timerYes. Add a repeating command block with /tag @e[type=#minecraft:raiders] add c9_prey or tag zombies and skeletons within range so the bot locks onto naturally spawned monsters.
In loop command 8, change the local forward step ^ ^ ^0.42 to a larger number like ^ ^ ^0.6 for a faster sprint, or a smaller value like ^ ^ ^0.25 for a heavy mech walk.
▶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