Build a glowing dark-prismarine chamber where a spinning amethyst core hovers above four neon laser beams that bounce endlessly off stained-glass walls.
Trails & PathsTechnologyMysticCyanPinkGoldDecorationMap MakingServer LobbyBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)SoundsGlowing outlinesRotation math21+ commands
The Prism Ricochet Chamber turns a dark-prismarine arena framed by sea lanterns and cyan stained glass into an automated laser light show. At the center, a tall glowing amethyst prism spins steadily in midair, surrounded by floating end rod and portal sparks.
Four glowing energy bolts in cyan, magenta, gold, and lime slice across the chamber floor at high speed. Whenever a beam reaches the outer stained-glass wall, it triggers a chime and a burst of sparks before ricocheting back across the room at a fresh angle, flaring up the central core whenever a beam passes nearby.
/fill ~-10 ~-1 ~-10 ~10 ~-1 ~10 sea_lantern/fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 dark_prismarine/fill ~-10 ~ ~-10 ~10 ~2 ~10 cyan_stained_glass/fill ~-9 ~ ~-9 ~9 ~3 ~9 air/fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 sea_lantern/summon block_display ~ ~1.6 ~ {Tags:["c9_sim","c9_core"],teleport_duration:1,Glowing:1b,glow_color_override:11141375,brightness:{sky:15,block:15},block_state:{Name:"minecraft:amethyst_block"},transformation:{translation:[-0.75f,-1.1f,-0.75f],scale:[1.5f,2.2f,1.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~-7 ~1.1 ~-5 {Tags:["c9_sim","c9_beam","c9_b1"],Rotation:[325f,0f],teleport_duration:1,Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.18f,-0.18f,-0.8f],scale:[0.36f,0.36f,1.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~7 ~1.1 ~-5 {Tags:["c9_sim","c9_beam","c9_b2"],Rotation:[38f,0f],teleport_duration:1,Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},block_state:{Name:"minecraft:pearlescent_froglight"},transformation:{translation:[-0.18f,-0.18f,-0.8f],scale:[0.36f,0.36f,1.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~7 ~1.1 ~5 {Tags:["c9_sim","c9_beam","c9_b3"],Rotation:[132f,0f],teleport_duration:1,Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},block_state:{Name:"minecraft:ochre_froglight"},transformation:{translation:[-0.18f,-0.18f,-0.8f],scale:[0.36f,0.36f,1.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/summon block_display ~-7 ~1.1 ~5 {Tags:["c9_sim","c9_beam","c9_b4"],Rotation:[224f,0f],teleport_duration:1,Glowing:1b,glow_color_override:3329330,brightness:{sky:15,block:15},block_state:{Name:"minecraft:verdant_froglight"},transformation:{translation:[-0.18f,-0.18f,-0.8f],scale:[0.36f,0.36f,1.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}/execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~7 ~/execute at @e[tag=c9_core] run particle end_rod ~ ~ ~ 0.55 0.85 0.55 0.03 3 force/execute at @e[tag=c9_core] run particle reverse_portal ~ ~ ~ 0.45 0.75 0.45 0.08 5 force/execute as @e[tag=c9_beam] at @s unless block ^ ^ ^0.85 air run particle firework ~ ~ ~ 0.15 0.15 0.15 0.14 12 force/execute as @e[tag=c9_beam] at @s unless block ^ ^ ^0.85 air run particle electric_spark ~ ~ ~ 0.2 0.2 0.2 0.45 18 force/execute as @e[tag=c9_beam] at @s unless block ^ ^ ^0.85 air run playsound block.amethyst_block.chime master @a ~ ~ ~ 0.6 1.6/execute as @e[tag=c9_beam] at @s unless block ^ ^ ^0.85 air run tp @s ~ ~ ~ ~107 ~/execute as @e[tag=c9_beam] at @s if block ^ ^ ^0.85 air run tp @s ^ ^ ^0.75/execute as @e[tag=c9_b1] at @s run particle dust_color_transition{from_color:[0.0,1.0,1.0],to_color:[0.0,0.45,1.0],scale:2.2} ^ ^ ^-0.35 0.08 0.08 0.08 0 8 force/execute as @e[tag=c9_b2] at @s run particle dust_color_transition{from_color:[1.0,0.1,1.0],to_color:[0.6,0.0,1.0],scale:2.2} ^ ^ ^-0.35 0.08 0.08 0.08 0 8 force/execute as @e[tag=c9_b3] at @s run particle dust_color_transition{from_color:[1.0,0.85,0.0],to_color:[1.0,0.35,0.0],scale:2.2} ^ ^ ^-0.35 0.08 0.08 0.08 0 8 force/execute as @e[tag=c9_b4] at @s run particle dust_color_transition{from_color:[0.2,1.0,0.2],to_color:[0.0,0.85,0.5],scale:2.2} ^ ^ ^-0.35 0.08 0.08 0.08 0 8 force/execute at @e[tag=c9_beam] run particle end_rod ~ ~ ~ 0.04 0.04 0.04 0.01 2 force/execute at @e[tag=c9_core] if entity @e[tag=c9_beam,distance=..2.6] run particle firework ~ ~ ~ 0.5 0.8 0.5 0.16 10 forcesetup #3 Builds the outer cyan stained-glass box, which the next command hollows out to leave a three-block-tall reflective perimeter wall around the 19x19 dark-prismarine floor.setup #6 Summons the central hovering amethyst prism as a full-brightness <code>block_display</code> centered on its origin so yaw rotation spins it cleanly in place.setup #7 Summons the cyan laser bolt as a stretched, glowing <code>block_display</code> with <code>teleport_duration:1</code> for smooth motion; the next three commands add the magenta, gold, and lime bolts.loop #7 Checks 0.85 blocks ahead of each beam and rotates its yaw by 107 degrees whenever a wall is detected; because 107 is coprime to 360, beams bounce into fresh trajectories across the chamber instead of repeating the same square.loop #8 Advances each beam 0.75 blocks forward along its local look vector only when the path ahead is open air, preventing beams from ever clipping through the 1-block-thick glass walls.loop #9 Paints a thick colour-shifting particle trail behind the cyan bolt using <code>dust_color_transition</code>, while the following commands colour the magenta, gold, and lime beams.loop #14 Detects whenever any ricocheting beam slices within 2.6 blocks of the central amethyst core and bursts firework sparks around the crystal.


Recorded on our own test server: 58 frames at about 9.6 fps. Our image check saw: A dark prismarine arena bordered by sea lanterns and cyan glass contains a central spinning glowing amethyst prism while cyan, magenta, gold, and lime energy bolts ricochet off the walls leaving particle trails.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To turn the chamber into a laser-dodge minigame for players, add one extra repeating command block running /execute at @e[tag=c9_beam] run damage @a[distance=..1.1] 4 minecraft:magic so stepping into any ricocheting beam deals magic damage, or place extra stained-glass pillars inside the arena to create new bounce obstacles during play.
/kill @e[tag=c9_sim]/fill ~-10 ~ ~-10 ~10 ~3 ~10 air/fill ~-10 ~-1 ~-10 ~10 ~-1 ~10 grass_blockYes. Because the beams check whether the block ahead is air, any solid or stained-glass pillar placed at floor level inside the chamber will deflect the beams and trigger spark bursts.
No. All four beams and the central core are summoned once during setup for a fixed total of five display entities, and no extra entities are ever summoned while the loop runs.
▶Dual Wormhole RelayTrails & PathsMedium19 cmds
▶Homing Laser ObeliskTrails & PathsHard24 cmds
▶Symphonic Laser CannonTrails & PathsMedium20 cmds
▶Swirling Murmuration of Starling ParticlesTrails & PathsExpert23 cmds
▶Rolling Japanese Karakuri Tea AutomatonTrails & PathsExpert24 cmds
▶Aerodynamic Wind TunnelTrails & PathsMedium22 cmds