Miniature Procedural Terrain Generator

A glowing obsidian pedestal and floating laser scanner 3D-print a miniature Minecraft chunk complete with hills, rivers, ores, and tiny trees.

Java EditionComplex Contraptions & CinematicsHard25 commandsTested on a real 26.2 & 26.3 server
A floating beacon 3D-prints a miniature Minecraft terrain chunk on a crying obsidian pedestal. Download the GIF Video & GIF © www.9minecraft.net

Factories & MachinesTechnologyNatureCyanGreenPurpleDecorationLearningServer LobbyBlock displaysRiding & passengersSummoned mobsBlock building (fill/setblock/clone)21+ commands

Watch a floating beacon laser head sweep across a glowing crying obsidian pedestal, 3D-printing a detailed miniature Minecraft chunk right before your eyes. Each pass of the cyan laser beam constructs a full vertical column of scaled-down terrain—from bedrock and diamond-rich deepslate at the bottom, up to lush grass hills, a flowing water river, and tiny oak trees on top.

By stacking multiple block_display entities as passengers in a single summon command and stepping across a custom scoreboard coordinate grid, the machine prints a complete 5x5 miniature landscape every few seconds before vaporizing it into portal particles and printing a fresh cycle.

1. Setup - type these once 9 commands

  1. /scoreboard objectives add c9_val dummy
  2. /fill ~-2 ~ ~-2 ~2 ~ ~2 minecraft:polished_blackstone_slab[type=bottom]
  3. /fill ~-1 ~ ~-1 ~1 ~ ~1 minecraft:crying_obsidian
  4. /setblock ~ ~ ~ minecraft:sea_lantern
  5. /summon minecraft:marker ~-1.0 ~1.1 ~-1.0 {Tags:["c9_cursor","c9_ent"]}
  6. /summon minecraft:block_display ~-0.88 ~3.0 ~-0.88 {Tags:["c9_head","c9_ent"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:beacon"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f],translation:[-0.25f,0f,-0.25f]}}
  7. /scoreboard players set #x c9_val 0
  8. /scoreboard players set #z c9_val 0
  9. /scoreboard players set #wait c9_val 0

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

  1. /execute if score #z c9_val matches 5.. run scoreboard players add #wait c9_val 1
  2. /execute if score #wait c9_val matches 85 at @e[tag=c9_block] run particle minecraft:reverse_portal ~0.2 ~0.5 ~0.2 0.2 0.3 0.2 0.1 4
  3. /execute if score #wait c9_val matches 85 run kill @e[tag=c9_block]
  4. /execute if score #wait c9_val matches 85 run tp @e[tag=c9_cursor] ~-1.0 ~1.1 ~-1.0
  5. /execute if score #wait c9_val matches 85 run scoreboard players reset * c9_val
  6. /execute unless score #z c9_val matches 5.. at @e[tag=c9_cursor] run tp @e[tag=c9_head] ~0.22 ~1.9 ~0.22
  7. /execute unless score #z c9_val matches 5.. at @e[tag=c9_cursor] run particle minecraft:dust{color:[0.0,1.0,1.0],scale:1.4} ~0.22 ~1.1 ~0.22 0.03 0.5 0.03 0 8
  8. /execute unless score #z c9_val matches 5.. at @e[tag=c9_cursor] run particle minecraft:end_rod ~0.22 ~0.9 ~0.22 0.08 0.2 0.08 0.02 2
  9. /execute unless score #z c9_val matches 5.. unless score #x c9_val matches 3..4 at @e[tag=c9_cursor] run summon minecraft:block_display ~ ~ ~ {Tags:["c9_block","c9_ent"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:bedrock"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,0.45f,0.45f],translation:[0f,0f,0f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_block","c9_ent"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:deepslate_diamond_ore"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,0.45f,0.45f],translation:[0f,0.45f,0f]}},{id:"minecraft:block_display",Tags:["c9_block","c9_ent"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:grass_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,0.45f,0.45f],translation:[0f,0.9f,0f]}}]}
  10. /execute unless score #z c9_val matches 5.. if score #x c9_val matches 3..4 at @e[tag=c9_cursor] run summon minecraft:block_display ~ ~ ~ {Tags:["c9_block","c9_ent"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:bedrock"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,0.45f,0.45f],translation:[0f,0f,0f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_block","c9_ent"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:sand"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,0.45f,0.45f],translation:[0f,0.45f,0f]}},{id:"minecraft:block_display",Tags:["c9_block","c9_ent"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:light_blue_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,0.38f,0.45f],translation:[0f,0.9f,0f]}}]}
  11. /execute unless score #z c9_val matches 5.. if score #x c9_val matches ..1 if score #z c9_val matches ..2 at @e[tag=c9_cursor] run summon minecraft:block_display ~ ~1.35 ~ {Tags:["c9_block","c9_ent"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:grass_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.45f,0.45f,0.45f],translation:[0f,0f,0f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_block","c9_ent"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:oak_log"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.18f,0.5f,0.18f],translation:[0.135f,0.45f,0.135f]}},{id:"minecraft:block_display",Tags:["c9_block","c9_ent"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:oak_leaves"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.4f,0.5f],translation:[-0.025f,0.85f,-0.025f]}}]}
  12. /execute unless score #z c9_val matches 5.. run scoreboard players add #x c9_val 1
  13. /execute unless score #z c9_val matches 5.. as @e[tag=c9_cursor] at @s run tp @s ~0.45 ~ ~
  14. /execute if score #x c9_val matches 5.. as @e[tag=c9_cursor] at @s run tp @s ~-2.25 ~ ~0.45
  15. /execute if score #x c9_val matches 5.. run scoreboard players add #z c9_val 1
  16. /execute if score #x c9_val matches 5.. run scoreboard players set #x c9_val 0

How it works

Frames from the test run

Miniature Procedural Terrain Generator - frame 1Miniature Procedural Terrain Generator - frame 2Miniature Procedural Terrain Generator - frame 3

Recorded on our own test server: 47 frames at about 9.4 fps. Our image check saw: A floating beacon hovers over a crying obsidian pedestal, generating a miniature Minecraft chunk complete with bedrock, diamond ore, grass, water, and tiny trees.

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 at the center of a flat open area where you want the 3D terrain printer pedestal built.
  2. Run each command from the Setup list once in chat to create the scoreboard, pedestal blocks, cursor marker, and floating beacon laser head.
  3. Place a row or chain of 16 Command Blocks set to Repeat (or 1 Repeat followed by 15 Chain blocks, all Always Active).
  4. Paste the Loop commands in order from index 0 to 15 into the command blocks.
  5. Watch the laser sweep across the 5x5 grid to 3D-print the miniature chunk, pause for viewing, and reset automatically.

Use it with real players

To let players trigger a print cycle on demand instead of looping automatically, remove the first five reset loop commands and trigger them with an impulse button connected to /kill @e[tag=c9_block], /tp @e[tag=c9_cursor] ~-1.0 ~1.1 ~-1.0, and /scoreboard players reset * c9_val.

Remove it again 3 commands

  1. /kill @e[tag=c9_ent]
  2. /scoreboard objectives remove c9_val
  3. /fill ~-2 ~ ~-2 ~2 ~ ~2 minecraft:air

FAQ

Why does the generator print a full column at once instead of one block per tick?

Printing an entire vertical column of 3 to 6 miniature blocks per tick using Passenger stacks allows the 5x5 chunk to finish in just 25 ticks (1.25 seconds), making the sweeping laser effect fast and dramatic while keeping every block synced.

Can I change the blocks in the miniature chunk?

Yes! Edit the block_state Name fields inside loop commands 9, 10, and 11 to swap grass, sand, or diamond ore for Nether, End, or snow biome blocks.

Commands used

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

Similar creations

Join 9Minecraft News & Guides