Build an automated glass arena with a spinning laser turret at the center that fires bouncing energy orbs leaving thick cyan and gold particle ribbons.
Projectiles & MissilesTechnologyMysticCyanGoldBlackMini-gamePvPAdventure MapBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)Glowing outlinesRotation math21+ commands
The Infinite Ricochet Chamber is an enclosed dark-stone and stained-glass arena powered by a spinning central prismarine emitter. Every second, the core fires high-speed energy bolts that never stop moving: when an orb reaches a glass wall, it flashes gold, chimes like crystal, and rebounds across the chamber at a sharp geometric angle.
As up to twelve orbs crisscross the room at once, they weave a dense lattice of glowing cyan and gold particle ribbons that light up the arena floor at night.
/scoreboard objectives add c9_t dummy/scoreboard objectives add c9_n dummy/fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 minecraft:polished_deepslate/fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 minecraft:chiseled_deepslate/fill ~-9 ~ ~-9 ~9 ~3 ~9 minecraft:cyan_stained_glass hollow/fill ~-8 ~3 ~-8 ~8 ~3 ~8 minecraft:air/fill ~-9 ~-1 ~-9 ~-9 ~3 ~-9 minecraft:sea_lantern/fill ~9 ~-1 ~-9 ~9 ~3 ~-9 minecraft:sea_lantern/fill ~-9 ~-1 ~9 ~-9 ~3 ~9 minecraft:sea_lantern/summon minecraft:block_display ~ ~1 ~ {Tags:["c9_actor","c9_obj"],Glowing:1b,glow_color_override:65535,teleport_duration:1,block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.4f,-0.4f,-0.4f],scale:[0.8f,0.8f,0.8f]},Rotation:[15.0f,0.0f]}/execute as @e[tag=c9_actor] at @s run tp @s ~ ~ ~ ~31 0/execute as @e[tag=c9_actor] at @s run particle minecraft:dust_color_transition{from_color:[0.0,1.0,1.0],to_color:[1.0,0.85,0.1],scale:2.2} ~ ~0.2 ~ 0.35 0.35 0.35 0 4 force/scoreboard players add @e[tag=c9_actor] c9_t 1/execute store result score #cnt c9_n if entity @e[tag=c9_proj]/execute if score #cnt c9_n matches 12.. run scoreboard players set @e[tag=c9_actor] c9_t 0/execute as @e[tag=c9_actor,scores={c9_t=8..}] at @s run summon minecraft:block_display ~ ~0.1 ~ {Tags:["c9_proj","c9_obj","c9_new"],Glowing:1b,glow_color_override:16766720,teleport_duration:1,block_state:{Name:"minecraft:shroomlight"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.2f,-0.2f,-0.2f],scale:[0.4f,0.4f,0.4f]}}/execute as @e[tag=c9_actor,scores={c9_t=8..}] at @s run tp @e[tag=c9_new] ~ ~0.1 ~ ~ ~/tag @e[tag=c9_new] remove c9_new/scoreboard players set @e[tag=c9_actor,scores={c9_t=8..}] c9_t 0/execute as @e[tag=c9_proj] at @s run tp @s ^ ^ ^0.55/execute as @e[tag=c9_proj] at @s run particle minecraft:dust_color_transition{from_color:[0.0,0.95,1.0],to_color:[1.0,0.8,0.0],scale:2.4} ~ ~ ~ 0.08 0.08 0.08 0 6 force/execute as @e[tag=c9_proj] at @s run particle minecraft:dust{color:[1.0,0.85,0.1],scale:1.8} ^ ^ ^-0.28 0.05 0.05 0.05 0 4 force/execute as @e[tag=c9_proj] at @s unless block ^ ^ ^0.75 minecraft:air run particle minecraft:end_rod ~ ~ ~ 0.25 0.25 0.25 0.08 10 force/execute as @e[tag=c9_proj] at @s unless block ^ ^ ^0.75 minecraft:air rotated ~ 0 run tp @s ~ ~ ~ ~108 0setup #10 Summons the central rotating emitter as a glowing cyan <code>block_display</code> entity tagged <code>c9_actor</code> floating one block above the floor.loop #4 Counts how many active <code>c9_proj</code> energy orbs exist in the chamber and stores that number in the <code>#cnt</code> fake player score so the arena never exceeds 12 projectiles.loop #6 Every 8 ticks (until 12 orbs are active), summons a golden-glowing shroomlight <code>block_display</code> projectile and aligns its rotation with the spinning central turret.loop #11 Draws the thick cyan-to-gold particle ribbon along each orb's flight path using <code>dust_color_transition</code> with a large 2.4 scale.loop #14 Detects when the block 0.75 meters ahead of an orb is not air (meaning it reached a glass wall or corner pillar) and rotates its yaw by 108 degrees so it rebounds across the room.


Recorded on our own test server: 51 frames at about 8.4 fps. Our image check saw: A glass-walled arena with a dark stone floor contains a central glowing blue emitter and around twelve glowing gold orbs moving in straight lines with blue and yellow particle trails that bounce off the glass walls.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To turn this into a player-fired ricochet weapon instead of an automated turret, replace @e[tag=c9_actor] in loop commands 6 and 7 with @a[tag=ricochet_fire] and trigger the tag whenever a player right-clicks a custom wand or carrot on a stick. The bolts will launch in the horizontal direction the player is looking and bounce off walls around enemies.
/kill @e[tag=c9_obj]/scoreboard objectives remove c9_t/scoreboard objectives remove c9_n/fill ~-9 ~ ~-9 ~9 ~4 ~9 minecraft:air/fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 minecraft:grass_blockIn Minecraft Java Edition, checking `if entity @e[tag=c9_proj,limit=8]` succeeds as soon as at least 1 matching entity exists. Storing the entity count into a scoreboard with `execute store result score` properly waits until all 12 projectiles are active.
Yes! Because the orbs check `unless block ^ ^ ^0.75 minecraft:air` right in front of themselves, they will bounce off any solid wall or obstacle you build inside the arena.
▶Ferris-Wheel Gondola Revolver CannonProjectiles & MissilesExpert24 cmds
▶Bullet-Time VolleyProjectiles & MissilesMedium19 cmds
▶Synchronized Arrow BarrageProjectiles & MissilesEasy24 cmds
▶Whistling Seeker ArrowProjectiles & MissilesHard24 cmds
▶Cyclone Vortex ArrowProjectiles & MissilesMedium24 cmds
▶Matter-Erasing Piercing ProjectileProjectiles & MissilesMedium23 cmds