Two armored squads sprint between cover barriers, crouch to dodge incoming shots, and trade glowing cyan and crimson laser beam volleys.
Custom MobsTechnologyLightningCyanRedWhiteMini-gamePvPMap MakingParticlesArmor standsScoreboard timersExecute chainsBlock building (fill/setblock/clone)Glowing outlinesRotation math21+ commands
Two glowing armored squads face off across a sci-fi battlefield with concrete barriers and central energy pylons. Soldiers autonomously strafe between cover points, duck behind barriers to evade fire, and lock onto opposing targets to fire glowing cyan and crimson particle laser beams.
Using scoreboard state timers and directional teleport steps, the armor stands mimic tactical combat AI without needing complex data packs or mods.
/scoreboard objectives add c9_t dummy/fill ~-12 ~-1 ~-10 ~12 ~-1 ~10 polished_deepslate/fill ~-9 ~ ~-8 ~-8 ~1 ~8 iron_block/fill ~8 ~ ~-8 ~9 ~1 ~8 iron_block/fill ~-9 ~ ~-3 ~9 ~1 ~-2 air/fill ~-9 ~ ~2 ~9 ~1 ~3 air/fill ~-2 ~ ~-1 ~2 ~2 ~1 sea_lantern/summon armor_stand ~-7 ~ ~-6 {Tags:["c9_s","c9_b","c9_g1"],NoGravity:1b,ShowArms:1b,Glowing:1b,equipment:{head:{id:"minecraft:diamond_helmet"},chest:{id:"minecraft:diamond_chestplate"},legs:{id:"minecraft:iron_leggings"},feet:{id:"minecraft:iron_boots"},mainhand:{id:"minecraft:crossbow"}}}/summon armor_stand ~-7 ~ ~6 {Tags:["c9_s","c9_b","c9_g2"],NoGravity:1b,ShowArms:1b,Glowing:1b,equipment:{head:{id:"minecraft:diamond_helmet"},chest:{id:"minecraft:diamond_chestplate"},legs:{id:"minecraft:iron_leggings"},feet:{id:"minecraft:iron_boots"},mainhand:{id:"minecraft:crossbow"}}}/summon armor_stand ~7 ~ ~-6 {Tags:["c9_s","c9_r","c9_g2"],NoGravity:1b,ShowArms:1b,Glowing:1b,equipment:{head:{id:"minecraft:golden_helmet"},chest:{id:"minecraft:netherite_chestplate"},legs:{id:"minecraft:netherite_leggings"},feet:{id:"minecraft:golden_boots"},mainhand:{id:"minecraft:crossbow"}}}/summon armor_stand ~7 ~ ~6 {Tags:["c9_s","c9_r","c9_g1"],NoGravity:1b,ShowArms:1b,Glowing:1b,equipment:{head:{id:"minecraft:golden_helmet"},chest:{id:"minecraft:netherite_chestplate"},legs:{id:"minecraft:netherite_leggings"},feet:{id:"minecraft:golden_boots"},mainhand:{id:"minecraft:crossbow"}}}/scoreboard players add @e[tag=c9_s] c9_t 1/scoreboard players set @e[tag=c9_s,scores={c9_t=80..}] c9_t 0/execute as @e[tag=c9_s,tag=c9_g1,scores={c9_t=1..25}] at @s run tp @s ~ ~ ~0.2/execute as @e[tag=c9_s,tag=c9_g1,scores={c9_t=41..65}] at @s run tp @s ~ ~ ~-0.2/execute as @e[tag=c9_s,tag=c9_g2,scores={c9_t=1..25}] at @s run tp @s ~ ~ ~-0.2/execute as @e[tag=c9_s,tag=c9_g2,scores={c9_t=41..65}] at @s run tp @s ~ ~ ~0.2/execute as @e[tag=c9_b] at @s facing entity @e[tag=c9_r,sort=nearest,limit=1] feet run tp @s ~ ~ ~ ~ ~/execute as @e[tag=c9_r] at @s facing entity @e[tag=c9_b,sort=nearest,limit=1] feet run tp @s ~ ~ ~ ~ ~/execute as @e[tag=c9_b,scores={c9_t=30}] at @s anchored eyes run summon area_effect_cloud ^ ^-0.2 ^1 {Tags:["c9_l","c9_lb"],Duration:14,Radius:0f}/execute as @e[tag=c9_r,scores={c9_t=70}] at @s anchored eyes run summon area_effect_cloud ^ ^-0.2 ^1 {Tags:["c9_l","c9_lr"],Duration:14,Radius:0f}/execute as @e[tag=c9_lb] at @s facing entity @e[tag=c9_r,sort=nearest,limit=1] eyes run tp @s ^ ^ ^1.2/execute as @e[tag=c9_lr] at @s facing entity @e[tag=c9_b,sort=nearest,limit=1] eyes run tp @s ^ ^ ^1.2/execute at @e[tag=c9_lb] run particle dust{color:[0.0,0.9,1.0],scale:1.4} ~ ~ ~ 0.05 0.05 0.05 0 3 force/execute at @e[tag=c9_lr] run particle dust{color:[1.0,0.15,0.1],scale:1.4} ~ ~ ~ 0.05 0.05 0.05 0 3 forceloop #1 Increments the 80-tick tactical cycle timer on every soldier armor stand.loop #3 Moves group 1 soldiers along the Z axis between cover walls during ticks 1 to 25, then reverses them during ticks 41 to 65.loop #7 Rotates blue squad soldiers to continuously aim at the nearest red squad soldier.loop #9 Spawns a short-lived area_effect_cloud projectile from the blue soldier's eye height when their cycle timer hits 30.loop #11 Steers the cyan laser projectile 1.2 blocks per tick straight toward the nearest opposing red soldier.


Recorded on our own test server: 60 frames at about 9.9 fps. Our image check saw: Two glowing squads of armor stands move between white barriers around a central sea lantern cube while firing sparse cyan and red particle beams.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To join the firefight yourself, tag your player with /tag @s add c9_b and replace the blue laser summon check with a carrot-on-a-stick right-click scoreboard objective so you fire cyan laser bolts whenever you click.
/kill @e[tag=c9_s]/kill @e[tag=c9_l]/scoreboard objectives remove c9_t/fill ~-12 ~ ~-10 ~12 ~3 ~10 air/fill ~-12 ~-1 ~-10 ~12 ~-1 ~10 grass_blockArea effect clouds have a built-in Duration NBT tag, so they automatically despawn after 14 ticks without needing extra cleanup commands.
Yes, summon additional armor stands with the tags c9_s, c9_b or c9_r, and either c9_g1 or c9_g2 to assign their movement pattern.
▶Hyper-Intelligent Tactical CreeperCustom MobsMedium17 cmds
▶Spark-Firing Clockwork CrittersCustom MobsMedium24 cmds
▶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