Build a runic copper obelisk that charges up with spinning electric arcs and fires a continuous purple arcane lightning beam into the sky.
The Sparking Arcane Lightning Pillar is a magical monument built from copper, deepslate, and amethyst that cycles through an automated energy sequence. Every few seconds, four floating runes orbit the spire faster and faster as electric sparks leap across the metal blocks.
Once fully charged, the crystal core unleashes a bright purple and cyan lightning beam straight up into the clouds, accompanied by thunderous sound effects and glowing energy rings.
/scoreboard objectives add c9_t dummy/fill ~-2 ~ ~-2 ~2 ~ ~2 minecraft:polished_deepslate/fill ~-1 ~1 ~-1 ~1 ~1 ~1 minecraft:cut_copper/setblock ~-2 ~1 ~-2 minecraft:chiseled_deepslate/setblock ~2 ~1 ~-2 minecraft:chiseled_deepslate/setblock ~-2 ~1 ~2 minecraft:chiseled_deepslate/setblock ~2 ~1 ~2 minecraft:chiseled_deepslate/fill ~ ~2 ~ ~ ~5 ~ minecraft:waxed_copper_bulb[lit=true]/setblock ~ ~6 ~ minecraft:amethyst_block/summon minecraft:block_display ~ ~6.5 ~ {Tags:["c9_ent","c9_core"],Glowing:1b,glow_color_override:11141375,brightness:{sky:15,block:15},block_state:{Name:"minecraft:LODESTONE"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.6f,-0.6f,-0.6f],scale:[1.2f,1.2f,1.2f]}}/execute as @e[tag=c9_core] run scoreboard players add @s c9_t 1/execute as @e[tag=c9_core,scores={c9_t=140..}] run scoreboard players set @s c9_t 1/execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~6 ~/execute as @e[tag=c9_core,scores={c9_t=1..80}] at @s rotated ~ 0 run particle minecraft:electric_spark ^ ^ ^1.8 0.1 0.2 0.1 0.05 4 force/execute as @e[tag=c9_core,scores={c9_t=1..80}] at @s rotated ~ 0 run particle minecraft:dust_color_transition{from_color:[0.6,0.1,1.0],to_color:[0.2,0.9,1.0],scale:1.4} ^ ^ ^-1.8 0.05 0.05 0.05 0 3 force/execute as @e[tag=c9_core,scores={c9_t=40..80}] at @s run particle minecraft:electric_spark ~ ~-2.5 ~ 1.4 2.2 1.4 0.2 18 force/execute as @e[tag=c9_core,scores={c9_t=40..80}] at @s run particle minecraft:witch ~ ~-3.5 ~ 1.8 0.2 1.8 0.05 10 force/execute as @e[tag=c9_core,scores={c9_t=20}] at @s run playsound minecraft:block.beacon.ambient master @a ~ ~ ~ 1.5 1.5/execute as @e[tag=c9_core,scores={c9_t=80}] at @s run summon minecraft:lightning_bolt ~ ~1 ~/execute as @e[tag=c9_core,scores={c9_t=81..125}] at @s run particle minecraft:dust_color_transition{from_color:[0.7,0.0,1.0],to_color:[1.0,0.4,1.0],scale:2.5} ~ ~8 ~ 0.18 7.5 0.18 0 65 force/execute as @e[tag=c9_core,scores={c9_t=81..125}] at @s run particle minecraft:electric_spark ~ ~8 ~ 0.45 7.5 0.45 0.15 40 force/execute as @e[tag=c9_core,scores={c9_t=81..125}] at @s run particle minecraft:end_rod ~ ~0.5 ~ 0.2 0.2 0.2 0.25 8 force/execute as @e[tag=c9_core,scores={c9_t=81..125}] at @s rotated ~ 0 run particle minecraft:soul_fire_flame ^2.4 ^-5.5 ^ 0.1 0.1 0.1 0.02 3 force/execute as @e[tag=c9_core,scores={c9_t=95}] at @s run playsound minecraft:entity.illusioner.cast_spell master @a ~ ~ ~ 2.0 0.7setup #1 Creates the <code>c9_t</code> scoreboard objective to track the 7-second charge and discharge cycle.setup #10 Summons a glowing block display entity at the top of the spire to act as the rotating arcane core and hold the timer score.loop #3 Rotates the core entity by 6 degrees every tick, allowing local coordinates (<code>^ ^ ^</code>) in later commands to draw spinning particle rings.loop #5 Uses local coordinates offset behind the spinning core to draw an orbiting trail of purple-to-cyan color transition dust during the charging phase.loop #9 At tick 80 (4 seconds), summons a real lightning bolt at the tip of the pillar to kick off the beam phase.loop #10 Creates the vertical purple arcane beam stretching 15 blocks into the sky using a tall bounding box of large color-transition dust particles.


Recorded on our own test server: 44 frames at about 7.3 fps. Our image check saw: A copper, deepslate, and amethyst pillar shoots a beam of purple particles, lightning, and white sparks into the night sky.
To make the pillar fire only when a player approaches it with an amethyst shard, change the first loop command to /execute as @e[tag=c9_core] at @s if entity @a[distance=..8,nbt={SelectedItem:{id:"minecraft:amethyst_shard"}}] run scoreboard players add @s c9_t 1.
/kill @e[tag=c9_ent]/scoreboard objectives remove c9_t/fill ~-2 ~ ~-2 ~2 ~7 ~2 minecraft:airThe lightning strike lands on top of the amethyst and copper pillar, which cannot burn, though it can briefly light fire on the top block before going out. You can run /gamerule do_fire_tick false if you have flammable builds right next to the tip.
Edit loop command 10 and change the RGB decimals inside from_color and to_color (values run from 0.0 to 1.0) to any color combination you prefer.
/execute/fill/particle/playsound/scoreboard/setblock/summon/tp
▶Alchemical Gold Transmutation ArrayMagic & SpellsHard
▶Arcane Golem Assembly RitualMagic & SpellsHard
▶Arcane Potion Cauldron OverflowMagic & SpellsEasy
▶Archmage Duel of Fire and IceMagic & SpellsExpert
▶Astral Constellation Meteor StarfallMagic & SpellsHard
▶Celestial Black Hole SingularityMagic & SpellsExpert