Flowing Giant Hourglass Countdown Timer

Build a massive floating glass hourglass in Minecraft Java that drains glowing golden sand into a rising pile and flashes crimson when the timer hits zero.

Java EditionMini-games & UtilitiesEasyTested on a real 26.2 & 26.3 server
A giant floating glass hourglass in Minecraft drains sand into the bottom chamber before glowing red. Download the GIF

This creation builds a 19-block-tall suspended glass hourglass framed in gilded blackstone with a floating countdown display above it. Bright golden sand smoothly shrinks inside the upper bulb, pours as shimmering dust through the glass neck, and fills the lower chamber in real time.

When the timer reaches 00, the accumulated sand turns into glowing redstone and releases a burst of crimson particles before automatically resetting for the next cycle.

1. Setup - type these once 10 commands

  1. /fill ~-3 ~2 ~-3 ~3 ~2 ~3 minecraft:gilded_blackstone
  2. /fill ~-3 ~18 ~-3 ~3 ~18 ~3 minecraft:gilded_blackstone
  3. /fill ~-2 ~3 ~-2 ~2 ~7 ~2 minecraft:glass hollow
  4. /fill ~-2 ~13 ~-2 ~2 ~17 ~2 minecraft:glass hollow
  5. /fill ~-1 ~8 ~-1 ~1 ~12 ~1 minecraft:glass hollow
  6. /fill ~ ~7 ~ ~ ~13 ~ minecraft:air
  7. /scoreboard objectives add c9_hg dummy
  8. /summon minecraft:text_display ~0.5 ~20 ~0.5 {Tags:["c9_timer"],billboard:"center",text:{"text":"03","color":"gold","bold":true},background:0,shadow:1b,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[4f,4f,4f]}}
  9. /summon minecraft:block_display ~-0.95 ~14 ~-0.95 {Tags:["c9_upper"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:sand"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[2.9f,2.94f,2.9f]}}
  10. /summon minecraft:block_display ~-0.95 ~4 ~-0.95 {Tags:["c9_lower"],brightness:{sky:15,block:15},block_state:{Name:"minecraft:sand"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[2.9f,0.05f,2.9f]}}

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

  1. /scoreboard players add #tick c9_hg 1
  2. /execute if score #tick c9_hg matches 100 run scoreboard players set #tick c9_hg 0
  3. /scoreboard players set #rem c9_hg 60
  4. /scoreboard players operation #rem c9_hg -= #tick c9_hg
  5. /execute if score #tick c9_hg matches 0..60 store result entity @e[tag=c9_upper,limit=1] transformation.scale[1] float 0.049 run scoreboard players get #rem c9_hg
  6. /execute if score #tick c9_hg matches 0..60 store result entity @e[tag=c9_lower,limit=1] transformation.scale[1] float 0.049 run scoreboard players get #tick c9_hg
  7. /execute if score #tick c9_hg matches 0..59 run particle minecraft:dust{color:[1.0,0.82,0.12],scale:1.5} ~0.5 ~10.5 ~0.5 0.08 3.3 0.08 0 12
  8. /execute if score #tick c9_hg matches 60..99 run particle minecraft:dust{color:[1.0,0.05,0.05],scale:2.2} ~0.5 ~10.5 ~0.5 1.8 4.5 1.8 0 24
  9. /execute if score #tick c9_hg matches 0 run data modify entity @e[tag=c9_lower,limit=1] block_state.Name set value "minecraft:sand"
  10. /execute if score #tick c9_hg matches 60 run data modify entity @e[tag=c9_lower,limit=1] block_state.Name set value "minecraft:redstone_block"
  11. /execute if score #tick c9_hg matches 0 run data modify entity @e[tag=c9_timer,limit=1] text set value {"text":"03","color":"gold","bold":true}
  12. /execute if score #tick c9_hg matches 20 run data modify entity @e[tag=c9_timer,limit=1] text set value {"text":"02","color":"gold","bold":true}
  13. /execute if score #tick c9_hg matches 40 run data modify entity @e[tag=c9_timer,limit=1] text set value {"text":"01","color":"yellow","bold":true}
  14. /execute if score #tick c9_hg matches 60 run data modify entity @e[tag=c9_timer,limit=1] text set value {"text":"00","color":"red","bold":true}

How it works

Frames from the test run

Flowing Giant Hourglass Countdown Timer - frame 1Flowing Giant Hourglass Countdown Timer - frame 2Flowing Giant Hourglass Countdown Timer - frame 3

Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: A floating glass hourglass with gilded blackstone framing transfers sand from top to bottom via particles before turning into redstone with red particle bursts, though the top and countdown display are cut off out of frame.

Build it in your world

  1. Find an open flat area with at least 22 blocks of vertical clearance and stand at the spot where you want the hourglass centered.
  2. Run each of the 10 setup commands once in order from chat or impulse command blocks.
  3. Place 14 Repeating, Unconditional, Always Active command blocks nearby and paste one loop command into each block.
  4. If your command blocks are placed away from the center, wrap the loop commands with execute positioned at the hourglass base coordinates.
  5. Watch the hourglass count down from 03 to 00, flash crimson, and loop automatically.

Use it with real players

To use this as an on-demand minigame timer for players, set the repeating command blocks to Needs Redstone and connect a player-accessible button to a command block running /scoreboard players set #tick c9_hg 0 whenever you want to restart the countdown.

Remove it again 5 commands

  1. /fill ~-3 ~2 ~-3 ~3 ~18 ~3 minecraft:air
  2. /kill @e[tag=c9_timer]
  3. /kill @e[tag=c9_upper]
  4. /kill @e[tag=c9_lower]
  5. /scoreboard objectives remove c9_hg

FAQ

Can I make the countdown last longer than 3 seconds?

Yes. Increase the <code>#rem</code> starting value, the <code>matches</code> tick ranges, and the <code>0.049</code> scale multiplier in the loop commands proportionally (scale equals <code>2.94 / total_drain_ticks</code>).

Why does the sand glow in the dark?

Both <code>block_display</code> entities use <code>brightness:{sky:15,block:15}</code>, which forces full light level on the sand and redstone blocks regardless of surrounding light.

Commands used

/data/execute/fill/particle/scoreboard/summon

More mini-games & utilities