Watch a flat grass plot transform into a glowing night city as an asphalt road grid lays down and builder drones extrude four tall glass skyscrapers.
Self-building StructuresTechnologyIndustrialBlackWhiteYellowBuilding ToolMap MakingCinematicBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)21+ commands
Building a modern city block usually takes hours of placing concrete and glass by hand. This command creation turns a single flat plot into an automated construction show: black asphalt roads with yellow lane stripes roll out across the ground while four glowing builder drones rise into the sky, extruding multi-story skyscrapers layer by layer.
Each tower is built from white concrete corner pillars, two-tone cyan and light blue stained glass walls, and a bright sea lantern core that shines through the windows at night. Because every drone picks a random target height between 16 and 24 blocks, no two city skylines look quite the same.
/scoreboard objectives add c9_t dummy/scoreboard objectives add c9_h dummy/scoreboard objectives add c9_max dummy/summon marker ~ ~ ~ {Tags:["c9_gen","c9_root"]}/summon block_display ~-8 ~ ~-8 {block_state:{Name:"minecraft:sea_lantern"},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:[-0.75f,0f,-0.75f],scale:[1.5f,0.8f,1.5f]},interpolation_duration:4,teleport_duration:4,Tags:["c9_gen","c9_b"]}/summon block_display ~8 ~ ~-8 {block_state:{Name:"minecraft:shroomlight"},Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.75f,0f,-0.75f],scale:[1.5f,0.8f,1.5f]},interpolation_duration:4,teleport_duration:4,Tags:["c9_gen","c9_b"]}/summon block_display ~-8 ~ ~8 {block_state:{Name:"minecraft:ochre_froglight"},Glowing:1b,glow_color_override:16776960,brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.75f,0f,-0.75f],scale:[1.5f,0.8f,1.5f]},interpolation_duration:4,teleport_duration:4,Tags:["c9_gen","c9_b"]}/summon block_display ~8 ~ ~8 {block_state:{Name:"minecraft:sea_lantern"},Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.75f,0f,-0.75f],scale:[1.5f,0.8f,1.5f]},interpolation_duration:4,teleport_duration:4,Tags:["c9_gen","c9_b"]}/execute as @e[tag=c9_b] store result score @s c9_max run random value 16..24/scoreboard players set @e[tag=c9_b] c9_h 0/scoreboard players add @e[tag=c9_root] c9_t 1/scoreboard players add @e[tag=c9_root] c9_h 1/execute as @e[tag=c9_root,scores={c9_h=4..}] run scoreboard players set @s c9_h 0/execute as @e[tag=c9_root,scores={c9_t=3}] at @s run fill ~-2 ~-1 ~-17 ~2 ~-1 ~17 black_concrete/execute as @e[tag=c9_root,scores={c9_t=6}] at @s run fill ~-17 ~-1 ~-2 ~17 ~-1 ~2 black_concrete/execute as @e[tag=c9_root,scores={c9_t=9}] at @s run fill ~-17 ~-1 ~ ~17 ~-1 ~ yellow_concrete replace black_concrete/execute as @e[tag=c9_root,scores={c9_t=9}] at @s run fill ~ ~-1 ~-17 ~ ~-1 ~17 yellow_concrete replace black_concrete/execute if entity @e[tag=c9_root,scores={c9_t=12..,c9_h=0}] as @e[tag=c9_b] at @s if score @s c9_h < @s c9_max run fill ~-4 ~ ~-4 ~4 ~ ~4 white_concrete/execute if entity @e[tag=c9_root,scores={c9_t=12..,c9_h=0}] as @e[tag=c9_b] at @s if score @s c9_h < @s c9_max run fill ~-4 ~ ~-3 ~4 ~ ~3 cyan_stained_glass replace white_concrete/execute if entity @e[tag=c9_root,scores={c9_t=12..,c9_h=0}] as @e[tag=c9_b] at @s if score @s c9_h < @s c9_max run fill ~-3 ~ ~-4 ~3 ~ ~4 light_blue_stained_glass replace white_concrete/execute if entity @e[tag=c9_root,scores={c9_t=12..,c9_h=0}] as @e[tag=c9_b] at @s if score @s c9_h < @s c9_max run fill ~-2 ~ ~-2 ~2 ~ ~2 sea_lantern/execute if entity @e[tag=c9_root,scores={c9_t=12..,c9_h=0}] as @e[tag=c9_b] at @s if score @s c9_h < @s c9_max run tp @s ~ ~1 ~/execute if entity @e[tag=c9_root,scores={c9_t=12..,c9_h=0}] as @e[tag=c9_b] at @s if score @s c9_h < @s c9_max run scoreboard players add @s c9_h 1/execute as @e[tag=c9_b] at @s if score @s c9_h < @s c9_max run particle dust{color:[0.1,0.95,1.0],scale:1.8} ~ ~0.4 ~ 2.5 0.3 2.5 0 10 forcesetup #5 Summons the first glowing <code>block_display</code> drone with <code>teleport_duration:4</code> so its upward steps interpolate into a smooth glide.setup #9 Assigns each drone a random maximum height between 16 and 24 using <code>random value</code>, then initializes its current height score <code>c9_h</code> to zero.loop #4 Lays down the north-south and east-west <code>black_concrete</code> roads and <code>yellow_concrete</code> center stripes at ticks 3, 6, and 9.loop #8 Every 4 ticks after tick 12, each active drone fills a 9x9 concrete footprint, carves out two-tone cyan and light blue glass walls while leaving concrete corner pillars, and inserts a glowing <code>sea_lantern</code> core.loop #12 Moves each active drone up by 1 block, increments its <code>c9_h</code> counter, and emits cyan <code>dust</code> particles around the construction layer.


Recorded on our own test server: 50 frames at about 9.8 fps. Our image check saw: A night-time view down an intersecting black road with yellow lane stripes flanked by four tall glass skyscrapers with white concrete corner pillars and small glowing drone outlines.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To generate a city block wherever you are standing, replace ~ ~ ~ in the setup commands with your own position by running them directly in chat, or bind them to an item trigger using execute at @p around a player tagged c9_builder.
/kill @e[tag=c9_gen]/scoreboard objectives remove c9_t/scoreboard objectives remove c9_h/scoreboard objectives remove c9_max/fill ~-17 ~ ~-17 ~17 ~25 ~17 air/fill ~-17 ~-1 ~-17 ~17 ~-1 ~17 grass_blockYes. Change 16..24 in the ninth setup command to a higher range such as 25..40 before running setup, as long as there is open sky above the plot.
Using block_display entities lets us enable Glowing:1b with custom outline colors and smooth 4-tick teleport_duration interpolation so the drones glide upward cleanly.
▶Mechanical Spider Silk Web SpinnerSelf-building StructuresHard24 cmds
▶Instant Metropolis GeneratorSelf-building StructuresHard24 cmds
▶Instant Procedural MetropolisSelf-building StructuresExpert26 cmds
▶Procedural Infinite Corridor GeneratorSelf-building StructuresHard24 cmds
▶Procedural Terrain PrinterSelf-building StructuresExpert24 cmds
▶Procedural Cyberpunk City BuilderSelf-building StructuresExpert24 cmds