Adaptive Duelist Automaton

Summon a golden-trimmed netherite duelist automaton that fights arena mobs using a state-machine loop of dashes, sidesteps, and glowing sword strikes.

Java EditionMobs & PetsExpert24 commandsTested on a real 26.2 & 26.3 server
An armored duelist mob with a golden outline battles skeletons on a dark stone arena at night. Download the GIF Video & GIF © www.9minecraft.net

Custom MobsMedievalRoyalTechnologyGoldBlackBoss FightPvPAdventure MapSummoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands

The Adaptive Duelist Automaton is a command-driven warrior built on top of a customized Husk clothed in gold-trimmed netherite armor. Surrounded by a constant golden dust aura, it automatically faces nearby arena challengers and cycles through an agile combat state machine.

Instead of walking in a straight line like normal mobs, the duelist leaps forward to close gaps, performs sweeping and sonic strikes, sidesteps around enemies to flank them, and dashes backward to evade counterattacks.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /team add c9_gold
  3. /team modify c9_gold color gold
  4. /fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 polished_deepslate
  5. /fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 deepslate_tiles
  6. /fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 chiseled_deepslate hollow
  7. /setblock ~-8 ~ ~-8 soul_lantern
  8. /setblock ~8 ~ ~-8 soul_lantern
  9. /setblock ~-8 ~ ~8 soul_lantern
  10. /summon husk ~ ~ ~ {Tags:["c9_bot","c9_duelist"],CustomName:'{"text":"Duelist Automaton","color":"gold","bold":true}',CustomNameVisible:1b,Glowing:1b,Invulnerable:1b,PersistenceRequired:1b,Silent:1b,Team:"c9_gold",equipment:{mainhand:{id:"minecraft:netherite_sword",count:1,components:{"minecraft:enchantment_glint_override":true}},offhand:{id:"minecraft:shield",count:1},feet:{id:"minecraft:netherite_boots",count:1},legs:{id:"minecraft:netherite_leggings",count:1},chest:{id:"minecraft:netherite_chestplate",count:1,components:{"minecraft:trim":{material:"minecraft:gold",pattern:"minecraft:silence"}}},head:{id:"minecraft:netherite_helmet",count:1,components:{"minecraft:trim":{material:"minecraft:gold",pattern:"minecraft:silence"}}}},attributes:[{id:"minecraft:scale",base:1.2d},{id:"minecraft:movement_speed",base:0.35d}]}

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

  1. /execute as @e[tag=c9_duelist] run scoreboard players add @s c9_timer 1
  2. /execute as @e[tag=c9_duelist,scores={c9_timer=70..}] run scoreboard players set @s c9_timer 1
  3. /execute as @e[tag=c9_duelist,scores={c9_timer=1}] unless entity @e[tag=c9_enemy,distance=..16] at @s run summon husk ~3 ~ ~2 {Tags:["c9_bot","c9_enemy"],CustomName:'{"text":"Arena Challenger","color":"red"}',CustomNameVisible:1b,PersistenceRequired:1b,equipment:{mainhand:{id:"minecraft:iron_axe",count:1},chest:{id:"minecraft:iron_chestplate",count:1},head:{id:"minecraft:chainmail_helmet",count:1}}}
  4. /execute as @e[tag=c9_duelist,scores={c9_timer=35}] unless entity @e[tag=c9_enemy,distance=..3] if entity @e[tag=c9_enemy,distance=..16,limit=1] at @s run summon husk ~-3 ~ ~-2 {Tags:["c9_bot","c9_enemy"],CustomName:'{"text":"Arena Challenger","color":"red"}',CustomNameVisible:1b,PersistenceRequired:1b,equipment:{mainhand:{id:"minecraft:iron_sword",count:1},chest:{id:"minecraft:chainmail_chestplate",count:1},head:{id:"minecraft:iron_helmet",count:1}}}
  5. /execute as @e[tag=c9_duelist] at @s if entity @e[tag=c9_enemy,distance=..16] facing entity @e[tag=c9_enemy,sort=nearest,limit=1] feet run tp @s ~ ~ ~ ~ 0
  6. /execute as @e[tag=c9_duelist] at @s run particle dust{color:[1.0,0.75,0.1],scale:1.4} ~ ~1.1 ~ 0.35 0.5 0.35 0 3 force
  7. /execute as @e[tag=c9_duelist,scores={c9_timer=12}] at @s if entity @e[tag=c9_enemy,distance=2.5..14] run tp @s ^ ^0.35 ^1.8
  8. /execute as @e[tag=c9_duelist,scores={c9_timer=12}] at @s if entity @e[tag=c9_enemy,distance=..14] run particle cloud ~ ~0.2 ~ 0.4 0.1 0.4 0.08 18 force
  9. /execute as @e[tag=c9_duelist,scores={c9_timer=20}] at @s if entity @e[tag=c9_enemy,distance=..4.5] run particle sweep_attack ^ ^1.1 ^1.4 0.3 0.1 0.3 0 4 force
  10. /execute as @e[tag=c9_duelist,scores={c9_timer=20}] at @s as @e[tag=c9_enemy,distance=..4,limit=1,sort=nearest] run damage @s 6 player_attack by @e[tag=c9_duelist,limit=1]
  11. /execute as @e[tag=c9_duelist,scores={c9_timer=32}] at @s if entity @e[tag=c9_enemy,distance=..5] run tp @s ^1.5 ^0.2 ^0.4
  12. /execute as @e[tag=c9_duelist,scores={c9_timer=42}] at @s if entity @e[tag=c9_enemy,distance=..4.5] run particle flame ^ ^1.1 ^1.4 0.4 0.2 0.4 0.06 25 force
  13. /execute as @e[tag=c9_duelist,scores={c9_timer=52}] at @s if entity @e[tag=c9_enemy,distance=..5] run tp @s ^-1.3 ^0.35 ^-1.4
  14. /execute as @e[tag=c9_duelist,scores={c9_timer=62}] at @s if entity @e[tag=c9_enemy,distance=..5.5] run particle sonic_boom ^ ^1.2 ^1.6 0 0 0 0 1 force

How it works

Frames from the test run

Adaptive Duelist Automaton - frame 1Adaptive Duelist Automaton - frame 2Adaptive Duelist Automaton - frame 3

Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: A glowing gold-outlined armored mob holding a shield and sword fights skeletons on a dark stone platform with particle effects, though its nametag shows raw unparsed JSON text.

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. Stand in the middle of a flat open area and run the 10 setup commands in chat to build the deepslate arena floor, scoreboard timer, gold team, and the Duelist Automaton.
  2. Place a line of 14 Repeating Command Blocks set to Always Active near your arena.
  3. Paste one loop command into each repeating command block in order from 1 to 14.
  4. Watch the Duelist Automaton automatically summon Arena Challengers, lock onto them, and cycle through forward lunges, sword sweeps, flank sidesteps, and evasive backsteps.
  5. When you are finished watching, run the removal commands to clear the entities, scoreboard objective, and team.

Use it with real players

To spar with the Adaptive Duelist Automaton yourself instead of having it fight summoned husks, omit loop commands 3 and 4, and replace every instance of tag=c9_enemy in the remaining loop commands with type=player,gamemode=survival. You can also remove Invulnerable:1b from the setup summon command so you can trade blows with it in the arena.

Remove it again 5 commands

  1. /kill @e[tag=c9_bot]
  2. /scoreboard objectives remove c9_timer
  3. /team remove c9_gold
  4. /fill ~-9 ~-1 ~-9 ~9 ~ ~9 air
  5. /fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 grass_block

FAQ

Why does the `/damage` command only allow a single entity in its target selector?

In Minecraft Java Edition, `/damage` only accepts a single target entity at a time. To damage multiple mobs or ensure the selector never fails, wrap it in `execute as @e[...,limit=1] run damage @s ...` so each execution targets exactly one entity.

Why use a Husk instead of a Zombie for both the duelist and the challengers?

Husks have the same humanoid armor rendering and animations as zombies, but they never burn in sunlight, making the arena safe to run during day or night without helmets breaking.

Commands used

/damage/execute/fill/particle/scoreboard/setblock/summon/team/tp

Similar creations

Join 9Minecraft News & Guides