Procedural Landscape Builder

Build a self-generating terrain machine in vanilla Minecraft that sweeps across a water basin to create layered hills, stone cliffs, and trees.

Java EditionComplex Contraptions & CinematicsExpert24 commandsTested on a real 26.2 & 26.3 server
A glowing sea lantern core generates a grassy island with a tree inside a water basin. Download the GIF Video & GIF © www.9minecraft.net

Self-building StructuresNatureWaterTechnologyGreenCyanWhiteBuilding ToolMap MakingLearningBlock displaysArmor standsBlock building (fill/setblock/clone)Rotation math21+ commands

The Procedural Landscape Builder turns a flat water basin into a living terrain generator. A floating sea lantern core hovers above the stage while glowing terrain brushes sweep around the arena, stacking layered stone, dirt, and grass hills while planting trees and flowers.

Every layer rises with cyan and emerald particle beams connecting the floating core to the sculpting brushes below, creating a miniature world-building animation right in front of you.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-10 ~ ~-10 ~10 ~12 ~10 air
  3. /fill ~-9 ~ ~-9 ~9 ~ ~9 water
  4. /fill ~-10 ~ ~-10 ~10 ~1 ~-10 polished_deepslate
  5. /fill ~-10 ~ ~10 ~10 ~1 ~10 polished_deepslate
  6. /fill ~-10 ~ ~-9 ~-10 ~1 ~9 polished_deepslate
  7. /fill ~10 ~ ~-9 ~10 ~1 ~9 polished_deepslate
  8. /summon block_display ~ ~10 ~ {Tags:["c9_ent","c9_core"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},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]}}
  9. /summon armor_stand ~ ~1 ~ {Tags:["c9_ent","c9_hub"],Invisible:1b,NoGravity:1b,Marker:1b}
  10. /summon armor_stand ~ ~1 ~ {Tags:["c9_ent","c9_brush"],Invisible:1b,NoGravity:1b,Marker:1b}

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

  1. /execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~8 ~
  2. /execute at @e[tag=c9_core] run particle end_rod ~ ~ ~ 0.8 0.8 0.8 0.03 3 force
  3. /scoreboard players add @e[tag=c9_hub] c9_t 1
  4. /execute as @e[tag=c9_hub,scores={c9_t=1..130}] at @s run tp @s ~ ~ ~ ~19 ~
  5. /execute as @e[tag=c9_hub,scores={c9_t=1..45}] at @s run tp @e[tag=c9_brush,limit=1] ^ ^ ^5
  6. /execute as @e[tag=c9_hub,scores={c9_t=46..90}] at @s run tp @e[tag=c9_brush,limit=1] ^ ^1 ^3
  7. /execute as @e[tag=c9_hub,scores={c9_t=91..125}] at @s run tp @e[tag=c9_brush,limit=1] ^ ^2 ^1.5
  8. /execute as @e[tag=c9_brush] at @s if score @e[tag=c9_hub,limit=1] c9_t matches 1..125 run spreadplayers ~ ~ 0 2 false @s
  9. /execute as @e[tag=c9_brush] at @s if score @e[tag=c9_hub,limit=1] c9_t matches 1..125 run fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 grass_block replace air
  10. /execute as @e[tag=c9_brush] at @s if score @e[tag=c9_hub,limit=1] c9_t matches 1..125 run fill ~-1 ~-2 ~-1 ~1 ~-2 ~1 dirt replace grass_block
  11. /execute as @e[tag=c9_brush] at @s if score @e[tag=c9_hub,limit=1] c9_t matches 1..125 run fill ~-1 ~-3 ~-1 ~1 ~-3 ~1 stone replace dirt
  12. /execute as @e[tag=c9_brush] at @s if score @e[tag=c9_hub,limit=1] c9_t matches 1..125 run particle dust{color:[0.1,1.0,0.7],scale:2.0} ~ ~1.5 ~ 0.8 1.5 0.8 0 12 force
  13. /execute as @e[tag=c9_brush] at @s if score @e[tag=c9_hub,limit=1] c9_t matches 45 run place feature minecraft:oak ~ ~ ~
  14. /execute as @e[tag=c9_brush] at @s if score @e[tag=c9_hub,limit=1] c9_t matches 125 run place feature minecraft:oak_bees_005 ~ ~ ~

How it works

Frames from the test run

Procedural Landscape Builder - frame 1Procedural Landscape Builder - frame 2Procedural Landscape Builder - frame 3

Recorded on our own test server: 57 frames at about 9.5 fps. Our image check saw: A glowing, rotating sea lantern core hovers with cyan and white particles above a generated grass hill and tree inside a rectangular water basin.

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. Find a flat open area and stand where you want the centre of the 21x21 terrain basin to be.
  2. Run each command from the Setup list in chat to build the deepslate frame, fill the water pool, and summon the core and brush markers.
  3. Place 14 repeating command blocks in a row nearby and set every block to Always Active.
  4. Paste one Loop command into each repeating command block in order.
  5. Watch the brush sweep around the basin in rising tiers, layering grass, dirt, stone, and oak trees.
  6. To generate a brand new random landscape layout, run the Cleanup commands and repeat the Setup.

Use it with real players

To paint terrain manually with your cursor instead of automatic rings, replace the three c9_hub teleport commands with /execute as @p at @s anchored eyes run tp @e[tag=c9_brush,limit=1] ^ ^ ^8 so the brush follows wherever you look.

Remove it again 3 commands

  1. /kill @e[tag=c9_ent]
  2. /scoreboard objectives remove c9_t
  3. /fill ~-10 ~ ~-10 ~10 ~14 ~10 air

FAQ

Why does the brush use spreadplayers before placing blocks?

The spreadplayers command automatically teleports an entity to the highest solid block within a small radius, preventing the brush from building floating pillars in mid-air and adding organic variation to each hill.

Can I make the terrain generator build different biomes?

Yes! Replace grass_block, dirt, and stone in the fill commands with sand, sandstone, and terracotta, and swap minecraft:oak in the place feature commands with minecraft:desert_well or minecraft:acacia.

Commands used

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

Similar creations

Join 9Minecraft News & Guides