Build a magical defense spire in vanilla Minecraft that charges up static electricity and fires a bouncing chain-lightning bolt across multiple targets.
Lightning & Storm MagicLightningTechnologyMysticCyanBlueWhiteMap MakingAdventure MapPvPBlock displaysArmor standsBlock building (fill/setblock/clone)SoundsRotation math21+ commands
The Chained Arc-Discharge Pylon is an automated arcane defense tower built with vanilla commands. At its peak sits a glowing sea lantern core encased in a rotating cyan field. Every few seconds, the spire draws in swirling electric sparks until the charge peaks, unleashing a jagged bolt of chain lightning.
Instead of striking just one enemy, a hidden raycaster entity leaps rapidly from the tower to the first target, and then bounces from one armored dummy to the next around the perimeter, leaving bright cyan trails and electric flashes on every impact.
/scoreboard objectives add c9_tick dummy/fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 polished_deepslate/fill ~-1 ~ ~-1 ~1 ~ ~1 chiseled_deepslate/fill ~ ~1 ~ ~ ~3 ~ deepslate_tile_wall/setblock ~ ~4 ~ sea_lantern/summon block_display ~ ~4.5 ~ {Tags:["c9_sim","c9_core"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.4f,1.4f,1.4f],translation:[-0.7f,-0.7f,-0.7f]}}/summon armor_stand ~5 ~ ~-4 {Tags:["c9_sim","c9_dummy","c9_d1"],NoBasePlate:1b,ShowArms:1b,Rotation:[35f,0f],equipment:{head:{id:"minecraft:chainmail_helmet",count:1},chest:{id:"minecraft:iron_chestplate",count:1},legs:{id:"minecraft:chainmail_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1},mainhand:{id:"minecraft:iron_sword",count:1}}}/summon armor_stand ~6 ~ ~4 {Tags:["c9_sim","c9_dummy","c9_d2"],NoBasePlate:1b,ShowArms:1b,Rotation:[130f,0f],equipment:{head:{id:"minecraft:iron_helmet",count:1},chest:{id:"minecraft:chainmail_chestplate",count:1},legs:{id:"minecraft:iron_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1},mainhand:{id:"minecraft:iron_axe",count:1}}}/summon armor_stand ~-5 ~ ~5 {Tags:["c9_sim","c9_dummy","c9_d3"],NoBasePlate:1b,ShowArms:1b,Rotation:[-135f,0f],equipment:{head:{id:"minecraft:chainmail_helmet",count:1},chest:{id:"minecraft:iron_chestplate",count:1},legs:{id:"minecraft:chainmail_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1},mainhand:{id:"minecraft:shield",count:1}}}/summon armor_stand ~-6 ~ ~-4 {Tags:["c9_sim","c9_dummy","c9_d4"],NoBasePlate:1b,ShowArms:1b,Rotation:[-45f,0f],equipment:{head:{id:"minecraft:iron_helmet",count:1},chest:{id:"minecraft:iron_chestplate",count:1},legs:{id:"minecraft:chainmail_leggings",count:1},feet:{id:"minecraft:iron_boots",count:1},mainhand:{id:"minecraft:iron_sword",count:1}}}/scoreboard players add #pylon c9_tick 1/execute if score #pylon c9_tick matches 70.. run scoreboard players set #pylon c9_tick 1/execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~8 ~/execute if score #pylon c9_tick matches 1..30 run particle electric_spark ~ ~4.5 ~ 0.7 0.7 0.7 0.05 6 force/execute if score #pylon c9_tick matches 15..30 run particle dust{color:[0.1,0.9,1.0],scale:1.6} ~ ~4.5 ~ 0.4 0.4 0.4 0 10 force/execute if score #pylon c9_tick matches 29 run playsound block.beacon.activate master @a ~ ~4 ~ 1.5 1.8/execute if score #pylon c9_tick matches 30 run summon area_effect_cloud ~ ~4.5 ~ {Tags:["c9_sim","c9_arc"],Duration:26}/execute if score #pylon c9_tick matches 31..35 as @e[tag=c9_arc] at @s facing entity @e[tag=c9_d1,limit=1] eyes run tp @s ^ ^ ^1.45/execute if score #pylon c9_tick matches 36..40 as @e[tag=c9_arc] at @s facing entity @e[tag=c9_d2,limit=1] eyes run tp @s ^ ^ ^1.65/execute if score #pylon c9_tick matches 41..45 as @e[tag=c9_arc] at @s facing entity @e[tag=c9_d3,limit=1] eyes run tp @s ^ ^ ^2.2/execute if score #pylon c9_tick matches 46..50 as @e[tag=c9_arc] at @s facing entity @e[tag=c9_d4,limit=1] eyes run tp @s ^ ^ ^1.85/execute as @e[tag=c9_arc] at @s run particle dust_color_transition{from_color:[1.0,1.0,1.0],to_color:[0.0,0.75,1.0],scale:1.8} ~ ~ ~ 0.15 0.15 0.15 0 22 force/execute as @e[tag=c9_arc] at @s run particle electric_spark ~ ~ ~ 0.25 0.25 0.25 0.15 12 force/execute as @e[tag=c9_dummy] at @s if entity @e[tag=c9_arc,distance=..2.5] run particle soul_fire_flame ~ ~1.0 ~ 0.3 0.5 0.3 0.05 8 forcesetup #6 Summons a glowing cyan stained glass <code>block_display</code> around the sea lantern core, offset by half its 1.4x scale so it rotates cleanly around the block center.loop #7 At tick 30, once the static charge finishes building up, an invisible <code>area_effect_cloud</code> tagged <code>c9_arc</code> is spawned at the top of the pylon with a 26-tick lifespan.loop #8 During ticks 31 to 35, the arc entity turns to face the first target dummy's eyes and teleports forward 1.45 blocks per tick using local coordinates (<code>^ ^ ^1.45</code>).loop #9 In the following tick windows (36..40, 41..45, 46..50), the arc immediately redirects toward the second, third, and fourth dummies in sequence, creating the chained bouncing bolt.loop #12 Draws a thick white-to-cyan <code>dust_color_transition</code> particle stream along the path of the moving arc entity every tick.


Recorded on our own test server: 50 frames at about 9.9 fps. Our image check saw: A central pylon topped with a glowing cyan-outlined sea lantern shoots blue particle arcs that chain between four surrounding skeletons.
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 pylon target real hostile mobs instead of the demo armor stands, replace the specific dummy tags (c9_d1 through c9_d4) in the four teleport commands with @e[type=#minecraft:raiders,distance=2..14,sort=nearest,limit=1] or @e[family=monster], and add a /damage command to the final impact check so mobs take magic damage whenever c9_arc passes within 2.5 blocks of them.
/kill @e[tag=c9_sim]/scoreboard objectives remove c9_tick/fill ~-8 ~ ~-8 ~8 ~6 ~8 air/fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 grass_blockArea Effect Clouds have a built-in Duration tag, meaning they automatically despawn after 26 ticks without needing an extra cleanup command, and they have zero gravity or hitbox interference.
Yes! Lower the reset threshold in the second loop command from 70.. to a smaller number (like 55..) so it immediately begins charging again after the fourth bounce finishes at tick 50.
/execute/fill/particle/playsound/scoreboard/setblock/summon/tp
▶Runic Jacob's Ladder Arc ReactorLightning & Storm MagicHard20 cmds
▶Alchemical Tesla Coil Plasma CageLightning & Storm MagicHard24 cmds
▶Cursed Compass Rose Magnetic StormLightning & Storm MagicHard24 cmds
▶Magnetized Ferrofluid Spike DanceLightning & Storm MagicHard22 cmds
▶Cyclone Air-Blast Magic SpellLightning & Storm MagicEasy24 cmds
▶Escalating Storm MagicLightning & Storm MagicMedium24 cmds