Crystal Prism Beam Redirection Puzzle

Build a working laser and prism puzzle in vanilla Minecraft using glowing block displays, smooth crystal rotations, and colored dust beams.

Java EditionMini-games & UtilitiesHard24 commandsTested on a real 26.2 & 26.3 server
Colored particle beams refract between glowing amethyst crystals to activate a central beacon on a dark prismarine floor. Download the GIF Video & GIF © www.9minecraft.net

Doors & ElevatorsMysticTechnologyRedYellowCyanAdventure MapMini-gameMap MakingBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)SoundsGlowing outlines21+ commands

The Crystal Prism Beam Redirection Puzzle turns an ordinary temple floor into an active light puzzle using only vanilla command blocks. An emitter tower shoots a ruby particle beam across a dark prismarine arena toward two floating amethyst monoliths. As the crystals smoothly rotate into alignment, the light refracts into golden and cyan beams that strike a central beacon core and shatter a sealed vault door.

Everything runs through four glowing block_display entities and a single scoreboard clock, keeping entity counts fixed and server performance smooth.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 dark_prismarine
  3. /fill ~-5 ~ ~-9 ~5 ~5 ~-6 polished_blackstone_bricks
  4. /fill ~-2 ~ ~-8 ~2 ~3 ~-6 air
  5. /setblock ~ ~ ~-7 chest[facing=south]{Items:[{Slot:13b,id:"minecraft:nether_star",count:1}]}
  6. /fill ~-1 ~ ~-6 ~1 ~2 ~-6 crying_obsidian
  7. /summon block_display ~-6 ~1.5 ~6 {Tags:["c9_ent","c9_emit"],Glowing:1b,glow_color_override:16724787,block_state:{Name:"minecraft:sea_lantern"},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]}}
  8. /summon block_display ~6 ~1.5 ~6 {Tags:["c9_ent","c9_p1"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:amethyst_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.5f,-1.1f,-0.5f],scale:[1.0f,2.2f,1.0f]}}
  9. /summon block_display ~6 ~1.5 ~-3 {Tags:["c9_ent","c9_p2"],Glowing:1b,glow_color_override:5636095,block_state:{Name:"minecraft:amethyst_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.5f,-1.1f,-0.5f],scale:[1.0f,2.2f,1.0f]}}
  10. /summon block_display ~ ~1.5 ~-3 {Tags:["c9_ent","c9_core"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:beacon"},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]}}

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

  1. /scoreboard players add #t c9_timer 1
  2. /execute if score #t c9_timer matches 160.. run scoreboard players set #t c9_timer 1
  3. /execute if score #t c9_timer matches 1 run fill ~-1 ~ ~-6 ~1 ~2 ~-6 crying_obsidian
  4. /particle dust{color:[1.0,0.15,0.3],scale:2.0} ~ ~1.5 ~6 3.0 0.03 0.03 0 35 force
  5. /execute if score #t c9_timer matches 1..29 run particle dust{color:[1.0,0.6,0.1],scale:2.0} ~6 ~1.5 ~8 0.03 0.03 1.0 0 15 force
  6. /execute if score #t c9_timer matches 25 as @e[tag=c9_p1] run data merge entity @s {start_interpolation:0,interpolation_duration:10,transformation:{left_rotation:[0f,0.3826834f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f],translation:[0f,-1.1f,-0.707f],scale:[1.0f,2.2f,1.0f]}}
  7. /execute if score #t c9_timer matches 30.. run particle dust{color:[1.0,0.75,0.1],scale:2.0} ~6 ~1.5 ~1.5 0.03 0.03 2.25 0 30 force
  8. /execute if score #t c9_timer matches 30..59 run particle dust{color:[0.2,1.0,0.4],scale:2.0} ~8 ~1.5 ~-3 1.0 0.03 0.03 0 15 force
  9. /execute if score #t c9_timer matches 55 as @e[tag=c9_p2] run data merge entity @s {start_interpolation:0,interpolation_duration:10,transformation:{left_rotation:[0f,0.3826834f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f],translation:[0f,-1.1f,-0.707f],scale:[1.0f,2.2f,1.0f]}}
  10. /execute if score #t c9_timer matches 60.. run particle dust{color:[0.1,0.9,1.0],scale:2.0} ~3 ~1.5 ~-3 1.5 0.03 0.03 0 25 force
  11. /execute if score #t c9_timer matches 60..95 at @e[tag=c9_core] run particle enchant ~ ~0.6 ~ 0.8 0.8 0.8 0.5 20 force
  12. /execute if score #t c9_timer matches 95 run fill ~-1 ~ ~-6 ~1 ~2 ~-6 air destroy
  13. /execute if score #t c9_timer matches 95 at @e[tag=c9_core] run playsound block.beacon.activate master @a ~ ~ ~ 2 1.2
  14. /execute if score #t c9_timer matches 95..155 run particle end_rod ~ ~1.5 ~-7 0.8 0.8 0.5 0.03 6 force

How it works

Frames from the test run

Crystal Prism Beam Redirection Puzzle - frame 1Crystal Prism Beam Redirection Puzzle - frame 2Crystal Prism Beam Redirection Puzzle - frame 3

Recorded on our own test server: 66 frames at about 9.4 fps. Our image check saw: A red particle beam shoots across a dark prismarine platform, refracting off two glowing rotated amethyst blocks into yellow and cyan beams that hit a beacon and open a blackstone doorway.

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. Stand at the center of an open flat area where you want the puzzle arena to appear.
  2. Run each of the 10 setup commands in chat or in impulse command blocks powered once to build the prismarine floor, the blackstone vault, and the 4 glowing display crystals.
  3. Place 14 repeating command blocks (or 1 repeating followed by 13 chain command blocks) set to Always Active beneath the center of the stage.
  4. Paste the 14 loop commands in order into those blocks.
  5. Watch the laser beams fire, the amethyst prisms rotate into alignment, and the vault door shatter to reveal the reward chest.

Use it with real players

To let players solve the puzzle manually instead of using the automatic timer, summon an interaction entity at each prism (~6 ~1 ~6 and ~6 ~1 ~-3) and increment a prism state score whenever a player right-clicks it, triggering the 45-degree data merge rotation and enabling the next particle beam only when the score matches the aligned angle.

Remove it again 5 commands

  1. /kill @e[tag=c9_ent]
  2. /kill @e[type=item,distance=..15]
  3. /fill ~-9 ~ ~-9 ~9 ~6 ~9 air
  4. /fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 grass_block
  5. /scoreboard objectives remove c9_timer

FAQ

Why do the laser beams render as instant lines without summoning moving entities?

The /particle command uses axial spread values (dx, dy, dz) such as 3.0 0.03 0.03 with 35 particles per tick, creating a solid beam along one axis with zero entity overhead.

Why does translation change when the prism rotates 45 degrees?

Block displays pivot around their bottom-North-West corner (0,0,0). Shifting the translation to [0f, -1.1f, -0.707f] keeps the 1.0-wide crystal centered on its pedestal when rotated 45 degrees.

Commands used

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

Similar creations

Join 9Minecraft News & Guides