Build a working Foucault's Pendulum beneath a golden arch that swings in a rotating plane, carves glowing sand trails, and topples perimeter dominoes.
Clocks & CalendarsRoyalTechnologyMysticGoldYellowBlackDecorationServer LobbyLearningParticlesBlock displaysArmor standsSmooth animation (interpolation)Scoreboard timersExecute chainsRiding & passengersSummoned mobsBlock building (fill/setblock/clone)Glowing outlinesRotation math21+ commands
This command creation builds a giant Foucault's Pendulum suspended beneath an ornate golden and gilded blackstone arch. A multi-part glowing brass bob and sharp needle sweep back and forth across a sand basin while a taut particle cable connects the bob up to the apex.
As the plane of oscillation slowly rotates around the dial, the needle carves glowing golden grooves into the sand and knocks over a ring of glowing gilded monoliths one by one.
/scoreboard objectives add c9_t dummy/fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 minecraft:polished_blackstone_bricks/fill ~-7 ~-1 ~-7 ~7 ~-1 ~7 minecraft:sand/fill ~-9 ~ ~-1 ~-8 ~16 ~1 minecraft:gilded_blackstone/fill ~8 ~ ~-1 ~9 ~16 ~1 minecraft:gilded_blackstone/fill ~-9 ~16 ~-1 ~9 ~17 ~1 minecraft:gold_block/setblock ~ ~15 ~ minecraft:sea_lantern/summon minecraft:armor_stand ~ ~1 ~ {Tags:["c9_piv"],Invisible:1b,NoGravity:1b,Rotation:[0f,0f]}/summon minecraft:block_display ~ ~2 ~ {Tags:["c9_bob"],Glowing:1b,glow_color_override:16766720,teleport_duration:1,block_state:{Name:"minecraft:gold_block"},transformation:{left_rotation:[0.353f,0.353f,0.146f,0.853f],right_rotation:[0f,0f,0f,1f],scale:[2.2f,2.2f,2.2f],translation:[-1.1f,-0.5f,-1.1f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_tip"],Glowing:1b,glow_color_override:16777045,block_state:{Name:"minecraft:lightning_rod"},transformation:{left_rotation:[1f,0f,0f,0f],right_rotation:[0f,0f,0f,1f],scale:[1.5f,2.8f,1.5f],translation:[-0.75f,0.5f,0.75f]}}]}/scoreboard players add #c9_clk c9_t 1/execute if score #c9_clk c9_t matches 32.. run scoreboard players set #c9_clk c9_t 0/execute as @e[tag=c9_piv] at @s run tp @s ~ ~ ~ ~2.2 ~/execute if score #c9_clk c9_t matches 0..7 as @e[tag=c9_bob] at @s rotated as @e[tag=c9_piv,limit=1] rotated ~ 0 run tp @s ^ ^0.18 ^0.82 ~ ~/execute if score #c9_clk c9_t matches 8..15 as @e[tag=c9_bob] at @s rotated as @e[tag=c9_piv,limit=1] rotated ~ 0 run tp @s ^ ^-0.18 ^-0.82 ~ ~/execute if score #c9_clk c9_t matches 16..23 as @e[tag=c9_bob] at @s rotated as @e[tag=c9_piv,limit=1] rotated ~ 0 run tp @s ^ ^0.18 ^-0.82 ~ ~/execute if score #c9_clk c9_t matches 24..31 as @e[tag=c9_bob] at @s rotated as @e[tag=c9_piv,limit=1] rotated ~ 0 run tp @s ^ ^-0.18 ^0.82 ~ ~/execute if score #c9_clk c9_t matches 16 at @e[tag=c9_piv] rotated ~ 0 run tp @e[tag=c9_bob,limit=1] ~ ~2 ~ ~ ~/execute at @e[tag=c9_piv,limit=1] rotated ~ 0 positioned ^ ^-1 ^6.6 unless entity @e[tag=c9_dom,distance=..1.8] run summon minecraft:block_display ~ ~ ~ {Tags:["c9_dom","c9_up"],Glowing:1b,glow_color_override:16755200,interpolation_duration:8,block_state:{Name:"minecraft:gilded_blackstone"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,2.6f,0.7f],translation:[-0.35f,0f,-0.35f]}}/execute at @e[tag=c9_bob] run particle minecraft:dust{color:[1.0,0.8,0.1],scale:2.2} ~ ~-1.6 ~ 0.2 0.05 0.2 0 10 force/execute at @e[tag=c9_bob] facing ~ ~15 ~ positioned ^ ^ ^2.5 run particle minecraft:end_rod ^ ^ ^ 0.05 0.5 0.05 0 4 force/execute at @e[tag=c9_bob] as @e[tag=c9_up,distance=..2.6] at @s run data merge entity @s {Tags:["c9_dom","c9_fall"],start_interpolation:0,glow_color_override:16724787,transformation:{left_rotation:[0.707f,0f,0f,0.707f],right_rotation:[0f,0f,0f,1f],scale:[0.7f,2.6f,0.7f],translation:[-0.35f,0f,-0.35f]}}/scoreboard players add @e[tag=c9_fall] c9_t 1/kill @e[tag=c9_fall,scores={c9_t=50..}]setup #9 Summons the pendulum bob using a rotated <code>gold_block</code> display entity with an upside-down <code>lightning_rod</code> passenger acting as the carving stylus.loop #3 Rotates the invisible central pivot armor stand by 2.2 degrees every tick, shifting the pendulum's plane of oscillation and sweeping out the perimeter ring.loop #4 Moves the pendulum bob outward and slightly upward along the pivot's current facing angle during the first quarter of the 32-tick swing cycle.loop #9 Places standing <code>gilded_blackstone</code> monolith dominoes around the edge of the sand pit wherever there is an open spot along the pivot's sightline.loop #12 Detects when the swinging bob nears an upright monolith and triggers a smooth 8-tick interpolation that tips the pillar over while turning its glow red.


Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A large glowing gold pendulum bob swings across a sand basin surrounded by glowing gilded blackstone markers beneath two large pillars, leaving yellow particles on the sand.
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_piv]/kill @e[tag=c9_bob]/kill @e[tag=c9_tip]/kill @e[tag=c9_dom]/scoreboard objectives remove c9_t/fill ~-9 ~ ~-9 ~9 ~17 ~9 minecraft:air/fill ~-9 ~-1 ~-9 ~9 ~-1 ~9 minecraft:grass_blockIn the 3rd loop command, adjust the yaw rotation value in <code>tp @s ~ ~ ~ ~2.2 ~</code>. A smaller number like <code>~0.5</code> makes the plane of oscillation precess much more slowly.
The 8th loop command re-centers the bob directly over the pivot at tick 16 (the middle of each full period), preventing floating-point drift while keeping the motion smooth.
/data/execute/fill/kill/particle/scoreboard/setblock/summon/tp
▶Kinetic Rolling Ball Clock TowerClocks & CalendarsExpert25 cmds
▶Clepsydra Ancient Water-Thief Siphon ClockClocks & CalendarsMedium24 cmds
▶Holographic Chess Endgame Battle RoyalAnimated BlocksHard24 cmds
▶Holographic Chess-Rook Bulldozer StaffWands & StaffsHard22 cmds
▶Spinning Fourier Epicycle Silhouette DrawerMath CurvesExpert22 cmds
▶Spirograph Epicycloid Laser-Etched Match TimerTimers & CountdownsHard24 cmds