Build an automated stone sundial with an orbiting solar core that casts a sweeping shadow beam, igniting twelve hour markers into colorful fire pillars.
Light Beams & LasersSpaceFireDarkGoldOrangeBlackDecorationServer LobbyCinematicBlock displaysArmor standsBlock building (fill/setblock/clone)SoundsRotation math21+ commands
The Celestial Sundial Time-Lapse Shadow Sweeper places a carved stone monument at the center of your world, topped with a tall gold gnomon. Above it, a bright artificial sun orbits in a rapid time-lapse circle while casting a sharp beam of dark shadow particles across the dial below.
As the shadow sweeps across the twelve hour markers placed around the ring, each brazier catches fire and erupts into a multi-colored pillar of flame, soul fire, and glowing dust, creating a continuous clockwork light show.
/scoreboard objectives add c9_timer dummy/fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 polished_blackstone/fill ~-6 ~-1 ~-6 ~6 ~-1 ~6 chiseled_polished_blackstone/fill ~-1 ~ ~-1 ~1 ~ ~1 polished_blackstone_slab/fill ~ ~ ~ ~ ~4 ~ gilded_blackstone/summon block_display ~ ~5 ~ {Tags:["c9_ent","c9_gnomon"],Glowing:1b,glow_color_override:16766720,block_state:{Name:"minecraft:gold_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.8f,0.8f,0.8f],translation:[-0.4f,-0.4f,-0.4f]}}/summon armor_stand ~ ~ ~ {Tags:["c9_ent","c9_piv"],Invisible:1b,NoGravity:1b,Marker:1b}/summon armor_stand ~ ~1 ~ {Tags:["c9_ent","c9_spawner"],Invisible:1b,NoGravity:1b,Marker:1b}/summon block_display ~ ~9 ~-7 {Tags:["c9_ent","c9_sun"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:ochre_froglight"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[1.6f,1.6f,1.6f],translation:[-0.8f,-0.8f,-0.8f]}}/scoreboard players set @e[tag=c9_spawner] c9_timer 12/execute as @e[tag=c9_spawner,scores={c9_timer=1..}] at @s run summon armor_stand ^ ^ ^7 {Tags:["c9_ent","c9_hour"],Invisible:1b,NoGravity:1b,Marker:1b}/execute as @e[tag=c9_spawner,scores={c9_timer=1..}] at @s run tp @s ~ ~ ~ ~30 ~/execute as @e[tag=c9_spawner,scores={c9_timer=1..}] at @s run setblock ^ ^-1 ^7 lodestone/scoreboard players remove @e[tag=c9_spawner,scores={c9_timer=1..}] c9_timer 1/execute as @e[tag=c9_piv] at @s run tp @s ~ ~ ~ ~6 ~/execute at @e[tag=c9_piv] run tp @e[tag=c9_sun] ^ ^9 ^-7/execute at @e[tag=c9_sun] run particle flame ~ ~ ~ 0.4 0.4 0.4 0.03 12 force/execute at @e[tag=c9_sun] run particle dust{color:[1.0,0.85,0.2],scale:2.5} ~ ~ ~ 0.6 0.6 0.6 0 6 force/execute at @e[tag=c9_piv] run particle dust{color:[0.05,0.02,0.1],scale:1.8} ^ ^2.5 ^3.5 0.2 0.2 0.2 0 15 force/execute at @e[tag=c9_piv] positioned ^ ^1 ^7 run scoreboard players set @e[tag=c9_hour,distance=..2.2] c9_timer 25/execute at @e[tag=c9_piv] positioned ^ ^1 ^7 if entity @e[tag=c9_hour,distance=..1.2] run playsound block.fire.ambient master @a ~ ~ ~ 0.6 1.6/execute as @e[tag=c9_hour,scores={c9_timer=1..}] at @s run particle flame ~ ~0.2 ~ 0.15 1.4 0.15 0.02 10 force/execute as @e[tag=c9_hour,scores={c9_timer=1..}] at @s run particle soul_fire_flame ~ ~1.8 ~ 0.2 0.9 0.2 0.04 6 force/scoreboard players remove @e[tag=c9_hour,scores={c9_timer=1..}] c9_timer 1setup #9 Summons a glowing ochre froglight <code>block_display</code> scaled up to 1.6x size to act as the artificial orbiting sun.loop #1 During the first 12 ticks, the spawner stand rotates in 30-degree steps and places 12 invisible <code>c9_hour</code> markers and lodestone blocks in a circle of radius 7.loop #6 Teleports the artificial sun 9 blocks up and 7 blocks behind the rotating pivot stand (<code>^ ^9 ^-7</code>) so it orbits smoothly over the sundial.loop #10 Projects the shadow point 7 blocks forward from the pivot (opposite the sun) and sets <code>c9_timer</code> to 25 on any hour marker caught in the shadow.loop #12 Any hour marker with an active timer erupts into a tall column of normal flame and blue soul fire particles until its timer counts down to zero.


Recorded on our own test server: 48 frames at about 9.6 fps. Our image check saw: A glowing block orbits above a dark stone platform with a gold center, leaving a trail of flame particles while dark shadow particles sweep across twelve flaming braziers below.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let a player control the sun and shadow direction manually instead of the automatic orbit, disable loop command 5 (the pivot rotation) and replace it with /execute as @e[tag=c9_piv] at @s run tp @s ~ ~ ~ facing entity @p so the shadow always sweeps away from where you walk.
/kill @e[tag=c9_ent]/fill ~-8 ~ ~-8 ~8 ~6 ~8 air/fill ~-8 ~-1 ~-8 ~8 ~-1 ~8 grass_block/scoreboard objectives remove c9_timerChange the rotation angle in the 5th loop command (/execute as @e[tag=c9_piv] at @s run tp @s ~ ~ ~ ~6 ~). Increase ~6 to ~10 for a faster time-lapse, or lower it to ~3 for a slower sweep.
No. The spawner stand only summons 12 hour markers during the first 12 ticks and then stops once its c9_timer reaches zero, keeping the total entity count at exactly 16.
/execute/fill/particle/playsound/scoreboard/setblock/summon/tp
▶Celestial Blacksmith Anvil Forging A StarLight Beams & LasersHard24 cmds
▶Tesseract Hypercube Laser UnfoldingLight Beams & LasersExpert20 cmds
▶Holographic Solar Eclipse Corona BurstFirework ShowsExpert24 cmds
▶Levitating Tarot Deck Arcana Light ProjectionLight Beams & LasersHard23 cmds
▶Mechanical Astrological Zodiac WheelLight Beams & LasersHard21 cmds
▶Quantum Particle Collider Ring DetonationLight Beams & LasersHard25 cmds