Instant Procedural Metropolis

Watch an empty plain transform into a glowing night-time metropolis as autonomous road pavers and laser cranes build streets and skyscrapers in seconds.

Java EditionComplex Contraptions & CinematicsExpert26 commandsTested on a real 26.2 & 26.3 server
Tall glowing skyscrapers surround a central deepslate road intersection at night in Minecraft. Download the GIF Video & GIF © www.9minecraft.net

Self-building StructuresTechnologyIndustrialBlackYellowCyanBuilding ToolMap MakingCinematicBlock displaysBlock building (fill/setblock/clone)Rotation math21+ commands

Building a full city by hand takes days, but this command creation turns an empty grass plain into a thriving night-time skyline in seconds. Starting from a glowing central roundabout, four autonomous road pavers streak outward to lay down dark deepslate asphalt, smooth stone sidewalks, and ochre froglight streetlamps.

As the roads expand, eight glowing construction platforms deploy into the city blocks and rise upward. Each crane extrudes a multi-story skyscraper made of cyan and blue stained glass around a bright sea lantern core, complete with rooftop beacons and particle sparks.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_city dummy
  2. /scoreboard objectives add c9_step dummy
  3. /scoreboard players set #tick c9_city 0
  4. /fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 smooth_stone
  5. /fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 deepslate_tiles
  6. /fill ~ ~ ~ ~ ~5 ~ polished_basalt
  7. /setblock ~ ~6 ~ sea_lantern
  8. /summon block_display ~2 ~ ~ {Tags:["c9_city","c9_road"],Rotation:[-90f,0f],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:ochre_froglight"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.2f,0.6f,2.4f],translation:[-0.6f,0f,-1.2f]}}
  9. /summon block_display ~-2 ~ ~ {Tags:["c9_city","c9_road"],Rotation:[90f,0f],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:ochre_froglight"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.2f,0.6f,2.4f],translation:[-0.6f,0f,-1.2f]}}
  10. /summon block_display ~ ~ ~2 {Tags:["c9_city","c9_road"],Rotation:[0f,0f],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:ochre_froglight"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2.4f,0.6f,1.2f],translation:[-1.2f,0f,-0.6f]}}

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

  1. /execute if score #tick c9_city matches 0 run summon block_display ~ ~ ~-2 {Tags:["c9_city","c9_road"],Rotation:[180f,0f],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:ochre_froglight"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[2.4f,0.6f,1.2f],translation:[-1.2f,0f,-0.6f]}}
  2. /scoreboard players add #tick c9_city 1
  3. /scoreboard players operation #mod c9_city = #tick c9_city
  4. /scoreboard players set #three c9_city 3
  5. /scoreboard players operation #mod c9_city %= #three c9_city
  6. /execute if score #tick c9_city matches 1..42 if score #mod c9_city matches 0 as @e[tag=c9_road] at @s run scoreboard players add @s c9_step 1
  7. /execute if score #tick c9_city matches 1..42 if score #mod c9_city matches 0 as @e[tag=c9_road] at @s run fill ^-2 ^-1 ^ ^2 ^-1 ^ smooth_stone
  8. /execute if score #tick c9_city matches 1..42 if score #mod c9_city matches 0 as @e[tag=c9_road] at @s run fill ^-1 ^-1 ^ ^1 ^-1 ^ deepslate_tiles
  9. /execute if score #tick c9_city matches 1..42 if score #mod c9_city matches 0 as @e[tag=c9_road,scores={c9_step=4}] at @s run summon block_display ^6 ^ ^ {Tags:["c9_city","c9_bld","c9_tall"],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:[5.2f,0.4f,5.2f],translation:[-2.6f,0f,-2.6f]}}
  10. /execute if score #tick c9_city matches 1..42 if score #mod c9_city matches 0 as @e[tag=c9_road,scores={c9_step=10}] at @s run summon block_display ^-6 ^ ^ {Tags:["c9_city","c9_bld","c9_mid"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:shroomlight"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[5.2f,0.4f,5.2f],translation:[-2.6f,0f,-2.6f]}}
  11. /execute if score #tick c9_city matches 1..42 if score #mod c9_city matches 0 as @e[tag=c9_road,scores={c9_step=7}] at @s run setblock ^2 ^ ^ ochre_froglight
  12. /execute if score #tick c9_city matches 1..42 if score #mod c9_city matches 0 as @e[tag=c9_road] at @s run tp @s ^ ^ ^1
  13. /execute if score #tick c9_city matches 12..66 if score #mod c9_city matches 0 as @e[tag=c9_bld] at @s run fill ~-2 ~ ~-2 ~2 ~ ~2 cyan_stained_glass
  14. /execute if score #tick c9_city matches 12..66 if score #mod c9_city matches 0 as @e[tag=c9_bld] at @s run fill ~-1 ~ ~-1 ~1 ~ ~1 sea_lantern
  15. /execute if score #tick c9_city matches 12..66 if score #mod c9_city matches 0 as @e[tag=c9_bld] at @s run tp @s ~ ~1 ~
  16. /execute if score #tick c9_city matches 1..70 as @e[tag=c9_city] at @s run particle end_rod ~ ~0.4 ~ 1.2 0.2 1.2 0.03 2

How it works

Frames from the test run

Instant Procedural Metropolis - frame 1Instant Procedural Metropolis - frame 2Instant Procedural Metropolis - frame 3

Recorded on our own test server: 48 frames at about 9.5 fps. Our image check saw: A high-angle view of a generated Minecraft city intersection with deepslate roads, smooth stone sidewalks, froglight lamps, and tall sea lantern towers with glowing construction markers.

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 of at least 41x41 blocks and stand at the exact center.
  2. Set the time to night with <code>/time set midnight</code> so the glowing cranes and sea lantern cores stand out.
  3. Run each of the 10 setup commands in chat to build the central roundabout monument and spawn the road pavers.
  4. Place a line of 14 repeating command blocks (or 1 repeating followed by 13 chain command blocks), all set to Always Active.
  5. Paste the loop commands in order into the command blocks and watch the roads and skyscrapers construct themselves.

Use it with real players

To let a player trigger the city generation by throwing a flare item, summon the four road pavers at @e[type=item,nbt={Item:{id:"minecraft:sea_lantern"}},OnGround:1b] instead of the fixed stage center, then kill the dropped item and reset #tick c9_city to 0.

Remove it again 5 commands

  1. /kill @e[tag=c9_city]
  2. /fill ~-18 ~ ~-18 ~18 ~24 ~18 air
  3. /fill ~-18 ~-1 ~-18 ~18 ~-1 ~18 grass_block
  4. /scoreboard objectives remove c9_city
  5. /scoreboard objectives remove c9_step

FAQ

Why did my pavers stand still in older versions?

Minecraft score matches do not support pipe-separated numbers like 4|8|12. This creation uses a scoreboard modulo operation (%= 3) to trigger steps reliably every 3 ticks.

Can I make the skyscrapers taller?

Yes! Increase the upper tick limit on the three building loop commands from 12..66 to 12..96 to add ten more floors to every tower.

Commands used

/execute/fill/particle/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides