Automated Wither-Skull Sentry

Build a rotating armor-stand turret that automatically locks onto targets down a firing range and launches glowing explosive wither skulls.

Java EditionWands, Weapons & ToolsEasy23 commandsTested on a real 26.2 & 26.3 server
A glowing obsidian turret rotates on a dark platform, firing blue flame trails into the night. Download the GIF Video & GIF © www.9minecraft.net

Projectiles & MissilesDarkNetherTechnologyBlackCyanRedPvPAdventure MapBoss FightParticlesBlock displaysArmor standsScoreboard timersExecute chainsSummoned mobsBlock building (fill/setblock/clone)SoundsGlowing outlines21+ commands

The Automated Wither-Skull Sentry places a glowing obsidian and netherite turret at the center of your world. Driven by scoreboard timers, the turret smoothly rotates between glowing target pillars downrange and fires charged wither skulls with smoke and crimson trails.

Using custom acceleration_power and directional motion, each skull flies straight into the target banner and triggers a colorful burst of soul fire and explosions without destroying the surrounding terrain.

1. Setup - type these once 9 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 polished_blackstone_bricks
  3. /setblock ~ ~ ~ lodestone
  4. /fill ~-6 ~ ~12 ~6 ~2 ~12 iron_bars
  5. /setblock ~-5 ~1 ~11 target
  6. /setblock ~ ~1 ~11 target
  7. /setblock ~5 ~1 ~11 target
  8. /summon armor_stand ~ ~0.6 ~ {Tags:["c9_turret"],NoGravity:1b,Invisible:1b,Glowing:1b,ArmorItems:[{},{},{},{id:"minecraft:wither_skeleton_skull",count:1}]}
  9. /summon block_display ~-0.35 ~0.6 ~-0.35 {Tags:["c9_base"],Glowing:1b,block_state:{Name:"minecraft:crying_obsidian"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,0.6f,0.7f],translation:[0f,0f,0f]}}

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

  1. /scoreboard players add @e[tag=c9_turret] c9_timer 1
  2. /scoreboard players set @e[tag=c9_turret,scores={c9_timer=120..}] c9_timer 0
  3. /execute as @e[tag=c9_turret,scores={c9_timer=1..39}] at @s run tp @s ~ ~ ~ facing ~-5 ~1 ~11
  4. /execute as @e[tag=c9_turret,scores={c9_timer=40..79}] at @s run tp @s ~ ~ ~ facing ~ ~1 ~11
  5. /execute as @e[tag=c9_turret,scores={c9_timer=80..119}] at @s run tp @s ~ ~ ~ facing ~5 ~1 ~11
  6. /execute at @e[tag=c9_turret] run particle dust{color:[0.9,0.1,1.0],scale:1.2} ~ ~0.8 ~ 0.25 0.25 0.25 0 2
  7. /execute at @e[tag=c9_turret,scores={c9_timer=20}] run summon wither_skull ~ ~1.3 ~1.2 {Tags:["c9_skull"],Glowing:1b,Motion:[-0.38,0.0,0.85],acceleration_power:0.0}
  8. /execute at @e[tag=c9_turret,scores={c9_timer=60}] run summon wither_skull ~ ~1.3 ~1.2 {Tags:["c9_skull"],Glowing:1b,Motion:[0.0,0.0,0.95],acceleration_power:0.0}
  9. /execute at @e[tag=c9_turret,scores={c9_timer=100}] run summon wither_skull ~ ~1.3 ~1.2 {Tags:["c9_skull"],Glowing:1b,Motion:[0.38,0.0,0.85],acceleration_power:0.0}
  10. /execute at @e[tag=c9_turret,scores={c9_timer=20}] run playsound entity.wither.shoot master @a ~ ~ ~ 0.8 1.2
  11. /execute at @e[tag=c9_skull] run particle soul_fire_flame ~ ~ ~ 0.1 0.1 0.1 0.02 4
  12. /execute as @e[tag=c9_skull] at @s if block ~ ~ ~1 target run particle explosion_emitter ~ ~ ~ 0 0 0 0 1
  13. /execute as @e[tag=c9_skull] at @s if block ~ ~ ~1 target run playsound entity.generic.explode master @a ~ ~ ~ 0.6 1.4
  14. /execute as @e[tag=c9_skull] at @s if block ~ ~ ~1 target run kill @s

How it works

Frames from the test run

Automated Wither-Skull Sentry - frame 1Automated Wither-Skull Sentry - frame 2Automated Wither-Skull Sentry - frame 3

Recorded on our own test server: 52 frames at about 8.6 fps. Our image check saw: A glowing turret made of dark blocks and crying obsidian on a dark platform rotates and shoots trails of soul fire flame particles toward the camera at night.

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. Create a flat clearing and stand at the center block where you want your sentry turret.
  2. Run each command from the Setup list in chat one by one to build the turret pedestal, downrange target wall, and turret entities.
  3. Place a line of 14 Repeating Command Blocks set to Always Active near your stage.
  4. Paste one command from the Loop list into each repeating command block.
  5. Watch the sentry cycle between the three targets and fire explosive wither skulls every two seconds.

Use it with real players

To make the sentry target real players or hostile mobs instead of fixed target blocks, replace the three tp @s ~ ~ ~ facing loop commands with /execute as @e[tag=c9_turret] at @s run tp @s ~ ~ ~ facing entity @p[distance=..18] eyes.

Remove it again 7 commands

  1. /kill @e[tag=c9_turret]
  2. /kill @e[tag=c9_base]
  3. /kill @e[tag=c9_skull]
  4. /scoreboard objectives remove c9_timer
  5. /fill ~-6 ~ ~11 ~6 ~2 ~12 air
  6. /fill ~-2 ~-1 ~-2 ~2 ~ ~2 grass_block
  7. /fill ~-2 ~ ~-2 ~2 ~ ~2 air

FAQ

Will the wither skulls break blocks in my world?

No. The loop detects when a skull is one block away from the target, spawns a visual explosion particle and sound, and removes the skull before it makes physical impact.

How do I change how fast the turret fires?

Lower the reset score in the second loop command from 120 to 60, and adjust the firing tick checks (20, 60, 100) to smaller numbers.

Commands used

/execute/fill/kill/particle/playsound/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides