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.
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.
/scoreboard objectives add c9_t dummy/scoreboard players set #tick c9_t 0/fill ~-12 ~-1 ~-12 ~12 ~-1 ~12 cut_sandstone/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 gold_block/summon marker ~ ~ ~ {Tags:["c9_m","c9_core"]}/scoreboard players add #tick c9_t 1/execute if score #tick c9_t matches 1 run fill ~-8 ~ ~-8 ~8 ~10 ~8 air/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]}}/execute if score #tick c9_t matches 2..15 as @e[tag=c9_stack] at @s if block ~ ~-1 ~ air run tp @s ~ ~-1 ~/execute if score #tick c9_t matches 15..85 as @e[tag=c9_stack] at @s run tp @s ~ ~-0.18 ~ ~12 ~/execute if score #tick c9_t matches 15..85 run particle flame ~ ~2 ~ 3.5 2.0 3.5 0.05 25 force/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/execute if score #tick c9_t matches 20 run fill ~-7 ~ ~-7 ~7 ~ ~7 sandstone/execute if score #tick c9_t matches 32 run fill ~-6 ~1 ~-6 ~6 ~1 ~6 cut_sandstone/execute if score #tick c9_t matches 44 run fill ~-5 ~2 ~-5 ~5 ~2 ~5 sandstone/execute if score #tick c9_t matches 56 run fill ~-4 ~3 ~-4 ~4 ~3 ~4 chiseled_sandstone/execute if score #tick c9_t matches 68 run fill ~-3 ~4 ~-3 ~3 ~4 ~3 cut_sandstone/execute if score #tick c9_t matches 80 run fill ~-2 ~5 ~-2 ~2 ~5 ~2 gold_block/execute if score #tick c9_t matches 85..140 as @e[tag=c9_stack] run kill @sloop #3 Between ticks 2 and 13, a new glowing <code>block_display</code> shaped like a downward-facing chain command block is summoned 14 blocks in the air, forming a falling vertical stack.loop #4 While the stack drops, each block display checks if the block below it is air and teleports down 1 block per tick until the bottom of the column impacts the pedestal.loop #5 During the assembly phase (ticks 15 to 85), the entire command block column spins and sinks into the ground as each block is consumed to build the pyramid.loop #8 At specific tick milestones (20, 32, 44, 56, 68, and 80), <code>/fill</code> commands place progressively smaller square layers of sandstone, chiseled sandstone, and gold blocks from the ground up.


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.
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].
/kill @e[tag=c9_m]/fill ~-12 ~ ~-12 ~12 ~15 ~12 air/fill ~-12 ~-1 ~-12 ~12 ~-1 ~12 grass_block/scoreboard objectives remove c9_tReal 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.
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.
▶Self-Assembling Sandstone SpireSelf-building StructuresHard24 cmds
▶Mythic World-Tree Yggdrasil BloomingSelf-building StructuresExpert20 cmds
▶Automated Spire ConstructorSelf-building StructuresMedium19 cmds
▶Autonomous Cave BorrowerSelf-building StructuresHard24 cmds
▶Bonsai Cherry Blossom Time-Lapse SculptingSelf-building StructuresHard24 cmds
▶Colossal Algorithmic Maze BuilderSelf-building StructuresHard22 cmds