Build an automated terrain generator using vanilla commands that scans a flat plot with glowing laser drones and builds layered hills in real time.
Self-building StructuresTechnologyNatureGreenWhiteCyanBuilding ToolMap MakingLearningBlock displaysArmor standsSummoned mobsBlock building (fill/setblock/clone)Rotation math21+ commands
The Procedural Terrain Assembler turns a flat square of barren coarse dirt into a rich, multi-layered landscape right before your eyes. At the center of the site, a glowing Terraform Core rotates inside an energy ring while three autonomous laser drones sweep across the ground, scanning and stacking blocks from bedrock to snowy peaks.
Each pass of a laser drone raises the terrain by one geological layer, transitioning smoothly through cobblestone, stone, dirt, grass, moss, and snow. Bright cyan laser beams and ominous energy particles highlight every construction strike as hills and valleys organically emerge from the ground.
/scoreboard objectives add c9_t dummy/scoreboard players set #tick c9_t 0/fill ~-11 ~-1 ~-11 ~11 ~-1 ~11 minecraft:coarse_dirt/fill ~-12 ~-1 ~-12 ~12 ~-1 ~12 minecraft:deepslate_bricks replace minecraft:grass_block/summon minecraft:block_display ~ ~11 ~ {Tags:["c9_sim","c9_core"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:beacon"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.8f,1.8f,1.8f],translation:[-0.9f,-0.9f,-0.9f]}}/summon minecraft:block_display ~ ~11 ~ {Tags:["c9_sim","c9_ring"],Glowing:1b,glow_color_override:16755200,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:[3.2f,0.3f,3.2f],translation:[-1.6f,-0.15f,-1.6f]}}/summon minecraft:armor_stand ~-4 ~ ~-4 {Tags:["c9_sim","c9_builder","c9_b1"],Invisible:1b,NoGravity:1b,Marker:1b}/summon minecraft:armor_stand ~4 ~ ~-3 {Tags:["c9_sim","c9_builder","c9_b2"],Invisible:1b,NoGravity:1b,Marker:1b}/summon minecraft:armor_stand ~ ~ ~5 {Tags:["c9_sim","c9_builder","c9_b3"],Invisible:1b,NoGravity:1b,Marker:1b}/execute as @e[tag=c9_builder] at @s run summon minecraft:block_display ~ ~ ~ {Tags:["c9_sim","c9_beam"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,10.0f,0.45f],translation:[-0.225f,0f,-0.225f]}}/scoreboard players add #tick c9_t 1/execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~8 ~/execute as @e[tag=c9_ring] at @s run tp @s ~ ~ ~ ~-12 ~/particle minecraft:end_rod ~ ~11 ~ 1.4 0.3 1.4 0.03 3 force/spreadplayers ~ ~ 2 9 false @e[tag=c9_builder]/execute as @e[tag=c9_builder] at @s if block ~ ~-1 ~ minecraft:moss_block run fill ~-1 ~ ~-1 ~1 ~ ~1 minecraft:snow_block replace minecraft:air/execute as @e[tag=c9_builder] at @s if block ~ ~-1 ~ minecraft:grass_block run fill ~-1 ~ ~-1 ~1 ~ ~1 minecraft:moss_block replace minecraft:air/execute as @e[tag=c9_builder] at @s if block ~ ~-1 ~ minecraft:dirt run fill ~-1 ~ ~-1 ~1 ~ ~1 minecraft:grass_block replace minecraft:air/execute as @e[tag=c9_builder] at @s if block ~ ~-1 ~ minecraft:stone run fill ~-1 ~ ~-1 ~1 ~ ~1 minecraft:dirt replace minecraft:air/execute as @e[tag=c9_builder] at @s if block ~ ~-1 ~ minecraft:cobblestone run fill ~-1 ~ ~-1 ~1 ~ ~1 minecraft:stone replace minecraft:air/execute as @e[tag=c9_builder] at @s if block ~ ~-1 ~ minecraft:coarse_dirt run fill ~-1 ~ ~-1 ~1 ~ ~1 minecraft:cobblestone replace minecraft:air/execute as @e[tag=c9_builder] at @s run tp @e[tag=c9_beam,limit=1,sort=nearest] ~ ~ ~/execute at @e[tag=c9_builder] run particle minecraft:dust{color:[0.1,0.95,1.0],scale:1.8} ~ ~0.5 ~ 0.6 0.4 0.6 0 10 force/execute at @e[tag=c9_builder] run particle minecraft:trial_spawner_detection_ominous ~ ~ ~ 0.5 1.5 0.5 0.02 4 forcesetup #4 Frames the 23x23 coarse dirt build zone with a clean border of <code>deepslate_bricks</code> so the terrain assembly stays visually contained.setup #5 Summons the floating Terraform Core using a scaled <code>block_display</code> showing a glowing cyan beacon centered 11 blocks above the stage.setup #10 Creates three tall vertical laser beams out of stretched <code>cyan_stained_glass</code> display entities that lock onto each builder drone.loop #5 Uses <code>/spreadplayers</code> every tick to randomly distribute the three builder drones across the 19x19 interior zone, automatically snapping them to the current top surface block.loop #6 Commands 5 through 10 check the block directly beneath each drone in reverse height order (from moss down to coarse dirt) and place the next geological layer in a 3x3 patch without overwriting existing terrain.loop #12 Teleports the nearest cyan laser beam display entity to each builder drone so the vertical lasers visibly jump across the terrain as hills grow.


Recorded on our own test server: 54 frames at about 9.0 fps. Our image check saw: A floating beacon device hovers above a square plot of coarse dirt while layers of stone, dirt, grass, and snow blocks appear beneath it.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let a player manually sculpt terrain with a Terraform Designator instead of automatic random scanning, remove loop command 5 (/spreadplayers) and replace it with /execute as @p at @s anchored eyes run tp @e[tag=c9_builder,limit=1] ^ ^ ^8 so the builder laser follows wherever you look.
/kill @e[tag=c9_sim]/scoreboard objectives remove c9_t/fill ~-12 ~ ~-12 ~12 ~12 ~12 minecraft:air/fill ~-12 ~-1 ~-12 ~12 ~-1 ~12 minecraft:grass_blockBecause all loop commands run in the same tick from top to bottom. Checking the highest layer first prevents a single drone from stacking every layer from cobblestone all the way to snow in a single tick.
Yes! Increase the coordinates in setup commands 3 and 4 for a larger foundation, and raise the maximum range value (currently 9) in the /spreadplayers loop command to match your new radius.
▶Mechanical Spider Silk Web SpinnerSelf-building StructuresHard24 cmds
▶Automated Terrain & Mountain SculptorSelf-building StructuresExpert24 cmds
▶Procedural Landscape BuilderSelf-building StructuresExpert24 cmds
▶Procedural Terrain PrinterSelf-building StructuresExpert24 cmds
▶Pocket Terrarium GeneratorSelf-building StructuresHard24 cmds
▶Real-Time Biome PrinterSelf-building StructuresExpert23 cmds