Build an automated defense system with a stationary glowing turret and an orbiting scout drone that lock onto wandering targets and fire synchronized lasers.
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.
/scoreboard objectives add c9_timer dummy/fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 minecraft:polished_blackstone_bricks/setblock ~ ~ ~ minecraft:chiseled_polished_blackstone/summon minecraft:marker ~ ~ ~ {Tags:["c9_ent","c9_core"]}/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]}}]}/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]}}]}/summon minecraft:husk ~5 ~ ~4 {Tags:["c9_ent","c9_target"],Glowing:1b,CustomName:'{"text":"Target Dummy","color":"red"}'}/summon minecraft:husk ~-5 ~ ~-4 {Tags:["c9_ent","c9_target"],Glowing:1b,CustomName:'{"text":"Target Dummy","color":"red"}'}/scoreboard players add @e[tag=c9_core] c9_timer 1/execute as @e[tag=c9_core,scores={c9_timer=70..}] run scoreboard players set @s c9_timer 1/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"}'}/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"}'}/execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~4 ~/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 ~ ~ ~ ~ ~/execute as @e[tag=c9_turret] at @s facing entity @e[tag=c9_target,sort=nearest,limit=1] feet run tp @s ~ ~ ~ ~ ~/execute at @e[tag=c9_turret] run particle minecraft:soul_fire_flame ~ ~ ~ 0.35 0.35 0.35 0.01 1 force/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/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]}/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]}/execute as @e[tag=c9_proj] at @s facing entity @e[tag=c9_target,sort=nearest,limit=1] eyes run tp @s ^ ^ ^0.95 ~ ~/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/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:magicsetup #5 Summons the stationary turret using an invisible marker armor stand with glowing block_display passengers for the core and barrel.setup #6 Summons the hovering scout drone with a shroomlight core and a flattened heavy core ring.loop #6 Positions the scout drone 5.5 blocks out and 4.5 blocks up from the rotating center marker, while aiming it directly at the nearest target mob.loop #10 Every 50 ticks (2.5 seconds), the turret fires a short-lived area_effect_cloud projectile toward the target.loop #12 Guides both turret and scout projectiles smoothly toward the nearest target's eyes at 0.95 blocks per tick.


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.
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).
/kill @e[tag=c9_ent]/scoreboard objectives remove c9_timer/fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 minecraft:grass_block/setblock ~ ~ ~ minecraft:airEach projectile is an area_effect_cloud with Duration set to 22 ticks, so Minecraft automatically removes it just over one second after firing.
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.
▶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
▶Steampunk Espresso Machine GolemCustom MobsHard23 cmds
▶Sub-Atomic Electron Cloud ElementalCustom MobsHard24 cmds