Build an automated sci-fi mining rig that fires a color-shifting laser beam to melt through solid ore platforms while venting superheated cooldown steam.
Machines & MechanismsTechnologyIndustrialPinkCyanGoldDecorationBuilding ToolCinematicBlock displaysBlock building (fill/setblock/clone)Rotation math21+ commands
The Spectrum Core Excavator is an automated heavy-mining display built with block display entities and timed particle stages. Hanging from a dark prismarine and copper frame, a rotating diamond energy core charges up and fires a multi-colored laser beam straight down into an ore bay.
As the beam shifts from cyan to magenta and gold, it carves away layers of raw ore, magma, and stone one level at a time. Once the pit reaches the bottom, the core powers down, vents dense clouds of white cooldown steam from the upper pipes, and resets the ore bay for the next cycle.
/scoreboard objectives add c9_t dummy/fill ~-4 ~ ~-4 ~4 ~ ~4 polished_deepslate/fill ~-3 ~ ~-3 ~3 ~3 ~3 stone/fill ~-2 ~1 ~-2 ~2 ~3 ~2 magma_block/fill ~-1 ~2 ~-1 ~1 ~3 ~1 raw_gold_block/fill ~-4 ~1 ~-4 ~4 ~10 ~4 copper_grate hollow/fill ~-3 ~1 ~-4 ~3 ~8 ~4 air/fill ~-4 ~1 ~-3 ~4 ~8 ~3 air/fill ~-2 ~9 ~-2 ~2 ~11 ~2 dark_prismarine/summon block_display ~ ~8.2 ~ {Tags:["c9_all","c9_core"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:diamond_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.2f,1.2f,1.2f],translation:[-0.6f,-0.6f,-0.6f]}}/scoreboard players add #tick c9_t 1/execute if score #tick c9_t matches 140.. run scoreboard players set #tick c9_t 0/execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~12 ~/execute if score #tick c9_t matches 1 run summon block_display ~ ~1 ~ {Tags:["c9_all","c9_beam"],Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,7.2f,0.45f],translation:[-0.225f,0f,-0.225f]}}/execute if score #tick c9_t matches 1..30 run particle dust_color_transition{from_color:[0.0,1.0,1.0],to_color:[0.2,0.5,1.0],scale:2.0} ~ ~4.5 ~ 0.35 2.5 0.35 0 25 force/execute if score #tick c9_t matches 31..60 run particle dust_color_transition{from_color:[1.0,0.0,1.0],to_color:[1.0,0.4,0.0],scale:2.2} ~ ~4.5 ~ 0.4 2.5 0.4 0 30 force/execute if score #tick c9_t matches 61..95 run particle dust_color_transition{from_color:[1.0,0.9,0.1],to_color:[1.0,0.1,0.0],scale:2.5} ~ ~4.5 ~ 0.45 2.5 0.45 0 35 force/execute if score #tick c9_t matches 1..95 run particle lava ~ ~2.5 ~ 0.8 0.5 0.8 0 6 force/execute if score #tick c9_t matches 30 run fill ~-1 ~3 ~-1 ~1 ~3 ~1 air destroy/execute if score #tick c9_t matches 55 run fill ~-2 ~2 ~-2 ~2 ~2 ~2 air destroy/execute if score #tick c9_t matches 80 run fill ~-2 ~1 ~-2 ~2 ~1 ~2 lava/execute if score #tick c9_t matches 96 run kill @e[tag=c9_beam]/execute if score #tick c9_t matches 96..130 run particle campfire_cosy_smoke ~ ~9.5 ~ 1.8 0.4 1.8 0.04 12 force/execute if score #tick c9_t matches 135 run fill ~-2 ~1 ~-2 ~2 ~3 ~2 raw_gold_blocksetup #10 Summons the central diamond block display entity with full brightness and a cyan glowing outline, centered on its axis using a negative translation equal to half its scale.loop #4 At the start of each 140-tick cycle, summons a tall stretched sea lantern display entity that acts as the physical core of the energy beam.loop #5 Commands 5, 6, and 7 emit color-transition dust particles along the beam shaft, shifting the spectrum from cyan to magenta to bright gold as the laser heats up.loop #9 Breaks the top layer of the ore platform with block-break particles and sound effects at tick 30, followed by deeper layers at ticks 55 and 80.loop #13 After the beam shuts off at tick 96, vents thick campfire smoke particles from the upper prismarine housing to simulate cooldown steam before the ore bay refills.


Recorded on our own test server: 69 frames at about 9.8 fps. Our image check saw: A copper grate and dark prismarine frame holds a glowing rotating diamond core that fires a magenta laser beam downward, excavating layers of raw gold blocks and lava with colorful particles.
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 trigger the excavator manually instead of looping forever, remove the second loop command that resets #tick and only advance the score while a player holds a calibrated remote item such as /execute if entity @a[distance=..15,nbt={SelectedItem:{id:"minecraft:amethyst_shard"}}] run scoreboard players add #tick c9_t 1.
/kill @e[tag=c9_all]/scoreboard objectives remove c9_t/fill ~-4 ~ ~-4 ~4 ~11 ~4 airThe stretched sea lantern block display gives the laser a solid glowing core that is visible from any angle, while the color-transition dust particles wrap around it to create the shifting spectrum effect.
In a long-running survival world, you can add a command at tick 96 to clear dropped items inside the pit with /kill @e[type=item,distance=..6] so mined blocks do not pile up.
▶Steampunk Astrolabe GyroscopeMachines & MechanismsMedium24 cmds
▶Steampunk Printing Press Newspaper RollMachines & MechanismsHard24 cmds
▶Holographic Magnetic Tokamak Fusion ConfinementMachines & MechanismsExpert26 cmds
▶Kinematic Radial Aircraft Engine IgnitionMachines & MechanismsExpert24 cmds
▶Kinematic V8 Engine Piston CutawayMachines & MechanismsExpert24 cmds
▶Kinetic Moiré Pattern Interference SculptureMachines & MechanismsMedium23 cmds