Build an arcane Storm Guardian Statue in Minecraft that spins a glowing trident and calls down real lightning bolts to smite nearby wandering mobs.
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.
/scoreboard objectives add c9_timer dummy/fill ~-2 ~ ~-2 ~2 ~ ~2 polished_deepslate_slab[type=bottom]/fill ~-1 ~ ~-1 ~1 ~ ~1 polished_deepslate/fill ~ ~1 ~ ~ ~3 ~ chiseled_deepslate/fill ~-1 ~2 ~ ~1 ~2 ~ deepslate_tile_wall/setblock ~ ~2 ~ sea_lantern/fill ~-1 ~3 ~ ~1 ~3 ~ soul_lantern replace air/setblock ~ ~4 ~ lightning_rod/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]}}/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}]}/scoreboard players add #tick c9_timer 1/execute if score #tick c9_timer matches 16.. run scoreboard players set #tick c9_timer 0/execute as @e[tag=c9_trident] at @s run tp @s ~ ~ ~ ~9 0/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/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/particle electric_spark ~ ~4.6 ~ 0.35 0.6 0.35 0.08 5 force/execute store result score #mobs c9_timer if entity @e[tag=c9_mob]/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"}/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/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/execute at @e[tag=c9_target,tag=!c9_smited] run summon lightning_bolt ~ ~ ~/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/tag @e[tag=c9_target,tag=!c9_smited] add c9_smited/execute if score #tick c9_timer matches 15 run fill ~-10 ~ ~-10 ~10 ~1 ~10 air replace firesetup #9 Summons an <code>item_display</code> holding an enchanted trident rotated upright and outlined in cyan glow above the lightning rod.setup #10 Places a miniature silent, invulnerable <code>iron_golem</code> scaled down to <code>0.06</code> at the top of the statue so nearby husks naturally march straight toward the monument.loop #4 Uses the spinning trident's local coordinates (<code>^2.2 ^-5.1 ^</code>) to draw a rotating cyan dust ring around the base of the pedestal.loop #8 Spawns a wandering husk 9.5 blocks away at the trident's current facing angle only when fewer than four demo mobs exist.loop #10 Every 16-tick cycle, marks the closest unsmited mob within 7.2 blocks as <code>c9_target</code> so it gets struck once without double-hitting falling mobs.loop #11 Calls down a real <code>lightning_bolt</code> directly on the targeted intruder before tagging it <code>c9_smited</code> and clearing leftover fire six ticks later.


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.
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.
/kill @e[tag=c9_statue]/kill @e[tag=c9_mob]/fill ~-2 ~ ~-2 ~2 ~5 ~2 air/fill ~-10 ~ ~-10 ~10 ~1 ~10 air replace fire/scoreboard objectives remove c9_timerLoop 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.
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.
▶Escalating Storm MagicLightning & Storm MagicMedium24 cmds
▶Thunder Sovereign Arena ShowcaseLightning & Storm MagicExpert24 cmds
▶Telekinetic Lightning TempestLightning & Storm MagicHard24 cmds
▶Magnetized Ferrofluid Spike DanceLightning & Storm MagicHard22 cmds
▶Runic Jacob's Ladder Arc ReactorLightning & Storm MagicHard20 cmds
▶Alchemical Tesla Coil Plasma CageLightning & Storm MagicHard24 cmds