Build an automated 3D terrain printer in vanilla Minecraft that sweeps across a glass grid to generate hills, lakes, and peaks using only commands.
Self-building StructuresTechnologyIndustrialNatureCyanGreenWhiteBuilding ToolLearningMap MakingItem displaysSummoned mobsBlock building (fill/setblock/clone)21+ commands
The Procedural Terrain Printer turns a flat frame into a living 3D landscape generator. Overhead gantry rails carry six glowing laser heads across a 31x31 grid, dropping pillars of stone and terrain while cyan laser sparks and smoke rise from the build zone.
Using pure scoreboard math, each print head calculates a rolling wave pattern as it moves, painting deep water pools, sandy shores, grassy hills, and snowy mountain peaks right before your eyes.
/scoreboard objectives add c9_t dummy/scoreboard players set #c31 c9_t 31/scoreboard players set #c7 c9_t 7/scoreboard players set #c3 c9_t 3/fill ~-16 ~ ~-16 ~16 ~ ~16 minecraft:polished_deepslate/fill ~-15 ~ ~-15 ~15 ~ ~15 minecraft:cyan_stained_glass/fill ~-16 ~11 ~-16 ~16 ~11 ~16 minecraft:iron_bars outline/summon minecraft:item_display ~-15 ~10 ~-15 {Tags:["c9_all","c9_p"],Glowing:1b,glow_color_override:65535,item:{id:"minecraft:beacon"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.7f,1.4f,0.7f]}}/summon minecraft:item_display ~-9 ~10 ~-9 {Tags:["c9_all","c9_p"],Glowing:1b,glow_color_override:65535,item:{id:"minecraft:beacon"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.7f,1.4f,0.7f]}}/summon minecraft:item_display ~-3 ~10 ~-3 {Tags:["c9_all","c9_p"],Glowing:1b,glow_color_override:65535,item:{id:"minecraft:beacon"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.7f,1.4f,0.7f]}}/scoreboard players add #tick c9_t 1/execute if score #tick c9_t matches 1..4 positioned ~3 ~10 ~-12 run summon minecraft:item_display ~ ~ ~ {Tags:["c9_all","c9_p"],Glowing:1b,glow_color_override:65535,item:{id:"minecraft:beacon"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.7f,1.4f,0.7f]}}/execute as @e[tag=c9_p] at @s run tp @s ~1 ~ ~/execute as @e[tag=c9_p] at @s if block ~ ~-10 ~ minecraft:polished_deepslate run tp @s ~-31 ~ ~1/execute as @e[tag=c9_p] at @s if block ~ ~-10 ~ minecraft:polished_deepslate run tp @s ~ ~ ~-31/execute as @e[tag=c9_p] at @s run fill ~ ~-9 ~ ~ ~-1 ~ minecraft:air/execute as @e[tag=c9_p] at @s store result score @s c9_t run data get entity @s Pos[0] 1/execute as @e[tag=c9_p] at @s store result score #z c9_t run data get entity @s Pos[2] 1/execute as @e[tag=c9_p] run scoreboard players operation @s c9_t *= #z c9_t/execute as @e[tag=c9_p] run scoreboard players operation @s c9_t %= #c7 c9_t/execute as @e[tag=c9_p] if score @s c9_t matches ..-1 run scoreboard players operation @s c9_t += #c7 c9_t/execute as @e[tag=c9_p,scores={c9_t=0..1}] at @s run fill ~ ~-9 ~ ~ ~-8 ~ minecraft:light_blue_stained_glass/execute as @e[tag=c9_p,scores={c9_t=2..4}] at @s run fill ~ ~-9 ~ ~ ~-6 ~ minecraft:moss_block/execute as @e[tag=c9_p,scores={c9_t=5..6}] at @s run fill ~ ~-9 ~ ~ ~-4 ~ minecraft:snow_blocksetup #8 Summons glowing beacon item displays near the top of the frame to act as the moving 3D printer laser heads.loop #4 Detects when a print head reaches the outer polished deepslate border and wraps it back 31 blocks to the start of the next row.loop #7 Reads the print head's X and Z coordinates into scoreboard values and multiplies them modulo 7 to calculate a deterministic terrain height.loop #12 Extrudes columns of glass water, moss hills, or snow peaks below each print head depending on the calculated terrain height.


Recorded on our own test server: 58 frames at about 9.6 fps. Our image check saw: A large grid of iron bars sits over a terrain build zone, with glowing cyan-outlined blocks moving across the top.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To manually steer a print head yourself, tag yourself with /tag @s add c9_p and remove the first five movement commands from the loop so the terrain generates wherever you fly inside the frame.
/kill @e[tag=c9_all]/fill ~-16 ~ ~-16 ~16 ~12 ~16 minecraft:air/scoreboard objectives remove c9_tYes. Adjust the deepslate border coordinates in the setup fill commands and change the wrap distance (-31) in loop commands 4 and 5 to match your new inner width.
Edit the last three loop commands and replace light_blue_stained_glass, moss_block, and snow_block with any blocks you want for low, medium, and high elevations.
▶Mechanical Spider Silk Web SpinnerSelf-building StructuresHard24 cmds
▶Automated Terrain & Mountain SculptorSelf-building StructuresExpert24 cmds
▶Instant Metropolis GeneratorSelf-building StructuresHard24 cmds
▶Instant Procedural MetropolisSelf-building StructuresExpert26 cmds
▶Procedural Infinite Corridor GeneratorSelf-building StructuresHard24 cmds
▶Procedural Landscape BuilderSelf-building StructuresExpert24 cmds