Block Gravity Simulator

Watch a glowing geometric prism materialize in mid-air, plunge to the ground, and shatter into dozens of bouncing physics blocks using only vanilla commands.

Java EditionHolograms & Display EntitiesExpert22 commandsTested on a real 26.2 & 26.3 server
Glowing amethyst, gold, and cyan glass blocks rest on a lit stone platform at night. Download the GIF Video & GIF © www.9minecraft.net

Animated BlocksTechnologyMysticPurpleGoldCyanLearningCinematicMap MakingBlock displaysArmor standsRiding & passengersBlock building (fill/setblock/clone)Rotation math21+ commands

The Block Gravity Simulator transforms vanilla Minecraft into a real-time physics showcase. A colorful floating prism of amethyst, gold, and cyan glass materializes high above the ground, hovers momentarily with swirling energy, and suddenly plunges downward.

Upon striking the ground, the structure violently shatters into dozens of individual blocks that scatter, bounce with diminishing elasticity, and tumble across the floor before vaporizing in a puff of cloud particles so the cycle can repeat automatically.

1. Setup - type these once 6 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /scoreboard players set #tick c9_timer 0
  3. /summon marker ~ ~ ~ {Tags:["c9_center"]}
  4. /fill ~-6 ~-1 ~-6 ~6 ~-1 ~6 minecraft:polished_deepslate
  5. /fill ~-4 ~-1 ~-4 ~4 ~-1 ~4 minecraft:sea_lantern
  6. /fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 minecraft:chiseled_deepslate

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

  1. /scoreboard players add #tick c9_timer 1
  2. /execute if score #tick c9_timer matches 1..45 run summon marker ~ ~11 ~ {Tags:["c9_spawner"]}
  3. /execute as @e[tag=c9_spawner] at @s run spreadplayers ~ ~ 0 2 false @s
  4. /execute if score #tick c9_timer matches 1..15 at @e[tag=c9_spawner] run summon armor_stand ~ ~12 ~ {Tags:["c9_phys"],Small:1b,Invisible:1b,NoGravity:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_phys","c9_disp"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:gold_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,0.7f,0.7f],translation:[-0.35f,0f,-0.35f]}}]}
  5. /execute if score #tick c9_timer matches 16..30 at @e[tag=c9_spawner] run summon armor_stand ~ ~10.5 ~ {Tags:["c9_phys"],Small:1b,Invisible:1b,NoGravity:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_phys","c9_disp"],Glowing:1b,glow_color_override:11141375,block_state:{Name:"minecraft:amethyst_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,0.7f,0.7f],translation:[-0.35f,0f,-0.35f]}}]}
  6. /execute if score #tick c9_timer matches 31..45 at @e[tag=c9_spawner] run summon armor_stand ~ ~9 ~ {Tags:["c9_phys"],Small:1b,Invisible:1b,NoGravity:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_phys","c9_disp"],Glowing:1b,glow_color_override:5636095,block_state:{Name:"minecraft:cyan_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,0.7f,0.7f],translation:[-0.35f,0f,-0.35f]}}]}
  7. /kill @e[tag=c9_spawner]
  8. /execute if score #tick c9_timer matches 1..64 at @e[type=armor_stand,tag=c9_phys] run particle minecraft:end_rod ~ ~0.35 ~ 0.1 0.1 0.1 0.01 1
  9. /execute if score #tick c9_timer matches 65 as @e[type=armor_stand,tag=c9_phys] run data merge entity @s {NoGravity:0b,Motion:[0.0,-0.6,0.0]}
  10. /execute if score #tick c9_timer matches 65..170 as @e[type=armor_stand,tag=c9_phys,nbt={OnGround:1b}] at @s unless score @s c9_timer matches 3.. facing entity @e[tag=c9_center,limit=1] feet run tp @s ~ ~0.1 ~ ~180 0
  11. /execute if score #tick c9_timer matches 65..170 as @e[type=armor_stand,tag=c9_phys] at @s if block ~ ~-0.15 ~ air if score @s c9_timer matches 0..2 run tp @s ^ ^0.18 ^0.24 ~8 ~
  12. /execute if score #tick c9_timer matches 65..170 as @e[type=armor_stand,tag=c9_phys,nbt={OnGround:1b}] at @s unless score @s c9_timer matches 3.. run scoreboard players add @s c9_timer 1
  13. /execute if score #tick c9_timer matches 65..150 at @e[type=armor_stand,tag=c9_phys,nbt={OnGround:1b}] run particle minecraft:scrape ~ ~0.2 ~ 0.2 0.1 0.2 0.1 2
  14. /execute if score #tick c9_timer matches 180.. at @e[type=armor_stand,tag=c9_phys] run particle minecraft:cloud ~ ~0.3 ~ 0.2 0.2 0.2 0.05 3
  15. /execute if score #tick c9_timer matches 180.. run kill @e[tag=c9_phys]
  16. /execute if score #tick c9_timer matches 185.. run scoreboard players set #tick c9_timer 0

How it works

Frames from the test run

Block Gravity Simulator - frame 1Block Gravity Simulator - frame 2Block Gravity Simulator - frame 3

Recorded on our own test server: 60 frames at about 9.8 fps. Our image check saw: Glowing blocks of amethyst, gold, and cyan glass rest in a pile on a lit platform before floating high into the air and dropping down.

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 and run the 6 setup commands in chat to build the impact pad and scoreboard.
  2. Place a line of 16 Command Blocks set to Repeat, Unconditional, and Always Active (or 1 Repeating block chained into 15 Chain Command Blocks).
  3. Paste each of the 16 loop commands into the command blocks in order.
  4. Make sure the loop commands execute positioned at the center of your stage (or place the command blocks directly beneath the center marker).
  5. Watch the floating structure assemble itself in mid-air, drop at 3.25 seconds, and shatter across the floor.

Use it with real players

To trigger the gravity drop manually instead of on a loop, pause the timer at tick 50 and bind a carrot on a stick click objective to set #tick c9_timer to 65 whenever a player right-clicks.

Remove it again 5 commands

  1. /kill @e[tag=c9_phys]
  2. /kill @e[tag=c9_spawner]
  3. /kill @e[tag=c9_center]
  4. /scoreboard objectives remove c9_timer
  5. /fill ~-6 ~-1 ~-6 ~6 ~-1 ~6 minecraft:grass_block

FAQ

Why use armor stands with block displays instead of falling_block entities?

Vanilla falling_block entities snap to the block grid or break into items when hitting the ground. Armor stands carrying block_display passengers have smooth sub-block collision and never turn into solid blocks.

Will this lag my server over time?

No. The simulator caps the prism at exactly 45 blocks (90 entities total) and deletes every entity at the end of each 9-second cycle.

Commands used

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

Similar creations

Join 9Minecraft News & Guides