Instant Pyramid Assembler

Watch a towering stack of glowing command blocks drop onto a golden pedestal and rapidly assemble a huge sandstone pyramid tier by tier with sparks.

Java EditionComplex Contraptions & CinematicsHard19 commandsTested on a real 26.2 & 26.3 server
A newly assembled sandstone pyramid topped with gold blocks emits glowing golden particles. Download the GIF Video & GIF © www.9minecraft.net

Self-building StructuresRoyalMysticYellowGoldOrangeBuilding ToolMap MakingCinematicBlock displaysBlock building (fill/setblock/clone)13-20 commands

Building a desert temple block by block takes ages, so why not let a cascading stack of glowing command blocks do the heavy lifting? This creation drops a towering pillar of block display entities from the sky onto a golden pedestal. Upon impact, the stack compresses into the earth while firing golden beams and assembling a complete 15x15 sandstone pyramid tier by tier right before your eyes.

Once the pyramid reaches its glowing beacon capstone, the whole structure holds for display before resetting in a flash of golden dust to play the assembly cycle all over again.

1. Setup - type these once 5 commands

  1. /scoreboard objectives add c9_t dummy
  2. /scoreboard players set #tick c9_t 0
  3. /fill ~-12 ~-1 ~-12 ~12 ~-1 ~12 cut_sandstone
  4. /fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 gold_block
  5. /summon marker ~ ~ ~ {Tags:["c9_m","c9_core"]}

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

  1. /scoreboard players add #tick c9_t 1
  2. /execute if score #tick c9_t matches 1 run fill ~-8 ~ ~-8 ~8 ~10 ~8 air
  3. /execute if score #tick c9_t matches 2..13 run summon block_display ~ ~14 ~ {Tags:["c9_m","c9_stack"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:chain_command_block",Properties:{facing:"down",conditional:"false"}},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.6f,1.0f,1.6f],translation:[-0.8f,0f,-0.8f]}}
  4. /execute if score #tick c9_t matches 2..15 as @e[tag=c9_stack] at @s if block ~ ~-1 ~ air run tp @s ~ ~-1 ~
  5. /execute if score #tick c9_t matches 15..85 as @e[tag=c9_stack] at @s run tp @s ~ ~-0.18 ~ ~12 ~
  6. /execute if score #tick c9_t matches 15..85 run particle flame ~ ~2 ~ 3.5 2.0 3.5 0.05 25 force
  7. /execute if score #tick c9_t matches 15..85 run particle dust{color:[1.0,0.8,0.1],scale:2.5} ~ ~4 ~ 4 3 4 0 35 force
  8. /execute if score #tick c9_t matches 20 run fill ~-7 ~ ~-7 ~7 ~ ~7 sandstone
  9. /execute if score #tick c9_t matches 32 run fill ~-6 ~1 ~-6 ~6 ~1 ~6 cut_sandstone
  10. /execute if score #tick c9_t matches 44 run fill ~-5 ~2 ~-5 ~5 ~2 ~5 sandstone
  11. /execute if score #tick c9_t matches 56 run fill ~-4 ~3 ~-4 ~4 ~3 ~4 chiseled_sandstone
  12. /execute if score #tick c9_t matches 68 run fill ~-3 ~4 ~-3 ~3 ~4 ~3 cut_sandstone
  13. /execute if score #tick c9_t matches 80 run fill ~-2 ~5 ~-2 ~2 ~5 ~2 gold_block
  14. /execute if score #tick c9_t matches 85..140 as @e[tag=c9_stack] run kill @s

How it works

Frames from the test run

Instant Pyramid Assembler - frame 1Instant Pyramid Assembler - frame 2Instant Pyramid Assembler - frame 3

Recorded on our own test server: 48 frames at about 9.5 fps. Our image check saw: A completed sandstone pyramid topped with gold blocks is shown with golden particles fading around it, after the assembly process has already finished.

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 in the center of a flat open area with at least 20 blocks of space in every direction.
  2. Run each of the 5 setup commands in your chat window to create the scoreboard timer, sandstone floor, golden pedestal, and center marker.
  3. Place a row of 14 repeating command blocks set to Always Active beneath or beside the stage.
  4. Paste the 14 loop commands into the repeating command blocks in order. If placing them away from the center, wrap their coordinates or run them via <code>/execute at @e[tag=c9_core] run ...</code>.
  5. Watch the command block stack drop from the sky and assemble the 6-tier sandstone and gold pyramid automatically.

Use it with real players

To let a player trigger the Instant Pyramid Assembler anywhere by throwing a special item, remove the automatic reset and summon the c9_core marker at a dropped gold ingot tagged by name, then run all the /fill and /summon loop commands executed at @e[tag=c9_core].

Remove it again 4 commands

  1. /kill @e[tag=c9_m]
  2. /fill ~-12 ~ ~-12 ~12 ~15 ~12 air
  3. /fill ~-12 ~-1 ~-12 ~12 ~-1 ~12 grass_block
  4. /scoreboard objectives remove c9_t

FAQ

Why use block_display entities instead of falling_block entities for the command block pillar?

Real falling_block entities cannot display tile entities like command blocks cleanly without turning into items or placing real command blocks on impact, whereas block_display entities can scale, rotate smoothly, and glow brightly.

How can I make the pyramid stay permanently after it finishes building?

Wait until the golden capstone layer appears at tick 80, then break or power off the first repeating command block that increments the #tick score so the structure never resets.

Commands used

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

Similar creations

Join 9Minecraft News & Guides