Time-Lapse Terrain Generator

Watch a glowing cyan laser sweep across a dark baseplate, building an organic landscape of sand, grass hills, stone peaks, snow, and custom trees in real time.

Java EditionComplex Contraptions & CinematicsHard24 commandsTested on a real 26.2 & 26.3 server
A glowing cyan laser scanner sweeps across a bedrock plot, procedurally generating sand, hills, and water. Download the GIF Video & GIF © www.9minecraft.net

Self-building StructuresNatureTechnologyCyanGreenYellowBuilding ToolLearningCinematicBlock displaysSummoned mobsBlock building (fill/setblock/clone)21+ commands

The Time-Lapse Terrain Generator turns a flat bedrock plot into a live procedural terrain animation. A glowing cyan laser plane and three randomized terrain probes sweep across the platform, raising organic columns of sand, grassy valleys, rocky cliffs, and snow-capped mountain peaks row by row right before your eyes.

Once the terrain wave finishes sculpting the hills, the scanner sweeps through the valley to sprout custom oak trees and flowers, holds the finished miniature biome on display, and then resets the cycle to generate a brand-new landscape.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 minecraft:bedrock
  3. /fill ~-10 ~-1 ~-10 ~10 ~ ~-10 minecraft:polished_deepslate
  4. /fill ~-10 ~-1 ~10 ~10 ~ ~10 minecraft:polished_deepslate
  5. /fill ~-10 ~-1 ~-9 ~-10 ~ ~9 minecraft:polished_deepslate
  6. /fill ~10 ~-1 ~-9 ~10 ~ ~9 minecraft:polished_deepslate
  7. /summon minecraft:marker ~-9 ~ ~ {Tags:["c9_gen","c9_scanner"]}
  8. /summon minecraft:marker ~-9 ~ ~-3 {Tags:["c9_gen","c9_probe","c9_p1"]}
  9. /summon minecraft:marker ~-9 ~ ~3 {Tags:["c9_gen","c9_probe","c9_p2"]}
  10. /summon minecraft:block_display ~-9.1 ~ ~-9 {Tags:["c9_gen","c9_beam"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.35f,10.0f,18.0f]},block_state:{Name:"minecraft:cyan_stained_glass"}}

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /scoreboard players add #time c9_timer 1
  2. /execute if score #time c9_timer matches 135.. run scoreboard players set #time c9_timer 1
  3. /execute if score #time c9_timer matches 1 run fill ~-9 ~ ~-9 ~9 ~12 ~9 minecraft:air
  4. /execute if score #time c9_timer matches 1 run tp @e[tag=c9_scanner] ~-9 ~ ~
  5. /execute if score #time c9_timer matches 2..74 as @e[tag=c9_scanner] at @s run tp @s ~0.25 ~ ~
  6. /execute as @e[tag=c9_beam] at @e[tag=c9_scanner,limit=1] run tp @s ~-0.15 ~ ~-9
  7. /execute if score #time c9_timer matches 2..74 at @e[tag=c9_scanner] run particle minecraft:dust{color:[0.0,1.0,1.0],scale:1.8} ~ ~4.5 ~ 0.1 4.0 8.5 0 40
  8. /execute if score #time c9_timer matches 2..74 at @e[tag=c9_scanner] run spreadplayers ~ ~ 2 4 false @e[tag=c9_probe]
  9. /execute if score #time c9_timer matches 2..74 at @e[tag=c9_scanner] run fill ~ ~ ~-9 ~ ~ ~9 minecraft:water replace minecraft:air
  10. /execute if score #time c9_timer matches 6..70 as @e[tag=c9_probe] at @s run fill ~-1 ~ ~-2 ~1 ~1 ~2 minecraft:sand
  11. /execute if score #time c9_timer matches 12..64 as @e[tag=c9_probe] at @s run fill ~-1 ~1 ~-2 ~1 ~3 ~2 minecraft:grass_block
  12. /execute if score #time c9_timer matches 22..56 at @e[tag=c9_p1] run fill ~-1 ~3 ~-2 ~1 ~6 ~2 minecraft:stone
  13. /execute if score #time c9_timer matches 28..50 at @e[tag=c9_p1] run fill ~-1 ~6 ~-1 ~1 ~8 ~1 minecraft:snow_block
  14. /execute if score #time c9_timer matches 20..58 at @e[tag=c9_p2] if block ~ ~3 ~ minecraft:grass_block run clone ~ ~1 ~ ~ ~3 ~ ~ ~4 ~

How it works

Frames from the test run

Time-Lapse Terrain Generator - frame 1Time-Lapse Terrain Generator - frame 2Time-Lapse Terrain Generator - frame 3

Recorded on our own test server: 64 frames at about 9.1 fps. Our image check saw: A translucent cyan scanner plane sweeps across a square bedrock plot, generating sand, dirt, and water behind it while large terrain blocks hover on the sides.

Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.

Build it in your world

  1. Stand in the center of a flat open area with at least 20 blocks of room in every direction.
  2. Run each of the 10 setup commands in chat to build the deepslate frame, bedrock baseplate, scanner markers, and glowing cyan laser beam.
  3. Place 14 repeating command blocks (or 1 repeating command block chained into 13 chain command blocks) set to Always Active beneath or beside the stage.
  4. Paste the 14 loop commands in order into the command blocks.
  5. Watch the cyan laser sweep across the basin, raising water, sand beaches, grassy hills, stone cliffs, and snowy peaks every few seconds.

Use it with real players

To let a player trigger a single terrain scan manually instead of looping automatically, remove loop command 2 (the reset at tick 135) and trigger /scoreboard players set #time c9_timer 1 from a button or carrot-on-a-stick click objective whenever you want to generate a fresh island.

Remove it again 4 commands

  1. /kill @e[tag=c9_gen]
  2. /scoreboard objectives remove c9_timer
  3. /fill ~-10 ~ ~-10 ~10 ~12 ~10 minecraft:air
  4. /fill ~-10 ~-1 ~-10 ~10 ~-1 ~10 minecraft:grass_block

FAQ

Is the terrain different every time the laser sweeps across?

Yes. Because the two terrain probes are scattered randomly around the scanner every tick using /spreadplayers, the coastlines, grassy hills, and mountain peaks take on a unique organic shape on every pass.

How do I freeze a terrain generation that I really like?

Break or power off the first repeating command block that adds 1 to #time on the c9_timer scoreboard, then run /kill @e[tag=c9_gen] to remove the cyan laser beam.

Commands used

/clone/execute/fill/particle/scoreboard/spreadplayers/summon/tp

Similar creations

Join 9Minecraft News & Guides