Arcane Sentinel Tower

Build an automated Arcane Sentinel Tower in vanilla Minecraft using commands! Watch a floating crystal spire fire homing energy bolts at approaching monsters.

Java EditionMagic & SpellsEasy24 commandsTested on a real 26.2 & 26.3 server
A glowing purple amethyst crystal floats above a stone pedestal, firing blue magical energy at night. Download the GIF Video & GIF © www.9minecraft.net

Arcane RunesMysticMedievalDarkPurpleBlueMap MakingAdventure MapDecorationBlock displaysSummoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands

The Arcane Sentinel Tower is a self-acting magical defense crystal built with vanilla command blocks. At the center of a glowing stone pedestal, a rotating amethyst crystal floats in mid-air while surrounded by rising enchanting runes and purple light.

Whenever monsters wander too close to the spire, the crystal locks onto the nearest intruder and fires a homing bolt of cyan and purple arcane energy. Each bolt curves straight toward its target and detonates in a burst of sonic particles and lightning magic.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /scoreboard players set #clock c9_timer 0
  3. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 polished_blackstone_bricks
  4. /setblock ~ ~-1 ~ crying_obsidian
  5. /fill ~ ~ ~ ~ ~2 ~ deepslate_brick_wall
  6. /setblock ~-2 ~ ~-2 soul_lantern
  7. /setblock ~2 ~ ~-2 soul_lantern
  8. /setblock ~-2 ~ ~2 soul_lantern
  9. /setblock ~2 ~ ~2 soul_lantern
  10. /summon block_display ~ ~5.5 ~ {Tags:["c9_spire"],Glowing:1b,glow_color_override:11141375,block_state:{Name:"minecraft:amethyst_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0.353f,0.353f,0.146f,0.853f],scale:[1.3f,1.3f,1.3f],translation:[-0.65f,-0.65f,-0.65f]}}

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

  1. /scoreboard players add #clock c9_timer 1
  2. /execute if score #clock c9_timer matches 120.. run scoreboard players set #clock c9_timer 0
  3. /execute as @e[tag=c9_spire] at @s run tp @s ~ ~ ~ ~5 ~
  4. /execute at @e[tag=c9_spire] run particle dust{color:[0.6,0.1,1.0],scale:1.6} ~ ~ ~ 0.6 0.6 0.6 0 4 force
  5. /particle enchant ~ ~5.5 ~ 1.5 1.5 1.5 0.5 6 force
  6. /execute if score #clock c9_timer matches 1 unless entity @e[tag=c9_mob8] at @e[tag=c9_spire] run summon husk ~7 ~-5.5 ~5 {Tags:["c9_mob","c9_mob8"],Glowing:1b,CustomName:'{"text":"Arcane Target","color":"dark_purple"}'}
  7. /execute if score #clock c9_timer matches 40 unless entity @e[tag=c9_mob8] at @e[tag=c9_spire] run summon husk ~-7 ~-5.5 ~4 {Tags:["c9_mob","c9_mob8"],Glowing:1b,CustomName:'{"text":"Arcane Target","color":"dark_purple"}'}
  8. /execute if score #clock c9_timer matches 80 unless entity @e[tag=c9_mob8] at @e[tag=c9_spire] run summon husk ~2 ~-5.5 ~-8 {Tags:["c9_mob","c9_mob8"],Glowing:1b,CustomName:'{"text":"Arcane Target","color":"dark_purple"}'}
  9. /execute if score #clock c9_timer matches 20 if entity @e[tag=c9_mob,distance=..18] at @e[tag=c9_spire] run summon area_effect_cloud ~ ~ ~ {Tags:["c9_bolt"],Duration:50,Radius:0f}
  10. /execute if score #clock c9_timer matches 60 if entity @e[tag=c9_mob,distance=..18] at @e[tag=c9_spire] run summon area_effect_cloud ~ ~ ~ {Tags:["c9_bolt"],Duration:50,Radius:0f}
  11. /execute if score #clock c9_timer matches 100 if entity @e[tag=c9_mob,distance=..18] at @e[tag=c9_spire] run summon area_effect_cloud ~ ~ ~ {Tags:["c9_bolt"],Duration:50,Radius:0f}
  12. /execute as @e[tag=c9_bolt] at @s facing entity @e[tag=c9_mob,sort=nearest,limit=1] eyes run tp @s ^ ^ ^0.85
  13. /execute at @e[tag=c9_bolt] run particle dust{color:[0.2,0.9,1.0],scale:1.5} ~ ~ ~ 0.1 0.1 0.1 0 5 force
  14. /execute at @e[tag=c9_bolt] as @e[tag=c9_mob,distance=..1.6] at @s run particle sonic_boom ~ ~1 ~ 0 0 0 0 1 force

How it works

Frames from the test run

Arcane Sentinel Tower - frame 1Arcane Sentinel Tower - frame 2Arcane Sentinel Tower - frame 3

Recorded on our own test server: 60 frames at about 9.9 fps. Our image check saw: A glowing, rotating amethyst block floats above a dark stone pedestal with soul lanterns, emitting purple particles and a trail of blue magic particles toward the lower left.

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 spot where you want the Arcane Sentinel Tower built and run the 10 setup commands in chat or in an impulse command block.
  2. Place a line of 14 repeating command blocks (or one repeating command block leading into 13 chain command blocks) nearby.
  3. Set all 14 command blocks to Always Active and paste the loop commands into them in order.
  4. To make the bolts deal real damage to monsters upon impact, add one more chain command block with: <code>/execute at @e[tag=c9_bolt] run damage @e[tag=c9_mob,distance=..1.6,limit=1] 12 minecraft:magic</code>.
  5. Watch the floating amethyst crystal spin up and fire homing cyan bolts at the summoned husks.

Use it with real players

To make this tower protect your base against all natural hostile monsters instead of only the demo husks, replace tag=c9_mob in the loop commands with type=#minecraft:raiders or type=!player,type=!item,type=!block_display,type=!area_effect_cloud, and remove loop commands 6, 7, and 8 so it stops spawning test husks.

Remove it again 6 commands

  1. /kill @e[tag=c9_spire]
  2. /kill @e[tag=c9_bolt]
  3. /kill @e[tag=c9_mob]
  4. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 grass_block
  5. /fill ~-2 ~ ~-2 ~2 ~3 ~2 air
  6. /scoreboard objectives remove c9_timer

FAQ

Why does the projectile use an area_effect_cloud instead of an armor stand?

An area_effect_cloud with a Duration tag automatically despawns after its timer runs out (50 ticks here), preventing leftover projectile entities from building up if a target dies or moves out of range.

How can I change the color of the magic beam?

Edit the RGB numbers inside dust{color:[0.2,0.9,1.0],scale:1.5} in loop command 13. The three numbers represent red, green, and blue from 0.0 to 1.0.

Commands used

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

Similar creations

Join 9Minecraft News & Guides