Watch a jagged, snow-capped mountain range sculpt itself layer-by-layer from flat grass using autonomous carving markers and geological strata.
Self-building StructuresNatureIceWhiteBlackBlueBuilding ToolMap MakingLearningBlock building (fill/setblock/clone)Rotation math21+ commands
Generating natural-looking terrain usually requires external tools or world generators, but this command creation builds a custom mountain range right before your eyes in real time. Using a set of autonomous tectonic markers that climb and wander inward as they rise, the system layers deep slate, stone, andesite, and snow into a rugged multi-peak mountain.
As the geological layers stack upward, glowing dust particles and smoke trace the active elevation plane, making it look like a 3D printer for Minecraft landscapes. Even the surrounding base automatically blends into gravel, coarse dirt, and moss so the mountain sits naturally on the stage.
/scoreboard objectives add c9_tick dummy/scoreboard objectives add c9_h dummy/scoreboard players set #tick c9_tick 0/scoreboard players set #h c9_h 0/fill ~-16 ~-1 ~-16 ~16 ~-1 ~16 stone replace grass_block/spreadplayers ~ ~ 3 13 under 80 false @e[tag=c9_m]/summon marker ~ ~ ~ {Tags:["c9_m","c9_main"]}/summon marker ~4 ~ ~-3 {Tags:["c9_m","c9_sub"]}/summon marker ~-5 ~ ~2 {Tags:["c9_m","c9_sub"]}/summon marker ~2 ~ ~5 {Tags:["c9_m","c9_ridge"]}/execute if score #h c9_h matches ..21 run scoreboard players add #tick c9_tick 1/execute if score #tick c9_tick matches 5.. run scoreboard players add #h c9_h 1/execute if score #tick c9_tick matches 5.. run execute as @e[tag=c9_m] at @s run tp @s ~ ~1 ~/execute if score #tick c9_tick matches 5.. run execute as @e[tag=c9_sub] at @s facing ~ ~ ~ run tp @s ^ ^ ^0.35/execute if score #tick c9_tick matches 5.. run execute as @e[tag=c9_ridge] at @s facing ~ ~ ~ run tp @s ^0.2 ^ ^0.4/execute if score #tick c9_tick matches 5.. if score #h c9_h matches 1..5 as @e[tag=c9_m] at @s run fill ~-5 ~-1 ~-5 ~5 ~-1 ~5 deepslate replace air/execute if score #tick c9_tick matches 5.. if score #h c9_h matches 1..8 as @e[tag=c9_main] at @s run fill ~-7 ~-1 ~-3 ~7 ~-1 ~3 tuff replace air/execute if score #tick c9_tick matches 5.. if score #h c9_h matches 4..11 as @e[tag=c9_m] at @s run fill ~-4 ~-1 ~-4 ~4 ~-1 ~4 stone replace air/execute if score #tick c9_tick matches 5.. if score #h c9_h matches 9..15 as @e[tag=c9_m] at @s run fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 andesite replace air/execute if score #tick c9_tick matches 5.. if score #h c9_h matches 14..18 as @e[tag=c9_m] at @s run fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 calcite replace air/execute if score #tick c9_tick matches 5.. if score #h c9_h matches 17..20 as @e[tag=c9_m] at @s run fill ~-1 ~-1 ~-1 ~1 ~ ~1 snow_block replace air/execute if score #tick c9_tick matches 5.. if score #h c9_h matches 21 as @e[tag=c9_main] at @s run setblock ~ ~ ~ powder_snow/execute if score #h c9_h matches 1..20 as @e[tag=c9_m] at @s run particle dust{color:[0.3,0.85,1.0],scale:1.8} ~ ~0.5 ~ 3.5 0.2 3.5 0 12 force/execute if score #tick c9_tick matches 5.. run scoreboard players set #tick c9_tick 0setup #7 Summons the central peak marker along with three offset sub-peak and ridge markers in the following commands. Their starting positions determine the footprint of the mountain range.loop #4 Every 5 ticks (4 layers per second), each secondary peak marker steps 1 block up and moves 0.35 blocks horizontally toward the stage centre using local coordinates (<code>^ ^ ^0.35</code>), tapering the mountain naturally as it grows.loop #6 During the lowest elevation levels (1 to 5), a wide 11x11 slab of deepslate is placed around every marker to form a broad, solid bedrock base.loop #9 As the height score increases through the middle layers, the fill radius shrinks from 9x9 stone down to 7x7 andesite and 5x5 calcite, creating steep rocky cliffs and geological banding.loop #11 At the highest elevations (layers 17 to 20), tight 3x3 caps of snow blocks and a final tip of powder snow crown the peaks.loop #13 Emits a glowing cyan laser-scan dust plane at the active construction height while the mountain is still building.


Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A multi-peaked blocky mountain layered with deepslate at the bottom, stone and andesite in the middle, and white calcite/snow at the top is being generated with blue 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 mountains wherever they throw a snowball or place a beacon, summon the four c9_m markers relative to the snowball or player position instead of the fixed stage centre, and replace facing ~ ~ ~ in loop commands 4 and 5 with facing entity @e[tag=c9_main,limit=1] eyes so the sub-peaks always taper toward the main peak wherever it was spawned.
/kill @e[tag=c9_m]/scoreboard objectives remove c9_tick/scoreboard objectives remove c9_h/fill ~-16 ~ ~-16 ~16 ~24 ~16 air/fill ~-16 ~-1 ~-16 ~16 ~-1 ~16 grass_blockYes. Increase the maximum height check in the first loop command (currently <code>..21</code>) and adjust the <code>#h</code> score ranges on the <code>/fill</code> commands to stretch each rock layer across more blocks.
A single marker only builds a symmetrical pyramid. Using four offset markers that drift inward at different angles creates realistic ridges, valleys, and multiple peaks as their square layers overlap.
/execute/fill/particle/scoreboard/setblock/spreadplayers/summon/tp
▶Automated Terrain & Mountain SculptorSelf-building StructuresExpert24 cmds
▶Procedural Mountain SculptorSelf-building StructuresHard23 cmds
▶Autonomous Procedural Peak SculptorSelf-building StructuresHard24 cmds
▶Real-Time Peak TerraformerSelf-building StructuresHard23 cmds
▶Self-Sculpting Miniature LandscapeSelf-building StructuresHard24 cmds
▶Mechanical Spider Silk Web SpinnerSelf-building StructuresHard24 cmds