Autonomous Adventuring Party

Spawn a self-driving RPG party in a ruined arena: Sir Galen slams the frontline, Lyra kites with arrow volleys, and Father Sol calls down golden pillars.

Java EditionMobs & PetsExpert24 commandsTested on a real 26.2 & 26.3 server
Three glowing RPG heroes battle red-outlined undead enemies inside a small stone arena at night. Download the GIF Video & GIF © www.9minecraft.net

Custom MobsMedievalHoly & LightHorrorGoldRedCyanAdventure MapBoss FightCinematicArmor standsSummoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands

This command creation builds a ruined arena at the stage centre and spawns a three-hero RPG party that fights waves of undead on its own. Sir Galen [Paladin] charges the frontline with radiant ground slams, Lyra Swiftbow [Ranger] orbits the pillars while firing glowing spectral arrow volleys, and Father Sol [Cleric] calls down tall golden light pillars onto the horde.

Each hero uses custom movement and timed abilities driven by scoreboards, keeping all the combat tightly centered around the ruins with bright team glow outlines and particle bursts.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /team add c9_heroes
  3. /team modify c9_heroes color gold
  4. /team add c9_undead
  5. /team modify c9_undead color dark_red
  6. /fill ~-5 ~ ~-5 ~5 ~ ~5 cobblestone_wall replace air
  7. /fill ~-4 ~ ~-4 ~4 ~ ~4 air replace cobblestone_wall
  8. /setblock ~-3 ~ ~-2 chiseled_stone_bricks
  9. /setblock ~3 ~ ~-2 chiseled_stone_bricks
  10. /summon armor_stand ~ ~ ~ {Tags:["c9_entity","c9_anchor"],Invisible:1b,NoGravity:1b,Marker:1b}

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

  1. /scoreboard players add #tick c9_timer 1
  2. /execute if score #tick c9_timer matches 41.. run scoreboard players set #tick c9_timer 1
  3. /execute unless entity @e[tag=c9_paladin] run summon wither_skeleton ~-1 ~ ~1 {Tags:["c9_entity","c9_party","c9_paladin"],Team:"c9_heroes",CustomName:{"text":"Sir Galen [Paladin]","color":"aqua"},CustomNameVisible:1b,NoAI:1b,Glowing:1b,Invulnerable:1b,equipment:{mainhand:{id:"minecraft:diamond_sword",count:1},offhand:{id:"minecraft:shield",count:1},feet:{id:"minecraft:diamond_boots",count:1},legs:{id:"minecraft:diamond_leggings",count:1},chest:{id:"minecraft:diamond_chestplate",count:1},head:{id:"minecraft:diamond_helmet",count:1}}}
  4. /execute unless entity @e[tag=c9_ranger] run summon stray ~2.5 ~ ~0.5 {Tags:["c9_entity","c9_party","c9_ranger"],Team:"c9_heroes",CustomName:{"text":"Lyra Swiftbow [Ranger]","color":"green"},CustomNameVisible:1b,NoAI:1b,Glowing:1b,Invulnerable:1b,equipment:{mainhand:{id:"minecraft:bow",count:1},feet:{id:"minecraft:iron_boots",count:1},legs:{id:"minecraft:chainmail_leggings",count:1},chest:{id:"minecraft:chainmail_chestplate",count:1},head:{id:"minecraft:turtle_helmet",count:1}}}
  5. /execute unless entity @e[tag=c9_cleric] run summon evoker ~ ~ ~2.2 {Tags:["c9_entity","c9_party","c9_cleric"],Team:"c9_heroes",CustomName:{"text":"Father Sol [Cleric]","color":"gold"},CustomNameVisible:1b,NoAI:1b,Glowing:1b,Invulnerable:1b,equipment:{mainhand:{id:"minecraft:golden_hoe",count:1},head:{id:"minecraft:golden_helmet",count:1}}}
  6. /scoreboard players set #horde c9_timer 0
  7. /execute as @e[tag=c9_horde] run scoreboard players add #horde c9_timer 1
  8. /execute if score #tick c9_timer matches 2 if score #horde c9_timer matches ..3 run summon zombie ~-1.5 ~ ~-2.2 {Tags:["c9_entity","c9_horde"],Team:"c9_undead",CustomName:{"text":"Arena Undead","color":"red"},CustomNameVisible:1b,Glowing:1b,equipment:{mainhand:{id:"minecraft:iron_sword",count:1},head:{id:"minecraft:iron_helmet",count:1}},Health:18.0f}
  9. /execute if score #tick c9_timer matches 22 if score #horde c9_timer matches ..3 run summon husk ~1.5 ~ ~-2.2 {Tags:["c9_entity","c9_horde"],Team:"c9_undead",CustomName:{"text":"Arena Brute","color":"dark_red"},CustomNameVisible:1b,Glowing:1b,equipment:{mainhand:{id:"minecraft:iron_axe",count:1},head:{id:"minecraft:chainmail_helmet",count:1}},Health:18.0f}
  10. /execute as @e[tag=c9_anchor] at @s run tp @s ~ ~ ~ ~9 ~
  11. /execute at @e[tag=c9_anchor] positioned ^2.6 ^ ^-0.5 run tp @e[tag=c9_ranger,limit=1] ~ ~ ~
  12. /execute as @e[tag=c9_party] at @s if entity @e[tag=c9_horde] facing entity @e[tag=c9_horde,sort=nearest,limit=1] feet run tp @s ~ ~ ~ ~ ~
  13. /execute if score #tick c9_timer matches 12 at @e[tag=c9_paladin] run particle soul_fire_flame ~ ~0.5 ~ 1.6 0.2 1.6 0.04 45
  14. /execute if score #tick c9_timer matches 28 at @e[tag=c9_horde] run particle dust{color:[1.0,0.85,0.1],scale:2.0} ~ ~2.2 ~ 0.35 2.0 0.35 0 55

How it works

Frames from the test run

Autonomous Adventuring Party - frame 1Autonomous Adventuring Party - frame 2Autonomous Adventuring Party - frame 3

Recorded on our own test server: 60 frames at about 9.8 fps. Our image check saw: Three yellow-outlined hero mobs named Sir Galen, Lyra Swiftbow, and Father Sol fight red-outlined undead inside a small cobblestone-walled enclosure with blue soul flame and golden sparkle particles.

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 at the centre of your flat grass area and run each of the 10 setup commands in chat to create the scoreboard, colored teams, ruined stone border, and centre anchor.
  2. Place a line of 14 repeating command blocks (or 1 repeating followed by 13 chain command blocks) outside the arena.
  3. Paste the 14 loop commands into the command blocks in order and set all of them to Always Active.
  4. Watch the three heroes immediately appear at the centre, face the incoming undead horde, kite around the pillars, and unleash timed ground slams and golden light pillars.

Use it with real players

To have the adventuring party accompany a real player instead of fighting around the fixed arena anchor, remove the c9_anchor armor stand and change the kiting and ability target selectors from @e[tag=c9_anchor] to @p so the heroes orbit you and call down golden pillars on nearby monsters.

Remove it again 5 commands

  1. /kill @e[tag=c9_entity]
  2. /fill ~-5 ~ ~-5 ~5 ~2 ~5 air
  3. /team remove c9_heroes
  4. /team remove c9_undead
  5. /scoreboard objectives remove c9_timer

FAQ

Why do the three heroes have NoAI enabled?

Using NoAI with custom teleport and facing commands keeps all three party members tightly inside the arena ring so they never wander out of view while kiting and facing enemies.

Will the undead horde lag my world over time?

No, the loop counts living mobs with the c9_horde tag every tick and only spawns new enemies when there are 3 or fewer in the arena.

Commands used

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

Similar creations

Join 9Minecraft News & Guides