Build a spinning mechanical orrery in Minecraft Java that accelerates the sun, moon, and stars across the sky while orbiting glowing celestial bodies.
Eclipses & Celestial EventsSpaceMysticRoyalGoldPurpleWhiteDecorationServer LobbyCinematicBlock displaysItem displaysSmooth animation (interpolation)Block building (fill/setblock/clone)Rotation math21+ commands
This creation builds a Celestial Time-Lapse Orrery on a gilded stone pedestal with a central beacon beam. A glowing giant clock floats above the beacon while a copper crossbar and a tilted amethyst dial spin in opposite directions.
On opposite ends of the crossbar, a glowing sun and moon orbit with bright particle trails as the real sun, moon, and stars race overhead in a smooth six-second day-night loop.
/fill ~-3 ~ ~-3 ~3 ~ ~3 polished_deepslate_slab/fill ~-2 ~ ~-2 ~2 ~ ~2 gilded_blackstone/fill ~-1 ~ ~-1 ~1 ~ ~1 gold_block/setblock ~ ~1 ~ beacon/scoreboard objectives add c9_t dummy/summon block_display ~ ~5.2 ~ {Tags:["c9_gear"],block_state:{Name:"minecraft:copper_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-4.2f,-0.1f,-0.15f],scale:[8.4f,0.2f,0.3f]},brightness:{sky:15,block:15},teleport_duration:2}/summon block_display ~ ~6.4 ~ {Tags:["c9_dial"],block_state:{Name:"minecraft:amethyst_block"},transformation:{left_rotation:[0f,0f,0.2588f,0.9659f],right_rotation:[0f,0f,0f,1f],translation:[-2.20f,-1.39f,-0.1f],scale:[5.2f,0.2f,0.2f]},brightness:{sky:15,block:15},teleport_duration:2}/summon block_display ~ ~5.2 ~ {Tags:["c9_sun"],block_state:{Name:"minecraft:glowstone"},Glowing:1b,glow_color_override:16755200,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.6f,-0.6f,-0.6f],scale:[1.2f,1.2f,1.2f]},brightness:{sky:15,block:15},teleport_duration:2}/summon block_display ~ ~5.2 ~ {Tags:["c9_moon"],block_state:{Name:"minecraft:sea_lantern"},Glowing:1b,glow_color_override:8965375,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.45f,-0.45f,-0.45f],scale:[0.9f,0.9f,0.9f]},brightness:{sky:15,block:15},teleport_duration:2}/summon item_display ~ ~2.8 ~ {Tags:["c9_clock"],item:{id:"minecraft:clock",count:1},billboard:"center",Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[2.2f,2.2f,2.2f]},teleport_duration:2}/time add 200/scoreboard players add #t c9_t 1/execute as @e[tag=c9_gear] at @s run tp @s ~ ~ ~ ~6 ~/execute as @e[tag=c9_dial] at @s run tp @s ~ ~ ~ ~-9 ~/execute as @e[tag=c9_gear] at @s positioned ^4.2 ^ ^ run tp @e[tag=c9_sun] ~ ~ ~/execute as @e[tag=c9_gear] at @s positioned ^-4.2 ^ ^ run tp @e[tag=c9_moon] ~ ~ ~/execute at @e[tag=c9_sun] run particle dust{color:[1.0,0.75,0.1],scale:1.6} ~ ~ ~ 0.25 0.25 0.25 0.01 4/execute at @e[tag=c9_sun] run particle flame ~ ~ ~ 0.15 0.15 0.15 0.02 2/execute at @e[tag=c9_moon] run particle dust{color:[0.55,0.85,1.0],scale:1.5} ~ ~ ~ 0.25 0.25 0.25 0.01 4/execute at @e[tag=c9_moon] run particle end_rod ~ ~ ~ 0.2 0.2 0.2 0.02 2/execute at @e[tag=c9_clock] run particle enchant ~ ~0.4 ~ 0.6 0.8 0.6 0.6 6/execute at @e[tag=c9_dial] run particle wax_on ~ ~ ~ 1.8 0.9 1.8 0.01 3/execute if score #t c9_t matches 20.. run scoreboard players set #t c9_t 0/execute if score #t c9_t matches 0 at @e[tag=c9_clock] run particle electric_spark ~ ~2.4 ~ 2.2 0.5 2.2 0.05 24setup #6 Summons the main 8.4-block copper crossbar as a <code>block_display</code> with <code>teleport_duration:2</code> so its rotation interpolates smoothly between ticks.setup #7 Summons the tilted amethyst astrolabe dial above the crossbar using a 30-degree Z-axis quaternion in <code>left_rotation</code> and an offset <code>translation</code> to keep it centered.setup #10 Places a scaled <code>clock</code> <code>item_display</code> inside the beacon beam; its dial texture automatically spins as world time advances.loop #1 Adds 200 ticks to the world time every tick, completing a full 24,000-tick day and night cycle every six seconds.loop #3 Rotates <code>c9_gear</code> clockwise by 6 degrees per tick, while the next command spins <code>c9_dial</code> counter-clockwise by 9 degrees per tick.loop #5 Uses local coordinates <code>^4.2 ^ ^</code> and <code>^-4.2 ^ ^</code> relative to the spinning crossbar to orbit the glowing sun and moon at opposite ends.loop #7 Spawns colored <code>dust</code>, <code>flame</code>, and <code>end_rod</code> particles directly at the orbiting sun and moon positions, plus periodic <code>electric_spark</code> bursts from the scoreboard timer.


Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: A glowing giant clock floats above a gilded blackstone and gold pedestal with a beacon block while a copper crossbar carrying glowing sun and moon blocks, a tilted amethyst rod, and particle trails spin as the sky shifts from night to day.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let players control the time-lapse manually, switch the repeating command blocks from Always Active to Needs Redstone and wire a lever on the pedestal, or add execute if entity @a[distance=..8,nbt={SelectedItem:{id:"minecraft:clock"}}] in front of the loop commands so the orrery accelerates time only while a player holds a clock nearby.
/kill @e[tag=c9_gear]/kill @e[tag=c9_dial]/kill @e[tag=c9_sun]/kill @e[tag=c9_moon]/kill @e[tag=c9_clock]/scoreboard objectives remove c9_t/fill ~-3 ~ ~-3 ~3 ~1 ~3 airYes. Lower or raise the number in <code>/time add 200</code>. For example, <code>/time add 100</code> slows a full day-night cycle to 12 seconds, while <code>/time add 400</code> doubles the speed to 3 seconds.
Beacons check their pyramid base and sky access periodically in Minecraft, which takes up to 4 seconds after the blocks are placed.
▶Supernova Shockwave Cloud NebulaeEclipses & Celestial EventsExpert19 cmds
▶Astral Projection Whale Pod Sky SwimEclipses & Celestial EventsExpert24 cmds
▶Cauldron of Time ControlEclipses & Celestial EventsMedium24 cmds
▶Celestial Hourglass Sandstorm InversionEclipses & Celestial EventsHard24 cmds
▶Celestial Music Box Pin-Drum SkyEclipses & Celestial EventsExpert24 cmds
▶Chrono-Shift Time MachineEclipses & Celestial EventsMedium24 cmds