Build a stormy copper arena in Minecraft where a spinning caster fires glowing electric orbs that bounce off pillars and trigger lightning strikes.
Projectiles & MissilesLightningTechnologyCyanYellowOrangePvPMini-gameBoss FightBlock displaysArmor standsSummoned mobsBlock building (fill/setblock/clone)SoundsGlowing outlinesLightning boltsRotation math21+ commands
The Stormbound Ricochet Bolts command creation transforms a flat space into an electrified copper testing arena. An armored caster rotates in the middle, rapidly launching bright, oversized plasma orbs that leave thick trails of cyan and yellow lightning sparks across the floor.
Each orb detects walls and quartz pillars ahead of it, physically bouncing at sharp angles upon impact. Every collision triggers a real lightning strike, an explosion of soul fire flames, and a shockwave of glowing sparks, creating a chaotic chain of ricocheting storm bolts.
/scoreboard objectives add c9_t dummy/fill ~-9 ~ ~-9 ~9 ~3 ~9 waxed_cut_copper hollow/fill ~-9 ~ ~-9 ~9 ~-1 ~9 polished_deepslate/fill ~-8 ~1 ~-8 ~8 ~3 ~8 air/fill ~-4 ~1 ~-4 ~-3 ~3 ~-3 quartz_pillar/fill ~3 ~1 ~-4 ~4 ~3 ~-3 quartz_pillar/fill ~-4 ~1 ~3 ~-3 ~3 ~4 quartz_pillar/fill ~3 ~1 ~3 ~4 ~3 ~4 quartz_pillar/summon armor_stand ~ ~1 ~ {Tags:["c9_s","c9_actor"],NoGravity:1b,ShowArms:1b,Glowing:1b,equipment:{feet:{id:"minecraft:netherite_boots",count:1},legs:{id:"minecraft:netherite_leggings",count:1},chest:{id:"minecraft:diamond_chestplate",count:1},head:{id:"minecraft:golden_helmet",count:1},mainhand:{id:"minecraft:trident",count:1}}}/execute as @e[tag=c9_actor] at @s run tp @s ~ ~ ~ ~19 ~/scoreboard players add @e[tag=c9_s] c9_t 1/execute as @e[tag=c9_actor,scores={c9_t=8..}] at @s run summon block_display ~ ~1.2 ~ {Tags:["c9_s","c9_bolt"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.45f,-0.45f,-0.45f],scale:[0.9f,0.9f,0.9f]}}/execute as @e[tag=c9_actor,scores={c9_t=8..}] at @s run tp @e[tag=c9_bolt,scores={c9_t=..1}] ~ ~1.2 ~ ~ ~/execute as @e[tag=c9_actor,scores={c9_t=8..}] at @s run playsound entity.illusioner.cast_spell master @a ~ ~ ~ 0.8 1.5/scoreboard players set @e[tag=c9_actor,scores={c9_t=8..}] c9_t 0/execute as @e[tag=c9_bolt] at @s unless block ^ ^ ^0.8 air run summon lightning_bolt ~ ~ ~/execute as @e[tag=c9_bolt] at @s unless block ^ ^ ^0.8 air run particle soul_fire_flame ~ ~ ~ 0.5 0.5 0.5 0.15 35 force/execute as @e[tag=c9_bolt] at @s unless block ^ ^ ^0.8 air run particle explosion ~ ~ ~ 0.2 0.2 0.2 0 3 force/execute as @e[tag=c9_bolt] at @s unless block ^ ^ ^0.8 air run tp @s ~ ~ ~ ~125 ~/execute as @e[tag=c9_bolt] at @s if block ^ ^ ^0.8 air run tp @s ^ ^ ^0.55/execute at @e[tag=c9_bolt] run particle dust{color:[0.0,0.95,1.0],scale:2.8} ~ ~ ~ 0.25 0.25 0.25 0 12 force/execute at @e[tag=c9_bolt] run particle dust{color:[1.0,0.95,0.2],scale:2.0} ~ ~ ~ 0.15 0.15 0.15 0 6 force/kill @e[tag=c9_bolt,scores={c9_t=95..}]loop #3 Every 8 ticks, the caster summons a bright <code>block_display</code> showing a full-bright glowing sea lantern centered on its coordinate.loop #4 Because newly summoned entities default to facing south, this command immediately matches the new bolt's rotation to the spinning caster.loop #7 Uses local coordinates <code>^ ^ ^0.8</code> to check if a wall or pillar is directly ahead of the bolt, calling down a lightning bolt on collision.loop #10 Rotates the bolt by 125 degrees when it hits a solid surface so it ricochets across the arena in a new direction.loop #11 Moves the orb forward 0.55 blocks along its current facing vector whenever the path ahead is clear air.


Recorded on our own test server: 53 frames at about 8.7 fps. Our image check saw: Inside a copper-walled arena with four quartz pillars, a central armor stand shoots glowing cyan cubes that leave thick blue and yellow particle trails as they ricochet off the walls, triggering lightning strikes on impact.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let a real player fire ricochet bolts instead of the armor stand, replace @e[tag=c9_actor] in loop commands 2 through 6 with @a[nbt={SelectedItem:{id:"minecraft:trident"}}] and set their pitch to 0 in command 4 with tp @e[tag=c9_bolt,scores={c9_t=..1}] ~ ~1.2 ~ ~ 0 so the bolts travel horizontally along the floor and bounce cleanly off walls.
/kill @e[tag=c9_s]/scoreboard objectives remove c9_t/fill ~-9 ~ ~-9 ~9 ~3 ~9 air/fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 grass_blockA leading space before a slash in a command block breaks execution, and summoned display entities always face south until explicitly rotated to match the caster.
Yes! Increase the score limit in the final loop command from 95 to 160 so each orb stays alive longer.
▶Ferris-Wheel Gondola Revolver CannonProjectiles & MissilesExpert24 cmds
▶Magnetic Rail-Track Javelin AssemblerProjectiles & MissilesExpert22 cmds
▶Pachinko-Board Trick-Shot CrossbowProjectiles & MissilesExpert24 cmds
▶Steampunk Piston-Hammer Pilebunker GauntletProjectiles & MissilesMedium24 cmds
▶16-Way Automated ArtilleryProjectiles & MissilesHard25 cmds
▶Archimedes Water-Screw Hydro-Vortex CannonProjectiles & MissilesHard24 cmds