Build a glowing laser emitter that fires high-energy particle beams across three crystal block display mirrors before striking a floating target core.
Machines & MechanismsTechnologyMysticRedPurpleCyanAdventure MapDecorationLearningBlock displaysBlock building (fill/setblock/clone)Rotation math21+ commands
This command creation sets up an automated optical arena where a continuous high-energy particle beam fires from a glowing emitter. Instead of traveling in a single line, each laser pulse ricochets across three angled amethyst crystal mirrors positioned around the platform before striking a floating energy core in the center.
Each mirror is built from scaled glowing block displays that burst with electric sparks whenever a laser packet reflects off its surface. When the redirected beam finally reaches the central core, it triggers a bright soul fire explosion.
/scoreboard objectives add c9_timer dummy/fill ~-8 ~ ~-8 ~8 ~4 ~8 air/setblock ~-6 ~ ~-6 lodestone/setblock ~-6 ~1 ~-6 sea_lantern/setblock ~-6 ~ ~6 chiseled_polished_blackstone/setblock ~6 ~ ~6 chiseled_polished_blackstone/setblock ~6 ~ ~-6 chiseled_polished_blackstone/setblock ~ ~ ~ respawn_anchor[charges=4]/summon block_display ~-6 ~1.5 ~6 {Tags:["c9_obj","c9_mirror","c9_m1"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:amethyst_block"},transformation:{translation:[-0.6f,-0.8f,-0.6f],scale:[1.2f,1.8f,1.2f],left_rotation:[0.0f,0.382f,0.0f,0.923f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/summon block_display ~6 ~1.5 ~6 {Tags:["c9_obj","c9_mirror","c9_m2"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:amethyst_block"},transformation:{translation:[-0.6f,-0.8f,-0.6f],scale:[1.2f,1.8f,1.2f],left_rotation:[0.0f,-0.382f,0.0f,0.923f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute unless entity @e[tag=c9_m3] run summon block_display ~6 ~1.5 ~-6 {Tags:["c9_obj","c9_mirror","c9_m3"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:amethyst_block"},transformation:{translation:[-0.6f,-0.8f,-0.6f],scale:[1.2f,1.8f,1.2f],left_rotation:[0.0f,0.195f,0.0f,0.980f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute unless entity @e[tag=c9_core] run summon block_display ~ ~1.8 ~ {Tags:["c9_obj","c9_core"],Glowing:1b,glow_color_override:16711935,block_state:{Name:"minecraft:beacon"},transformation:{translation:[-0.5f,-0.5f,-0.5f],scale:[1.0f,1.0f,1.0f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/scoreboard players add #tick c9_timer 1/execute if score #tick c9_timer matches 2.. run scoreboard players set #tick c9_timer 0/execute if score #tick c9_timer matches 0 run summon area_effect_cloud ~-6 ~1.5 ~-6 {Tags:["c9_obj","c9_laser","c9_s0"],Duration:90,Radius:0f,Rotation:[0f,0f]}/execute as @e[tag=c9_laser] at @s run tp @s ^ ^ ^0.75/execute as @e[tag=c9_laser] at @s run particle dust{color:[1.0,0.05,0.2],scale:2.2} ~ ~ ~ 0.08 0.08 0.08 0 6 force/execute as @e[tag=c9_laser] at @s run particle end_rod ~ ~ ~ 0.04 0.04 0.04 0.01 2 force/execute positioned ~-6 ~1.5 ~6 as @e[tag=c9_laser,tag=c9_s0,distance=..1.1] run tp @s ~-6 ~1.5 ~6 -90 0/execute positioned ~-6 ~1.5 ~6 as @e[tag=c9_laser,tag=c9_s0,distance=..1.1] run tag @s add c9_s1/execute positioned ~6 ~1.5 ~6 as @e[tag=c9_laser,tag=c9_s1,distance=..1.1] run tp @s ~6 ~1.5 ~6 180 0/execute positioned ~6 ~1.5 ~-6 as @e[tag=c9_laser,tag=c9_s1,distance=..1.1] run tp @s ~6 ~1.5 ~-6 45 0/execute at @e[tag=c9_mirror] if entity @e[tag=c9_laser,distance=..1.2] run particle electric_spark ~ ~ ~ 0.4 0.5 0.4 0.3 18 force/execute positioned ~ ~1.5 ~ as @e[tag=c9_laser,distance=..1.4] run particle soul_fire_flame ~ ~0.3 ~ 0.4 0.4 0.4 0.15 15 forcesetup #9 Summons the first crystal mirror using a glowing amethyst <code>block_display</code> scaled up and rotated 45 degrees on the Y-axis so it visually faces both the emitter and the next mirror.loop #5 Spawns a short-lived <code>area_effect_cloud</code> every 2 ticks at the emitter with tag <code>c9_s0</code> and a rotation of 0 degrees (facing South toward the first mirror).loop #6 Moves every active laser packet forward by 0.75 blocks per tick along its local facing direction using caret notation <code>^ ^ ^0.75</code>.loop #9 Checks around the first mirror at <code>~-6 ~1.5 ~6</code> relative to the stage center and snaps incoming laser packets onto the mirror while rotating their yaw to -90 degrees (East).loop #12 Redirects the beam at the third mirror to a 45-degree yaw angle so it travels diagonally toward the floating target core at the exact center of the arena.


Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A red particle laser beam shoots from a sea lantern emitter toward the first of three glowing, angled amethyst mirrors surrounding a central core.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let players aim and fire the laser manually instead of using the fixed emitter, replace the automated spawning command in loop index 4 with an execute command triggered when a player holds a specific item: /execute as @a[nbt={SelectedItem:{id:"minecraft:amethyst_shard"}}] at @s anchored eyes run summon area_effect_cloud ^ ^ ^1 {Tags:["c9_obj","c9_laser","c9_s0"],Duration:90,Radius:0f} and copy the player's rotation to the laser entity using /execute as @e[tag=c9_laser,tag=!c9_aimed] at @s rotated as @p run tp @s ~ ~ ~ ~ ~.
/kill @e[tag=c9_obj]/scoreboard objectives remove c9_timer/fill ~-8 ~ ~-8 ~8 ~4 ~8 airThe reflection checks use relative coordinates (~-6 ~1.5 ~6) measured from the stage center. Make sure your command blocks execute positioned at the center respawn anchor block.
Yes. In the seventh loop command, change the RGB values inside dust{color:[1.0,0.05,0.2],scale:2.2} to any values between 0.0 and 1.0, such as [0.1,0.8,1.0] for a cyan laser.
▶Automated 3D Block PrinterMachines & MechanismsHard24 cmds
▶Automated Geometric Circle BuilderMachines & MechanismsMedium20 cmds
▶Automatic Block Circle GeneratorMachines & MechanismsEasy24 cmds
▶Crystalline Capsule Prize MachineMachines & MechanismsMedium24 cmds
▶Steampunk Astrolabe GyroscopeMachines & MechanismsMedium24 cmds
▶Steampunk Printing Press Newspaper RollMachines & MechanismsHard24 cmds