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.
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.
/fill ~-3 ~2 ~-3 ~3 ~2 ~3 minecraft:gilded_blackstone/fill ~-3 ~18 ~-3 ~3 ~18 ~3 minecraft:gilded_blackstone/fill ~-2 ~3 ~-2 ~2 ~7 ~2 minecraft:glass hollow/fill ~-2 ~13 ~-2 ~2 ~17 ~2 minecraft:glass hollow/fill ~-1 ~8 ~-1 ~1 ~12 ~1 minecraft:glass hollow/fill ~ ~7 ~ ~ ~13 ~ minecraft:air/scoreboard objectives add c9_hg dummy/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]}}/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]}}/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]}}/scoreboard players add #tick c9_hg 1/execute if score #tick c9_hg matches 100 run scoreboard players set #tick c9_hg 0/scoreboard players set #rem c9_hg 60/scoreboard players operation #rem c9_hg -= #tick c9_hg/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/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/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/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/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"/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"/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}/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}/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}/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}setup #6 Clears a 1x1 central chute between the upper bulb, neck, and lower bulb so the falling particle stream passes cleanly from top to bottom.setup #9 Summons the upper sand block_display with full brightness and a 2.9x2.94x2.9 scale so it fills the glass chamber without overlapping the walls.loop #5 Stores the remaining tick count multiplied by 0.049 directly into the upper sand entity's vertical scale, draining it smoothly to zero.loop #10 Swaps the lower sand block_state to minecraft:redstone_block at tick 60 so the full pile glows crimson when the countdown hits zero.


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.
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.
/fill ~-3 ~2 ~-3 ~3 ~18 ~3 minecraft:air/kill @e[tag=c9_timer]/kill @e[tag=c9_upper]/kill @e[tag=c9_lower]/scoreboard objectives remove c9_hgYes. 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>).
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.