Chained Arc-Discharge Pylon

Build a magical defense spire in vanilla Minecraft that charges up static electricity and fires a bouncing chain-lightning bolt across multiple targets.

Java EditionMagic & SpellsMedium24 commandsTested on a real 26.2 & 26.3 server
A glowing cyan pylon discharges chain lightning particles across multiple skeletons on a dark stone platform. Download the GIF Video & GIF © www.9minecraft.net

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.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_tick dummy
  2. /fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 polished_deepslate
  3. /fill ~-1 ~ ~-1 ~1 ~ ~1 chiseled_deepslate
  4. /fill ~ ~1 ~ ~ ~3 ~ deepslate_tile_wall
  5. /setblock ~ ~4 ~ sea_lantern
  6. /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]}}
  7. /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}}}
  8. /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}}}
  9. /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}}}
  10. /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}}}

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

  1. /scoreboard players add #pylon c9_tick 1
  2. /execute if score #pylon c9_tick matches 70.. run scoreboard players set #pylon c9_tick 1
  3. /execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~8 ~
  4. /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
  5. /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
  6. /execute if score #pylon c9_tick matches 29 run playsound block.beacon.activate master @a ~ ~4 ~ 1.5 1.8
  7. /execute if score #pylon c9_tick matches 30 run summon area_effect_cloud ~ ~4.5 ~ {Tags:["c9_sim","c9_arc"],Duration:26}
  8. /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
  9. /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
  10. /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
  11. /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
  12. /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
  13. /execute as @e[tag=c9_arc] at @s run particle electric_spark ~ ~ ~ 0.25 0.25 0.25 0.15 12 force
  14. /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 force

How it works

Frames from the test run

Chained Arc-Discharge Pylon - frame 1Chained Arc-Discharge Pylon - frame 2Chained Arc-Discharge Pylon - frame 3

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.

Build it in your world

  1. Clear a flat area at least 19x19 blocks wide and stand at the exact center.
  2. Run each command from the Setup list in chat (or put them in a chain of impulse command blocks) to build the deepslate spire, floating core, and four armored target dummies.
  3. Place 14 repeating command blocks (or 1 repeating command block feeding into 13 chain command blocks) nearby and set them all to Always Active.
  4. Paste the Loop commands into the blocks in order.
  5. Watch the sea lantern core spin and gather static sparks for a moment before firing a chain lightning bolt that bounces across all four targets.

Use it with real players

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.

Remove it again 4 commands

  1. /kill @e[tag=c9_sim]
  2. /scoreboard objectives remove c9_tick
  3. /fill ~-8 ~ ~-8 ~8 ~6 ~8 air
  4. /fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 grass_block

FAQ

Why use an Area Effect Cloud for the lightning bolt instead of an Armor Stand?

Area 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.

Can I change how fast the pylon fires?

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.

Commands used

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

Similar creations

Join 9Minecraft News & Guides