Storm Guardian Statue

Build an arcane Storm Guardian Statue in Minecraft that spins a glowing trident and calls down real lightning bolts to smite nearby wandering mobs.

Java EditionMagic & SpellsEasy24 commandsTested on a real 26.2 & 26.3 server
Lightning strikes approaching husks near a dark deepslate monument with a floating trident at night. Download the GIF Video & GIF © www.9minecraft.net

Lightning & Storm MagicLightningMysticDarkCyanGoldWhiteAdventure MapBoss FightDecorationItem displaysSummoned mobsBlock building (fill/setblock/clone)Lightning boltsRotation math21+ commands

This command creation builds a dark deepslate monument crowned with a lightning rod, glowing lanterns, and a levitating enchanted trident surrounded by swirling cyan and gold rune rings. Whenever wandering husks march too close to the pedestal, the statue locks onto them with crackling sparks and calls down real bolts of lightning.

Each strike erupts in a burst of soul fire and clears away stray ground flames moments later, creating a self-defending magical shrine you can place at the heart of a base or arena.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-2 ~ ~-2 ~2 ~ ~2 polished_deepslate_slab[type=bottom]
  3. /fill ~-1 ~ ~-1 ~1 ~ ~1 polished_deepslate
  4. /fill ~ ~1 ~ ~ ~3 ~ chiseled_deepslate
  5. /fill ~-1 ~2 ~ ~1 ~2 ~ deepslate_tile_wall
  6. /setblock ~ ~2 ~ sea_lantern
  7. /fill ~-1 ~3 ~ ~1 ~3 ~ soul_lantern replace air
  8. /setblock ~ ~4 ~ lightning_rod
  9. /summon item_display ~ ~5.3 ~ {Tags:["c9_statue","c9_trident"],Glowing:1b,glow_color_override:65535,item:{id:"minecraft:trident",count:1,components:{"minecraft:enchantment_glint_override":true}},transformation:{left_rotation:[0f,0f,-0.3826834f,0.9238795f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1.5f,1.5f,1.5f]}}
  10. /summon iron_golem ~ ~5.0 ~ {Tags:["c9_statue","c9_bait"],NoAI:1b,Silent:1b,Invulnerable:1b,PersistenceRequired:1b,attributes:[{id:"minecraft:scale",base:0.06d}]}

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

  1. /scoreboard players add #tick c9_timer 1
  2. /execute if score #tick c9_timer matches 16.. run scoreboard players set #tick c9_timer 0
  3. /execute as @e[tag=c9_trident] at @s run tp @s ~ ~ ~ ~9 0
  4. /execute at @e[tag=c9_trident] run particle dust{color:[0.15,0.85,1.0],scale:1.4} ^2.2 ^-5.1 ^ 0.05 0.05 0.05 0 4 force
  5. /execute at @e[tag=c9_trident] run particle dust{color:[1.0,0.85,0.25],scale:1.2} ^-2.2 ^-5.1 ^ 0.05 0.05 0.05 0 4 force
  6. /particle electric_spark ~ ~4.6 ~ 0.35 0.6 0.35 0.08 5 force
  7. /execute store result score #mobs c9_timer if entity @e[tag=c9_mob]
  8. /execute if score #tick c9_timer matches 1 if score #mobs c9_timer matches ..3 at @e[tag=c9_trident] run summon husk ^ ^-5.3 ^9.5 {Tags:["c9_mob"],Health:4f,PersistenceRequired:1b,DeathLootTable:"minecraft:empty"}
  9. /execute at @e[tag=c9_mob,tag=!c9_smited,distance=..8] run particle end_rod ~ ~1 ~ 0.25 0.5 0.25 0.03 2 force
  10. /execute if score #tick c9_timer matches 9 run tag @e[tag=c9_mob,tag=!c9_target,distance=..7.2,sort=nearest,limit=1] add c9_target
  11. /execute at @e[tag=c9_target,tag=!c9_smited] run summon lightning_bolt ~ ~ ~
  12. /execute at @e[tag=c9_target,tag=!c9_smited] run particle soul_fire_flame ~ ~0.6 ~ 0.5 0.5 0.5 0.15 35 force
  13. /tag @e[tag=c9_target,tag=!c9_smited] add c9_smited
  14. /execute if score #tick c9_timer matches 15 run fill ~-10 ~ ~-10 ~10 ~1 ~10 air replace fire

How it works

Frames from the test run

Storm Guardian Statue - frame 1Storm Guardian Statue - frame 2Storm Guardian Statue - frame 3

Recorded on our own test server: 49 frames at about 9.7 fps. Our image check saw: A deepslate monument with a floating trident and soul lanterns calls down lightning and soul fire on approaching husks 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. Clear a flat open space at least 22x22 blocks wide so approaching mobs have room to walk toward the centre.
  2. Stand at the exact centre block where you want the monument to rise and run the 10 setup commands in chat or impulse command blocks.
  3. Place a row of 14 repeating command blocks (or 1 repeating block feeding 13 chain command blocks, all set to Always Active) underneath the stage.
  4. Paste the 14 loop commands in order, using execute positioned X Y Z run ... if your command blocks are not at the statue's centre coordinates.
  5. Set the time to night (/time set night) to see the cyan trident glow, soul lanterns, and lightning bolts clearly.

Use it with real players

To use the statue as a real base defence instead of a self-running demo, leave out loop commands 7 and 8 (which summon demo husks) and change tag=c9_mob in loop commands 9 and 10 to type=zombie, type=skeleton, or type=#minecraft:raiders. The monument will then stand quietly until real hostile mobs wander within 7.2 blocks, leaving players and pets completely safe.

Remove it again 5 commands

  1. /kill @e[tag=c9_statue]
  2. /kill @e[tag=c9_mob]
  3. /fill ~-2 ~ ~-2 ~2 ~5 ~2 air
  4. /fill ~-10 ~ ~-10 ~10 ~1 ~10 air replace fire
  5. /scoreboard objectives remove c9_timer

FAQ

Will the lightning bolts set my grass or wooden floor on fire?

Loop command 14 automatically replaces any fire blocks around the monument with air a fraction of a second after each bolt hits, keeping the surrounding terrain clean.

How do I adjust the statue's detection range?

Change distance=..7.2 in loop command 10 (and distance=..8 in loop command 9) to a smaller or larger radius, up to about 15 blocks.

Commands used

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

Similar creations

Join 9Minecraft News & Guides