Hovering Sentinel Duo

Build an automated defense system with a stationary glowing turret and an orbiting scout drone that lock onto wandering targets and fire synchronized lasers.

Java EditionMobs & PetsHard22 commandsTested on a real 26.2 & 26.3 server
A glowing cyan turret and an orbiting orange drone target mobs in a dark Minecraft arena. Download the GIF Video & GIF © www.9minecraft.net

Custom MobsTechnologyCyanOrangeRedAdventure MapPvPBoss FightBlock displaysArmor standsRiding & passengersSummoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands

The Hovering Sentinel Duo is an automated defense system made entirely with vanilla commands and block display entities. A glowing central turret sits on an obsidian pedestal while an aerial scout drone orbits the arena perimeter, painting wandering targets with a red tracking beam.

Every few seconds, the duo locks onto the closest target and fires a synchronized dual-laser volley of cyan and orange energy, detonating on impact while spawning fresh targets to keep the patrol running.

1. Setup - type these once 8 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 minecraft:polished_blackstone_bricks
  3. /setblock ~ ~ ~ minecraft:chiseled_polished_blackstone
  4. /summon minecraft:marker ~ ~ ~ {Tags:["c9_ent","c9_core"]}
  5. /summon minecraft:armor_stand ~ ~1.3 ~ {Tags:["c9_ent","c9_turret"],NoGravity:1b,Invisible:1b,Marker:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_ent"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.4f,-0.4f,-0.4f],scale:[0.8f,0.8f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_ent"],block_state:{Name:"minecraft:end_rod",Properties:{facing:"south"}},transformation:{translation:[-0.15f,-0.15f,0.3f],scale:[0.3f,0.3f,1.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}]}
  6. /summon minecraft:armor_stand ~ ~4.5 ~-5.5 {Tags:["c9_ent","c9_scout"],NoGravity:1b,Invisible:1b,Marker:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_ent"],Glowing:1b,glow_color_override:16753920,block_state:{Name:"minecraft:shroomlight"},transformation:{translation:[-0.35f,-0.35f,-0.35f],scale:[0.7f,0.7f,0.7f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_ent"],block_state:{Name:"minecraft:Heavy_core"},transformation:{translation:[-0.5f,-0.1f,-0.5f],scale:[1.0f,0.2f,1.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}]}
  7. /summon minecraft:husk ~5 ~ ~4 {Tags:["c9_ent","c9_target"],Glowing:1b,CustomName:'{"text":"Target Dummy","color":"red"}'}
  8. /summon minecraft:husk ~-5 ~ ~-4 {Tags:["c9_ent","c9_target"],Glowing:1b,CustomName:'{"text":"Target Dummy","color":"red"}'}

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

  1. /scoreboard players add @e[tag=c9_core] c9_timer 1
  2. /execute as @e[tag=c9_core,scores={c9_timer=70..}] run scoreboard players set @s c9_timer 1
  3. /execute if score @e[tag=c9_core,limit=1] c9_timer matches 1 unless entity @e[tag=c9_target,distance=..16] run summon minecraft:husk ~5 ~ ~-4 {Tags:["c9_ent","c9_target"],Glowing:1b,CustomName:'{"text":"Target Dummy","color":"red"}'}
  4. /execute if score @e[tag=c9_core,limit=1] c9_timer matches 35 unless entity @e[tag=c9_target,distance=..16] run summon minecraft:husk ~-4 ~ ~5 {Tags:["c9_ent","c9_target"],Glowing:1b,CustomName:'{"text":"Target Dummy","color":"red"}'}
  5. /execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~4 ~
  6. /execute as @e[tag=c9_scout] at @e[tag=c9_core,limit=1] rotated ~ 0 positioned ^ ^4.5 ^5.5 facing entity @e[tag=c9_target,sort=nearest,limit=1] feet run tp @s ~ ~ ~ ~ ~
  7. /execute as @e[tag=c9_turret] at @s facing entity @e[tag=c9_target,sort=nearest,limit=1] feet run tp @s ~ ~ ~ ~ ~
  8. /execute at @e[tag=c9_turret] run particle minecraft:soul_fire_flame ~ ~ ~ 0.35 0.35 0.35 0.01 1 force
  9. /execute at @e[tag=c9_scout] rotated as @e[tag=c9_scout,limit=1] run particle minecraft:dust{color:[1.0,0.1,0.1],scale:0.9} ^ ^ ^1.5 0 0 0 0 1 force
  10. /execute if score @e[tag=c9_core,limit=1] c9_timer matches 50 if entity @e[tag=c9_target,distance=..16] at @e[tag=c9_turret] rotated as @e[tag=c9_turret,limit=1] run summon minecraft:area_effect_cloud ^ ^ ^0.8 {Tags:["c9_ent","c9_proj","c9_pt"],Duration:22,Radius:0f,Rotation:[0f,0f]}
  11. /execute if score @e[tag=c9_core,limit=1] c9_timer matches 50 if entity @e[tag=c9_target,distance=..16] at @e[tag=c9_scout] rotated as @e[tag=c9_scout,limit=1] run summon minecraft:area_effect_cloud ^ ^ ^0.8 {Tags:["c9_ent","c9_proj","c9_ps"],Duration:22,Radius:0f,Rotation:[0f,0f]}
  12. /execute as @e[tag=c9_proj] at @s facing entity @e[tag=c9_target,sort=nearest,limit=1] eyes run tp @s ^ ^ ^0.95 ~ ~
  13. /execute at @e[tag=c9_pt] run particle minecraft:dust{color:[0.0,1.0,1.0],scale:1.4} ~ ~ ~ 0.08 0.08 0.08 0 3 force
  14. /execute at @e[tag=c9_proj] if entity @e[tag=c9_target,distance=..1.6] run damage @e[tag=c9_target,sort=nearest,limit=1] 7 minecraft:magic

How it works

Frames from the test run

Hovering Sentinel Duo - frame 1Hovering Sentinel Duo - frame 2Hovering Sentinel Duo - frame 3

Recorded on our own test server: 55 frames at about 9.2 fps. Our image check saw: A glowing cyan block turret on a dark pedestal sits in the center while a glowing orange block drone orbits the perimeter, emitting red tracking particles toward nearby mobs.

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 center of a flat open area and run each command from the Setup list in chat.
  2. Place a repeating command block below or beside the arena and set it to Always Active.
  3. Chain 13 Always Active chain command blocks to the repeating block.
  4. Paste the 14 Loop commands in order into the repeating and chain command blocks.
  5. Watch the scout orbit the pedestal while both units lock onto the husks and fire synchronized laser volleys.

Use it with real players

To make the sentinels defend you against real hostile mobs instead of only test dummies, replace every instance of tag=c9_target in the loop commands with type=#minecraft:raiders or type=minecraft:zombie, and remove the two husk-spawning loop commands (commands 3 and 4).

Remove it again 4 commands

  1. /kill @e[tag=c9_ent]
  2. /scoreboard objectives remove c9_timer
  3. /fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 minecraft:grass_block
  4. /setblock ~ ~ ~ minecraft:air

FAQ

Why do the projectiles never pile up and lag the world?

Each projectile is an area_effect_cloud with Duration set to 22 ticks, so Minecraft automatically removes it just over one second after firing.

Can I change the firing speed of the sentinel duo?

Yes. Lower the 70.. reset threshold in Loop command 2 and adjust the matches 50 trigger in Loop commands 10 and 11 to fire more frequently.

Commands used

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

Similar creations

Join 9Minecraft News & Guides