Build a 22-block mechanical clock tower in Minecraft using command blocks, featuring rotating brass hands, copper gears, a swinging pendulum, and bell chimes.
Machines & MechanismsIndustrialMedievalTechnologyBlackWhiteGoldDecorationServer LobbyMap MakingBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)Rotation math21+ commands
The Chiming Grand Clockwork places a four-sided mechanical clock tower in your world using only vanilla command blocks. Framed in deepslate with open glass windows and a glowing quartz dial on all four faces, the tower lets you watch the inner copper gears and golden pendulum swing back and forth from any direction.
Scaled block display entities form the rotating minute and hour hands on both the front and back dials. Every full revolution of the minute hand triggers a bell chime at the top of the belfry along with a burst of golden sparks and musical notes.
/scoreboard objectives add c9_clk dummy/fill ~-4 ~ ~-4 ~4 ~21 ~4 deepslate_tiles/fill ~-4 ~1 ~-2 ~4 ~8 ~2 tinted_glass/fill ~-2 ~1 ~-4 ~2 ~8 ~4 tinted_glass/fill ~-3 ~1 ~-3 ~3 ~20 ~3 air/fill ~-3 ~10 ~-4 ~3 ~16 ~4 smooth_quartz/fill ~-4 ~10 ~-3 ~4 ~16 ~3 smooth_quartz/fill ~-2 ~11 ~-3 ~2 ~15 ~3 sea_lantern/fill ~-4 ~17 ~-2 ~4 ~20 ~2 air/fill ~-2 ~17 ~-4 ~2 ~20 ~4 air/execute unless entity @e[tag=c9_init] run summon block_display ~ ~13 ~ {Tags:["c9_ent","c9_init","c9_min"],Glowing:1b,glow_color_override:16766720,teleport_duration:1,transformation:{translation:[-0.22f,-0.3f,-4.35f],scale:[0.44f,3.4f,8.7f]},block_state:{Name:"minecraft:gold_block"}}/execute unless entity @e[tag=c9_hr] run summon block_display ~ ~13 ~ {Tags:["c9_ent","c9_hr"],Glowing:1b,glow_color_override:16744448,teleport_duration:1,transformation:{translation:[-0.32f,-0.3f,-4.45f],scale:[0.64f,2.3f,8.9f]},block_state:{Name:"minecraft:waxed_copper_block"}}/execute unless entity @e[tag=c9_pend] run summon block_display ~ ~9 ~ {Tags:["c9_ent","c9_pend"],Glowing:1b,glow_color_override:16766720,teleport_duration:8,transformation:{translation:[-0.6f,-6.5f,-0.6f],scale:[1.2f,6.5f,1.2f]},block_state:{Name:"minecraft:gold_block"}}/execute unless entity @e[tag=c9_gear] run summon block_display ~ ~5 ~ {Tags:["c9_ent","c9_gear"],Glowing:1b,glow_color_override:16753920,teleport_duration:1,transformation:{translation:[-1.8f,-1.8f,-1.8f],scale:[3.6f,3.6f,3.6f]},block_state:{Name:"minecraft:waxed_copper_grate"}}/scoreboard players add #tick c9_clk 1/execute if score #tick c9_clk matches 120.. run scoreboard players set #tick c9_clk 0/execute as @e[tag=c9_min] at @s run tp @s ~ ~ ~ ~ ~3/execute as @e[tag=c9_hr] at @s run tp @s ~ ~ ~ ~ ~0.5/execute as @e[tag=c9_gear] at @s run tp @s ~ ~ ~ ~6 ~4/execute if score #tick c9_clk matches 0..19 as @e[tag=c9_pend] at @s run tp @s ~ ~ ~ 90 -22/execute if score #tick c9_clk matches 20..39 as @e[tag=c9_pend] at @s run tp @s ~ ~ ~ 90 22/execute if score #tick c9_clk matches 40..59 as @e[tag=c9_pend] at @s run tp @s ~ ~ ~ 90 -22/execute if score #tick c9_clk matches 60..79 as @e[tag=c9_pend] at @s run tp @s ~ ~ ~ 90 22/execute if score #tick c9_clk matches 1..5 run particle wax_on ~ ~13 ~ 5 4 5 0 35 forcesetup #6 Fills the upper clock section with <code>smooth_quartz</code> across all four faces, while hollowing out the lower glass chamber and upper belfry so you can see inside from any angle.loop #1 Summons a glowing <code>gold_block</code> display stretched across the depth of the tower (<code>scale:[0.44f,3.4f,8.7f]</code>) so the minute hand protrudes clearly on both the North and South quartz dials.loop #3 Creates the central golden pendulum inside the glass viewing chamber with <code>teleport_duration:8</code> so its pitch changes interpolate smoothly like a real swinging weight.loop #7 Tilts the minute hand pitch by 3 degrees every tick around its pivot at <code>~ ~13 ~</code>, completing a 360-degree revolution every 120 ticks (6 seconds).loop #10 Alternates the pendulum pitch between -22 and +22 degrees every 20 ticks, swinging it left and right across the open glass base.


Recorded on our own test server: 60 frames at about 9.9 fps. Our image check saw: A blackstone or deepslate tower with a white clock face and glowing clock hands, plus a swinging golden pendulum visible through dark glass windows.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
/kill @e[tag=c9_ent]/fill ~-4 ~ ~-4 ~4 ~21 ~4 air/scoreboard objectives remove c9_clkChange the pitch rotation increment on the <code>c9_min</code> and <code>c9_hr</code> teleport commands to smaller decimal values, or link their rotation to the result of <code>/time query daytime</code>.
Each hand is a single <code>block_display</code> stretched 8.7 blocks along its Z axis and offset by -4.35 blocks, so one entity pokes out of both the North and South clock dials at the same time while keeping the entity count very low.
▶Kinetic Block-Display Vault GatesMachines & MechanismsMedium24 cmds
▶Steampunk Astrolabe GyroscopeMachines & MechanismsMedium24 cmds
▶Steampunk Printing Press Newspaper RollMachines & MechanismsHard24 cmds
▶Holographic Magnetic Tokamak Fusion ConfinementMachines & MechanismsExpert26 cmds
▶Kinematic Radial Aircraft Engine IgnitionMachines & MechanismsExpert24 cmds
▶Kinematic V8 Engine Piston CutawayMachines & MechanismsExpert24 cmds