Build a futuristic 3D printer enclosure in Minecraft with a hovering beacon laser head that materializes a glowing crystal pyramid block by block.
Machines & MechanismsTechnologyMysticCyanOrangePurpleDecorationBuilding ToolServer LobbyBlock displaysSmooth animation (interpolation)Summoned mobsBlock building (fill/setblock/clone)21+ commands
This command creation builds a sci-fi 3D printer enclosure right at the center of your world. A glowing beacon print head glides back and forth across a dark build plate, firing bright cyan and orange laser particle beams downward to materialize a multi-layered crystal pyramid block by block.
Because it uses smooth display entity interpolation and scoreboard coordinate tracking, you can watch each layer of amethyst, diamond, and sea lantern form in real time before resetting for the next print cycle.
/scoreboard objectives add c9_t dummy/scoreboard players set #x c9_t -2/scoreboard players set #y c9_t 1/scoreboard players set #z c9_t -2/fill ~-4 ~ ~-4 ~4 ~ ~4 minecraft:polished_deepslate/fill ~-3 ~ ~-3 ~3 ~ ~3 minecraft:iron_block/fill ~-2 ~ ~-2 ~2 ~ ~2 minecraft:obsidian/fill ~-4 ~1 ~-4 ~4 ~7 ~4 minecraft:iron_bars outline/fill ~-3 ~1 ~-3 ~3 ~6 ~3 minecraft:air/summon minecraft:block_display ~-2 ~1 ~-2 {Tags:["c9_ent","c9_head"],Glowing:1b,glow_color_override:65535,teleport_duration:1,block_state:{Name:"minecraft:beacon"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.2f,1.2f,1.2f],translation:[-0.6f,4.5f,-0.6f]}}/scoreboard players add #tick c9_t 1/execute if score #tick c9_t matches 1..85 as @e[tag=c9_head] at @s run particle minecraft:dust{color:[0.0,1.0,1.0],scale:1.6} ~ ~2.5 ~ 0.05 1.4 0.05 0 15 force/execute if score #tick c9_t matches 1..85 as @e[tag=c9_head] at @s run particle minecraft:dust{color:[1.0,0.5,0.0],scale:1.8} ~ ~0.5 ~ 0.25 0.2 0.25 0 12 force/execute if score #tick c9_t matches 1..85 as @e[tag=c9_head] at @s if score #y c9_t matches 1 run setblock ~ ~ ~ minecraft:amethyst_block/execute if score #tick c9_t matches 1..85 as @e[tag=c9_head] at @s if score #y c9_t matches 2 if score #x c9_t matches -1..1 if score #z c9_t matches -1..1 run setblock ~ ~ ~ minecraft:diamond_block/execute if score #tick c9_t matches 1..85 as @e[tag=c9_head] at @s if score #y c9_t matches 3 if score #x c9_t matches 0 if score #z c9_t matches 0 run setblock ~ ~ ~ minecraft:sea_lantern/execute if score #tick c9_t matches 1..85 if score #y c9_t matches 1..3 as @e[tag=c9_head] at @s run tp @s ~1 ~ ~/execute if score #tick c9_t matches 1..85 if score #y c9_t matches 1..3 run scoreboard players add #x c9_t 1/execute if score #tick c9_t matches 1..85 if score #x c9_t matches 3.. as @e[tag=c9_head] at @s run tp @s ~-5 ~ ~1/execute if score #tick c9_t matches 1..85 if score #x c9_t matches 3.. run scoreboard players add #z c9_t 1/execute if score #tick c9_t matches 1..85 if score #x c9_t matches 3.. run scoreboard players set #x c9_t -2/execute if score #tick c9_t matches 1..85 if score #z c9_t matches 3.. as @e[tag=c9_head] at @s run tp @s ~ ~1 ~-5/execute if score #tick c9_t matches 1..85 if score #z c9_t matches 3.. run scoreboard players add #y c9_t 1/execute if score #tick c9_t matches 1..85 if score #z c9_t matches 3.. run scoreboard players set #z c9_t -2setup #10 Summons a glowing beacon <code>block_display</code> entity offset upward by 4.5 blocks so its base position sits right on the print layer while the visual nozzle hovers near the top of the cage.loop #2 Fires a vertical cyan dust laser beam connecting the hovering beacon nozzle to the exact block currently being printed below it.loop #5 Checks the tracked <code>#x</code>, <code>#y</code>, and <code>#z</code> scoreboard coordinates to print the middle 3x3 diamond layer of the pyramid only when the nozzle passes over the inner grid.loop #9 When the nozzle reaches the right edge of the 5x5 build plate (<code>#x matches 3..</code>), it shifts back 5 blocks on the X axis and steps forward 1 block on the Z axis for the next row.


Recorded on our own test server: 49 frames at about 9.7 fps. Our image check saw: An iron-bar enclosure with a glowing cyan-outlined beacon on top shooting cyan and orange particles downward onto a layered pyramid of amethyst, diamond, and sea lantern blocks.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To start a fresh print cycle manually in survival or creative mode without re-running the entire setup, wire a button to an Impulse command block that runs /fill ~-2 ~1 ~-2 ~2 ~3 ~2 minecraft:air along with resetting #x to -2, #z to -2, #y to 1, #tick to 0, and teleporting @e[tag=c9_head] back to the starting corner of the obsidian plate.
/kill @e[tag=c9_ent]/scoreboard objectives remove c9_t/fill ~-4 ~ ~-4 ~4 ~7 ~4 minecraft:airIn Minecraft commands, @s[x=~3,dx=5] checks a volume starting 3 blocks positive of the entity's current position, which is always true and made the print head fly away. Tracking X, Y, and Z on a scoreboard keeps the grid exact.
Yes! Edit loop commands 4, 5, and 6 to swap amethyst_block, diamond_block, and sea_lantern for any block IDs you want to print.
▶Automated Geometric Circle BuilderMachines & MechanismsMedium20 cmds
▶Automatic Block Circle GeneratorMachines & MechanismsEasy24 cmds
▶Bouncing Laser MirrorsMachines & MechanismsHard24 cmds
▶Crystalline Capsule Prize MachineMachines & MechanismsMedium24 cmds
▶Steampunk Astrolabe GyroscopeMachines & MechanismsMedium24 cmds
▶Steampunk Printing Press Newspaper RollMachines & MechanismsHard24 cmds