The Brawler Villager

Watch a fed-up villager snap and fight back against a zombie horde using martial arts combos, uppercuts, and explosive ground slams in vanilla Minecraft.

Java EditionMobs & PetsMedium26 commandsTested on a real 26.2 & 26.3 server
A glowing villager dashes toward a zombie and knocks it into the air at night. Download the GIF Video & GIF © www.9minecraft.net

Custom MobsFireMedievalOrangeRedGreenMini-gameAdventure MapCinematicSummoned mobsRotation math21+ commands

Villagers usually run and hide the moment a zombie appears, waiting for an iron golem or a player to save them. The Brawler Villager turns the tables completely. Wrapped in a glowing fiery aura, this blacksmith leaps straight into incoming zombies and unleashes fast three-hit melee combos.

Using custom scoreboard timers and motion vectors, the villager dashes toward the closest undead attacker, lands rapid jab attacks, uppercuts enemies into the sky, and finishes the combo with a shockwave ground slam that sends the surrounding horde flying across the arena.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /scoreboard objectives add c9_spawn dummy
  3. /team add c9_brawl
  4. /team modify c9_brawl color gold
  5. /summon villager ~ ~ ~ {Tags:["c9_brawler"],CustomName:'{"text":"Brawler Villager","color":"gold","bold":true}',CustomNameVisible:1b,Invulnerable:1b,PersistenceRequired:1b,VillagerData:{profession:"minecraft:weaponsmith",level:5,type:"minecraft:plains"}, Glowing:1b}
  6. /team join c9_brawl @e[tag=c9_brawler]
  7. /summon zombie ~6 ~ ~2 {Tags:["c9_zombie"],IsBaby:0b,ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",count:1}]}
  8. /summon zombie ~-5 ~ ~4 {Tags:["c9_zombie"],IsBaby:0b,ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",count:1}]}
  9. /summon zombie ~-4 ~ ~-5 {Tags:["c9_zombie"],IsBaby:0b,ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",count:1}]}
  10. /summon zombie ~5 ~ ~-4 {Tags:["c9_zombie"],IsBaby:0b,ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",count:1}]}

2. Loop - one repeating command block each (Always Active) 16 commands

  1. /scoreboard players add @e[tag=c9_brawler] c9_timer 1
  2. /scoreboard players add #stage c9_spawn 1
  3. /execute if score #stage c9_spawn matches 55.. unless entity @e[tag=c9_zombie,limit=10] run summon zombie ~7 ~ ~5 {Tags:["c9_zombie"],IsBaby:0b,ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",count:1}]}
  4. /execute if score #stage c9_spawn matches 55.. unless entity @e[tag=c9_zombie,limit=10] run summon zombie ~-7 ~ ~-5 {Tags:["c9_zombie"],IsBaby:0b,ArmorItems:[{},{},{},{id:"minecraft:leather_helmet",count:1}]}
  5. /execute if score #stage c9_spawn matches 55.. run scoreboard players set #stage c9_spawn 0
  6. /execute as @e[tag=c9_brawler] at @s run particle dust{color:[1.0,0.5,0.0],scale:1.2} ~ ~1 ~ 0.3 0.5 0.3 0 2 force
  7. /execute as @e[tag=c9_brawler] at @s if entity @e[tag=c9_zombie,distance=..16] facing entity @e[tag=c9_zombie,sort=nearest,limit=1] feet run tp @s ~ ~ ~ ~ 0
  8. /execute as @e[tag=c9_brawler] at @s if entity @e[tag=c9_zombie,distance=2.2..16] run tp @s ^ ^ ^0.28
  9. /execute as @e[tag=c9_brawler,scores={c9_timer=12}] at @s if entity @e[tag=c9_zombie,distance=..3.2] run particle sweep_attack ^ ^1.1 ^1.2 0.2 0.2 0.2 0 3 force
  10. /execute as @e[tag=c9_brawler,scores={c9_timer=12}] at @s as @e[tag=c9_zombie,distance=..3.2,sort=nearest,limit=2] at @s run damage @s 3 minecraft:player_attack by @e[tag=c9_brawler,limit=1]
  11. /execute as @e[tag=c9_brawler,scores={c9_timer=24}] at @s as @e[tag=c9_zombie,distance=..3.5,sort=nearest,limit=1] at @s run data merge entity @s {Motion:[0.0,0.78,0.0],HurtTime:10s}
  12. /execute as @e[tag=c9_brawler,scores={c9_timer=24}] at @s if entity @e[tag=c9_zombie,distance=..3.5] run particle cloud ~ ~1 ~ 0.4 0.6 0.4 0.1 15 force
  13. /execute as @e[tag=c9_brawler,scores={c9_timer=40}] at @s run particle explosion_emitter ~ ~0.5 ~ 0 0 0 0 1 force
  14. /execute as @e[tag=c9_brawler,scores={c9_timer=40..}] at @s run data modify entity @e[tag=c9_zombie,distance=..5,sort=nearest,limit=1] Motion set value [0.55,0.65,-0.45]
  15. /execute as @e[tag=c9_brawler,scores={c9_timer=40..}] at @s as @e[tag=c9_zombie,distance=..5] run damage @s 7 minecraft:explosion by @e[tag=c9_brawler,limit=1]
  16. /execute as @e[tag=c9_brawler,scores={c9_timer=40..}] run scoreboard players set @s c9_timer 0

How it works

Frames from the test run

The Brawler Villager - frame 1The Brawler Villager - frame 2The Brawler Villager - frame 3

Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: A glowing orange-outlined villager dashes across a dark grassy field at night to attack and knock back zombies near the water.

Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.

Build it in your world

  1. Run each command from the Setup list once in chat while standing in the middle of a flat open area.
  2. Place a column or line of 14 Repeating Command Blocks set to Always Active.
  3. Paste the Loop commands into the repeating command blocks in order (if your setup has 16 loop lines, combine the last damage and reset commands into chain blocks attached to the final repeating block).
  4. Watch the Brawler Villager automatically lock onto the zombies, sprint into melee range, and cycle through his three-part combo.
  5. When you are done watching, run the Remove commands in chat to clear the scoreboard, team, and entities.

Use it with real players

To turn a regular villager into your personal bodyguard during survival gameplay, remove the zombie spawning commands (Loop commands 2 to 5) and replace @e[tag=c9_zombie] with @e[type=#minecraft:raiders] or @e[type=zombie] so the villager patrols around you and attacks any hostile mob that gets close.

Remove it again 5 commands

  1. /kill @e[tag=c9_brawler]
  2. /kill @e[tag=c9_zombie]
  3. /team remove c9_brawl
  4. /scoreboard objectives remove c9_timer
  5. /scoreboard objectives remove c9_spawn

FAQ

Why are the zombies wearing leather helmets?

The leather helmets stop the zombies from burning if you test the command during daytime, ensuring the villager always has targets to fight.

Can I change how fast the villager moves or attacks?

Yes! Increase ^ ^ ^0.28 in the dash command to make him sprint faster, or lower the c9_timer numbers (12, 24, and 40) to speed up his combo cycle.

Commands used

/damage/data/execute/particle/scoreboard/summon/team/tp

Similar creations

Join 9Minecraft News & Guides