Procedural Cyberpunk City Builder

Watch glowing cyan superposition nodes collapse across a dark slate grid into a cyberpunk city of neon roads, skybridges, and towering spires.

Java EditionComplex Contraptions & CinematicsExpert24 commandsTested on a real 26.2 & 26.3 server
Glowing miniature skyscrapers and copper structures form a cyberpunk skyline on a lit grid in Minecraft. Download the GIF Video & GIF © www.9minecraft.net

Self-building StructuresTechnologyIndustrialCyanOrangePurpleBuilding ToolMap MakingCinematicBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)21+ commands

This command creation turns a 19x19 polished_deepslate grid with a glowing sea_lantern border into a self-assembling cyberpunk skyline. Sixteen glowing cyan superposition nodes hover above the slate, emitting cyan dust particles until an adjacency wave collapses them one by one.

Each collapsed node lays down glowing road arteries and checks its neighbors using scoreboard rules: isolated nodes rise smoothly via block_display interpolation into 9-block skyscrapers crowned with cyan spires, while nodes next to a skyscraper form glowing aqua tech hubs linked by magenta skybridges.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-10 ~-1 ~-10 ~10 ~-1 ~10 sea_lantern
  3. /fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 polished_deepslate
  4. /summon marker ~ ~ ~ {Tags:["c9_gen","c9_core"]}
  5. /execute positioned ~-6 ~ ~-6 run summon block_display ~ ~ ~ {Tags:["c9_gen","c9_node"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[0.15f,0.6f,0.15f],scale:[0.7f,0.7f,0.7f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  6. /execute at @e[tag=c9_node] run summon block_display ~4 ~ ~ {Tags:["c9_gen","c9_node"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[0.15f,0.6f,0.15f],scale:[0.7f,0.7f,0.7f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  7. /execute at @e[tag=c9_node] run summon block_display ~8 ~ ~ {Tags:["c9_gen","c9_node"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[0.15f,0.6f,0.15f],scale:[0.7f,0.7f,0.7f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  8. /execute at @e[tag=c9_node] run summon block_display ~ ~ ~4 {Tags:["c9_gen","c9_node"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[0.15f,0.6f,0.15f],scale:[0.7f,0.7f,0.7f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  9. /execute at @e[tag=c9_node] run summon block_display ~ ~ ~8 {Tags:["c9_gen","c9_node"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[0.15f,0.6f,0.15f],scale:[0.7f,0.7f,0.7f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  10. /scoreboard players set @e[tag=c9_node] c9_t 0

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

  1. /scoreboard players add @e[tag=c9_core] c9_t 1
  2. /execute if score @e[tag=c9_core,limit=1] c9_t matches 7.. run scoreboard players set @e[tag=c9_core] c9_t 1
  3. /execute at @e[tag=c9_node,tag=!c9_done] run particle dust{color:[0.0,1.0,1.0],scale:1.2} ~0.5 ~0.9 ~0.5 0.35 0.35 0.35 0 2 force
  4. /execute if score @e[tag=c9_core,limit=1] c9_t matches 1 unless entity @e[tag=c9_done] run tag @e[tag=c9_node,sort=nearest,limit=1] add c9_active
  5. /execute if score @e[tag=c9_core,limit=1] c9_t matches 1 at @e[tag=c9_node,tag=c9_done] unless entity @e[tag=c9_active] run tag @e[tag=c9_node,tag=!c9_done,distance=..4.5,sort=random,limit=1] add c9_active
  6. /execute at @e[tag=c9_active] run fill ~-2 ~-1 ~ ~2 ~-1 ~ sea_lantern
  7. /execute at @e[tag=c9_active] run fill ~ ~-1 ~-2 ~ ~-1 ~2 sea_lantern
  8. /execute as @e[tag=c9_active] at @s unless entity @e[tag=c9_node,scores={c9_t=1},distance=..4.5] run scoreboard players set @s c9_t 1
  9. /execute as @e[tag=c9_active,scores={c9_t=1}] run data merge entity @s {glow_color_override:16755200,block_state:{Name:"minecraft:chiseled_tuff_bricks"},interpolation_duration:14,start_interpolation:0,transformation:{translation:[-0.5f,0f,-0.5f],scale:[2f,9f,2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  10. /execute at @e[tag=c9_active,scores={c9_t=1}] run summon block_display ~ ~ ~ {Tags:["c9_gen","c9_spire"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[0.1f,0f,0.1f],scale:[0.8f,11.5f,0.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  11. /execute as @e[tag=c9_active,scores={c9_t=0}] run data merge entity @s {glow_color_override:5636095,block_state:{Name:"minecraft:oxidized_cut_copper"},interpolation_duration:10,start_interpolation:0,transformation:{translation:[-0.75f,0f,-0.75f],scale:[2.5f,3.5f,2.5f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  12. /execute at @e[tag=c9_active,scores={c9_t=0}] run summon block_display ~0.5 ~2.8 ~0.5 {Tags:["c9_gen","c9_bridge_init"],Glowing:1b,glow_color_override:16711935,brightness:{sky:15,block:15},block_state:{Name:"minecraft:magenta_stained_glass"},transformation:{translation:[-0.25f,0f,0f],scale:[0.5f,0.4f,4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  13. /execute as @e[tag=c9_bridge_init] at @s positioned ~-0.5 ~-2.8 ~-0.5 facing entity @e[tag=c9_node,scores={c9_t=1},distance=..4.5,sort=nearest,limit=1] feet run tp @s ~0.5 ~2.8 ~0.5 ~ 0
  14. /execute as @e[tag=c9_active] run data merge entity @s {Tags:["c9_gen","c9_node","c9_done"]}

How it works

Frames from the test run

Procedural Cyberpunk City Builder - frame 1Procedural Cyberpunk City Builder - frame 2Procedural Cyberpunk City Builder - frame 3

Recorded on our own test server: 60 frames at about 9.8 fps. Our image check saw: Three identical overhead frames show a completed miniature skyline of eight orange-outlined towers and eight cyan-outlined copper structures connected by purple bridges on a deepslate and sea lantern grid.

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 at least 25x25 blocks wide and stand at the exact center one block above the ground.
  2. Run all 10 setup commands once in order from chat or impulse command blocks to create the dark slate grid, glowing border, and 16 cyan nodes.
  3. Place 14 repeating, always-active, unconditional command blocks nearby and paste each loop command into them in exact order from 1 to 14.
  4. Set the time to night with /time set midnight so the glowing outlines, neon roads, and skybridges stand out clearly.
  5. Watch the city assemble automatically from the center outward over roughly five seconds.
  6. To rebuild with a new random layout, run the 3 remove commands and then run the setup commands again.

Use it with real players

To trigger collapses yourself instead of running on an automatic timer, remove loop commands 1, 2, 4, and 5 and replace them with /execute at @a unless entity @e[tag=c9_active] run tag @e[tag=c9_node,tag=!c9_done,distance=..2.5,limit=1] add c9_active. Walking near any hovering cyan node will collapse it into a district on demand.

Remove it again 3 commands

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

FAQ

Why did the previous setup fail with sea_lantern replace0?

The third setup command had a typo (<code>replace0</code> with no target block) and was missing proper layering. Separating the outer <code>sea_lantern</code> border and inner <code>polished_deepslate</code> fill fixes the syntax and frames the grid cleanly.

Why do the buildings appear as smooth solid towers without placing real blocks?

Each tower, spire, and skybridge uses <code>block_display</code> entities with <code>interpolation_duration</code> and <code>brightness</code> overrides, allowing smooth rising animations and custom glowing outlines without altering block light or hitboxes above ground.

Commands used

/data/execute/fill/particle/scoreboard/summon/tag/tp

Similar creations

Join 9Minecraft News & Guides