Turn a normal zombie into an aggressive PvP bot in Netherite armor that strafes, jump-crits, and W-taps around its target using Minecraft commands.
Custom MobsDarkMedievalBlackRedWhitePvPMini-gameBoss FightSummoned mobsRotation math13-20 commands
Standard Minecraft zombies walk in a straight line toward their target, making them easy to defeat. This command creation upgrades a zombie into an aggressive PvP bot wearing glowing Netherite armor that mimics competitive player movement.
In this self-running demo, the PvP Pro-Bot circles an Iron Golem training dummy at the center of the stage. It performs left-and-right strafing runs, leaps into the air to land critical hits with sweep and crit particle bursts, and keeps a tight combat spacing while leaving a red speed trail behind it.
/scoreboard objectives add c9_timer dummy/scoreboard players set #tick c9_timer 0/summon iron_golem ~ ~ ~ {Tags:["c9_ent","c9_dummy"],NoAI:1b,Silent:1b,Invulnerable:1b,Glowing:1b,CustomName:{text:"Training Dummy",color:"aqua",bold:true},CustomNameVisible:1b}/summon zombie ~ ~ ~3.2 {Tags:["c9_ent","c9_bot"],IsBaby:0b,Glowing:1b,Silent:1b,PersistenceRequired:1b,CustomName:{text:"PvP_Pro_Bot",color:"red",bold:true},CustomNameVisible:1b,equipment:{mainhand:{id:"minecraft:diamond_sword",count:1,components:{"minecraft:enchantment_glint_override":true}},offhand:{id:"minecraft:totem_of_undying",count:1},feet:{id:"minecraft:netherite_boots",count:1,components:{"minecraft:enchantment_glint_override":true}},legs:{id:"minecraft:netherite_leggings",count:1,components:{"minecraft:enchantment_glint_override":true}},chest:{id:"minecraft:netherite_chestplate",count:1,components:{"minecraft:enchantment_glint_override":true}},head:{id:"minecraft:netherite_helmet",count:1,components:{"minecraft:enchantment_glint_override":true}}}}/scoreboard players add #tick c9_timer 1/execute if score #tick c9_timer matches 80.. run scoreboard players set #tick c9_timer 0/execute if score #tick c9_timer matches 0..39 as @e[tag=c9_bot] at @s facing entity @e[tag=c9_dummy,limit=1] feet positioned ^0.28 ^ ^0.18 facing entity @e[tag=c9_dummy,limit=1] feet run tp @s ~ ~ ~ ~ 0/execute if score #tick c9_timer matches 40..79 as @e[tag=c9_bot] at @s facing entity @e[tag=c9_dummy,limit=1] feet positioned ^-0.28 ^ ^0.18 facing entity @e[tag=c9_dummy,limit=1] feet run tp @s ~ ~ ~ ~ 0/execute as @e[tag=c9_dummy] at @s as @e[tag=c9_bot,distance=..2.5] at @s facing entity @e[tag=c9_dummy,limit=1] feet positioned ^ ^ ^-0.35 run tp @s ~ ~ ~ ~ 0/execute as @e[tag=c9_dummy] at @s as @e[tag=c9_bot,distance=4.0..] at @s facing entity @e[tag=c9_dummy,limit=1] feet positioned ^ ^ ^0.35 run tp @s ~ ~ ~ ~ 0/execute if score #tick c9_timer matches 15..19 as @e[tag=c9_bot] at @s run tp @s ~ ~0.35 ~/execute if score #tick c9_timer matches 55..59 as @e[tag=c9_bot] at @s run tp @s ~ ~0.35 ~/execute as @e[tag=c9_bot] at @s run particle dust{color:[1.0,0.15,0.1],scale:1.6} ~ ~0.3 ~ 0.25 0.15 0.25 0 4/execute if score #tick c9_timer matches 20 as @e[tag=c9_dummy] at @s run particle sweep_attack ~ ~1.3 ~ 0.4 0.3 0.4 0 5/execute if score #tick c9_timer matches 20 as @e[tag=c9_dummy] at @s run particle crit ~ ~1.5 ~ 0.5 0.5 0.5 0.4 35/execute if score #tick c9_timer matches 60 as @e[tag=c9_dummy] at @s run particle sweep_attack ~ ~1.3 ~ 0.4 0.3 0.4 0 5setup #4 Summons the PvP Pro-Bot zombie equipped with a full set of enchanted-looking Netherite armor, a glowing Diamond Sword, and a Totem of Undying in its offhand using the equipment NBT format.loop #3 For the first 40 ticks of the cycle, the bot faces the target and teleports slightly to the left (^0.28) and forward (^0.18) using local coordinates, creating a smooth circling strafe.loop #4 During ticks 40 to 79, the local X offset flips to ^-0.28 so the bot reverses its strafe direction just like an unpredictable PvP player.loop #5 Simulates W-tap spacing: whenever the bot gets closer than 2.5 blocks to the target, it steps backward (^-0.35) to stay out of counter-attack reach.loop #7 Lifts the zombie upward over 5 ticks right before an attack so it falls down onto the target for a jump-critical hit.loop #10 Triggers a cluster of sword sweep particles on the target right as the bot lands from its jump-crit at tick 20.


Recorded on our own test server: 58 frames at about 9.6 fps. Our image check saw: A glowing zombie in Netherite armor leaps around and attacks an Iron Golem on a grass platform, producing red particles.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To fight the PvP Pro-Bot yourself, do not summon the Iron Golem dummy in setup command 3. In every loop command, replace @e[tag=c9_dummy,limit=1] and @e[tag=c9_dummy] with @p[distance=..16] so the zombie locks onto the nearest player, strafes around you, and deals real melee damage when it closes in.
/kill @e[tag=c9_ent]/scoreboard objectives remove c9_timerThe zombie is spawned with a Netherite Helmet in its head equipment slot, which protects it from sunlight during daytime battles.
Yes. In loop commands 3 and 4, increase the first caret value in positioned ^0.28 ^ ^0.18 to a higher number like ^0.38 for faster lateral strafing.
▶Stealth Assassins vs Armored Champions ArenaCustom MobsMedium24 cmds
▶Awakened Mimic Chest MobCustom MobsMedium24 cmds
▶Fangs of the Arrow-Proof WarlordCustom MobsMedium21 cmds
▶Fury of the Sentient GreatswordCustom MobsHard20 cmds
▶Tactical Skeleton Duelist Boss in Vanilla MinecraftCustom MobsMedium24 cmds
▶Adaptive Arsenal UndeadCustom MobsEasy24 cmds