Self-Building Upside-Down Pyramid

Summon a floating upside-down sandstone and gold pyramid that constructs itself layer by layer in mid-air above a glowing arcane pedestal with particles.

Java EditionHolograms & Display EntitiesMedium24 commandsTested on a real 26.2 & 26.3 server
A floating upside-down sandstone pyramid hovers above a golden lodestone pedestal at night. Download the GIF Video & GIF © www.9minecraft.net

Animated BlocksMysticRoyalYellowGoldCyanDecorationAdventure MapCinematicBlock building (fill/setblock/clone)Rotation math21+ commands

Watch an inverted desert monument assemble itself block by block in mid-air. Starting from a single golden tip hovering above an arcane lodestone pedestal, swirling golden and soul fire particles rise upward as widening square layers of cut sandstone, solid gold corner pillars, and glowing sea lanterns materialize into a massive floating upside-down pyramid.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /scoreboard players set #tick c9_t 0
  3. /fill ~-4 ~ ~-4 ~4 ~ ~4 chiseled_sandstone
  4. /fill ~-3 ~1 ~-3 ~3 ~1 ~3 cut_sandstone_slab
  5. /fill ~-1 ~1 ~-1 ~1 ~1 ~1 gold_block
  6. /setblock ~ ~1 ~ lodestone
  7. /setblock ~-3 ~1 ~-3 soul_lantern
  8. /setblock ~3 ~1 ~-3 soul_lantern
  9. /setblock ~-3 ~1 ~3 soul_lantern
  10. /setblock ~3 ~1 ~3 soul_lantern

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 summon marker ~ ~4 ~ {Tags:["c9_p","c9_ent"]}
  3. /execute as @e[tag=c9_p] at @s if score #tick c9_t matches 1..60 run tp @s ~ ~0.12 ~ ~25 0
  4. /execute as @e[tag=c9_p] at @s if score #tick c9_t matches 61..120 run tp @s ~ ~ ~ ~20 0
  5. /execute as @e[tag=c9_p] at @s run particle dust{color:[1.0,0.85,0.2],scale:2.2} ^3.5 ^ ^ 0.4 0.1 0.4 0 8 force
  6. /execute as @e[tag=c9_p] at @s run particle soul_fire_flame ^-3.5 ^ ^ 0.3 0.1 0.3 0.02 4 force
  7. /execute if score #tick c9_t matches 2 run setblock ~ ~4 ~ gold_block
  8. /execute if score #tick c9_t matches 8 run fill ~-1 ~5 ~-1 ~1 ~5 ~1 cut_sandstone
  9. /execute if score #tick c9_t matches 14 run fill ~-2 ~6 ~-2 ~2 ~6 ~2 cut_sandstone
  10. /execute if score #tick c9_t matches 20 run fill ~-3 ~7 ~-3 ~3 ~7 ~3 cut_sandstone
  11. /execute if score #tick c9_t matches 26 run fill ~-4 ~8 ~-4 ~4 ~8 ~4 cut_sandstone
  12. /execute if score #tick c9_t matches 32 run fill ~-5 ~9 ~-5 ~5 ~9 ~5 cut_sandstone
  13. /execute if score #tick c9_t matches 38 run fill ~-6 ~10 ~-6 ~6 ~10 ~6 gold_block
  14. /execute if score #tick c9_t matches 44 run fill ~-5 ~10 ~-5 ~5 ~10 ~5 sea_lantern

How it works

Frames from the test run

Self-Building Upside-Down Pyramid - frame 1Self-Building Upside-Down Pyramid - frame 2Self-Building Upside-Down Pyramid - frame 3

Recorded on our own test server: 49 frames at about 9.7 fps. Our image check saw: An inverted pyramid made of cut sandstone with a gold block tip floats above a sandstone and gold pedestal with a lodestone center and soul lanterns.

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 with at least 15x15 blocks of horizontal space and 15 blocks of vertical clearance.
  2. Run each of the 10 setup commands in chat while standing at the exact center of where you want the pedestal.
  3. Place a line or chain of 14 command blocks nearby, setting the first to Repeating and Always Active and the rest to Chain and Always Active.
  4. Paste the 14 loop commands in order into the command blocks (if placing them away from the center, wrap the coordinate commands with execute positioned at your pedestal center).
  5. Reset the scoreboard timer #tick on objective c9_t to 0 whenever you want to watch the pyramid construct itself again.

Use it with real players

To let a player trigger the self-building pyramid wherever they throw a special item, replace the fixed coordinates with /execute at @e[type=item,nbt={Item:{id:"minecraft:nether_star"}}] to summon the base anchor marker and run the layer fills relative to that anchor marker.

Remove it again 3 commands

  1. /kill @e[tag=c9_ent]
  2. /fill ~-6 ~ ~-6 ~6 ~11 ~6 air
  3. /scoreboard objectives remove c9_t

FAQ

How do I replay the building animation after it finishes?

First clear the pyramid blocks with /fill ~-6 ~4 ~-6 ~6 ~10 ~6 air and kill the particle marker with /kill @e[tag=c9_ent], then run /scoreboard players set #tick c9_t 0.

Can I change the blocks used for the pyramid layers?

Yes! Simply replace cut_sandstone, gold_block, and sea_lantern in the loop /fill commands with any block IDs you prefer, such as obsidian, crying_obsidian, and shroomlight.

Commands used

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

Similar creations

Join 9Minecraft News & Guides