Celestial Pendulum Cloud Sweeper

Summon a giant golden pendulum from a starry rift in the sky that swings back and forth, parting volumetric storm clouds and dropping time-frozen raindrops.

Java EditionSky & WeatherExpert24 commandsTested on a real 26.2 & 26.3 server
A glowing golden pendulum with a diamond blade swings through starry night particles in Minecraft. Download the GIF Video & GIF © www.9minecraft.net

Clouds & WeatherSpaceMysticWaterGoldCyanBlueCinematicDecorationMap MakingBlock displaysSmooth animation (interpolation)Riding & passengersRotation math21+ commands

High above the ground, a glowing starry rift tears open the night sky. From its core hangs a colossal golden pendulum, its blade tipping a solid diamond point that swings rhythmically across the stage. As it sweeps through the air, it physically parts a blanket of dense storm clouds and shakes loose glowing cyan raindrops that freeze mid-fall before shattering on the ground.

This creation uses hierarchical block_display entities with quaternion interpolation for smooth pendulum physics, combined with dynamic distance checks that push floating cloud markers out of the blade's path and pull them back together in its wake.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /summon marker ~ ~22 ~ {Tags:["c9_e","c9_rift"]}
  3. /summon block_display ~ ~22 ~ {Tags:["c9_e","c9_pend"],Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},teleport_duration:2,transformation:{translation:[-0.2f,-14.0f,-0.2f],left_rotation:[0f,0f,0f,1f],scale:[0.4f,14.0f,0.4f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:gold_block"},Passengers:[{id:"minecraft:block_display",Tags:["c9_e"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},transformation:{translation:[-1.8f,-15.5f,-0.4f],left_rotation:[0f,0f,0f,1f],scale:[3.6f,2.5f,0.8f],right_rotation:[0f,0f,0f,1f]},block_state:{Name:"minecraft:raw_gold_block"}},{id:"minecraft:block_display",Tags:["c9_e"],Glowing:1b,glow_color_override:5636095,brightness:{sky:15,block:15},transformation:{translation:[-1.2f,-16.8f,-0.5f],left_rotation:[0f,0f,0f,1f],scale:[2.4f,2.4f,1.0f],right_rotation:[0f,0f,0.3826834f,0.9238795f]},block_state:{Name:"minecraft:diamond_block"}}]}
  4. /summon marker ~ ~5.5 ~ {Tags:["c9_e","c9_tip"]}
  5. /summon marker ~-12 ~6.5 ~ {Tags:["c9_e","c9_cloud"]}
  6. /summon marker ~-8 ~6.2 ~ {Tags:["c9_e","c9_cloud"]}
  7. /summon marker ~-4 ~6.0 ~ {Tags:["c9_e","c9_cloud"]}
  8. /summon marker ~ ~5.8 ~ {Tags:["c9_e","c9_cloud"]}
  9. /summon marker ~4 ~6.0 ~ {Tags:["c9_e","c9_cloud"]}
  10. /summon marker ~8 ~6.2 ~ {Tags:["c9_e","c9_cloud"]}

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /scoreboard players add #t c9_t 1
  2. /execute if score #t c9_t matches 80.. run scoreboard players set #t c9_t 0
  3. /execute if score #t c9_t matches 1 as @e[tag=c9_pend] run data merge entity @s {start_interpolation:0,interpolation_duration:40,transformation:{left_rotation:[0f,0f,0.4226183f,0.9063078f]}}
  4. /execute if score #t c9_t matches 41 as @e[tag=c9_pend] run data merge entity @s {start_interpolation:0,interpolation_duration:40,transformation:{left_rotation:[0f,0f,-0.4226183f,0.9063078f]}}
  5. /execute if score #t c9_t matches 1..40 as @e[tag=c9_pend] at @s rotated ~ 0 run tp @s ~ ~ ~ ~2.25 0
  6. /execute if score #t c9_t matches 41..80 as @e[tag=c9_pend] at @s rotated ~ 0 run tp @s ~ ~ ~ ~-2.25 0
  7. /execute at @e[tag=c9_pend] rotated ~ 0 run tp @e[tag=c9_tip,limit=1] ^14 ^-9.5 ^
  8. /execute at @e[tag=c9_rift] run particle portal ~ ~ ~ 4.5 0.3 1.2 0.2 25 force
  9. /execute at @e[tag=c9_rift] run particle end_rod ~ ~ ~ 3.5 0.2 0.6 0.02 4 force
  10. /execute at @e[tag=c9_tip] run particle wax_on ~ ~ ~ 0.6 0.6 0.6 0.05 5 force
  11. /execute at @e[tag=c9_tip] as @e[tag=c9_cloud,distance=..5.5] at @s facing entity @e[tag=c9_tip,limit=1] feet rotated ~ 0 run tp @s ^ ^ ^-0.45
  12. /execute as @e[tag=c9_cloud] at @s unless entity @e[tag=c9_tip,distance=..6] run tp @s ~ ~ ~0.95
  13. /execute at @e[tag=c9_cloud] run particle campfire_cosy_smoke ~ ~ ~ 1.6 0.4 0.9 0.002 3 force
  14. /execute at @e[tag=c9_tip] run particle dust{color:[0.3,0.85,1.0],scale:1.6} ~ ~-2.5 ~ 2.5 2.0 0.8 0 6 force

How it works

Frames from the test run

Celestial Pendulum Cloud Sweeper - frame 1Celestial Pendulum Cloud Sweeper - frame 2Celestial Pendulum Cloud Sweeper - frame 3

Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A golden rod pendulum with a glowing cyan blade and diamond block swings in the night sky amid blue and orange star particles.

Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.

Build it in your world

  1. Stand at the center of a flat open area with at least 25 blocks of clear sky above you.
  2. Run each of the 10 Setup commands in chat once to build the scoreboard, the sky rift, the three-piece golden pendulum, and the row of storm cloud markers.
  3. Place a line of 14 command blocks on the ground near the center.
  4. Set the first command block to Repeat, Unconditional, and Always Active, and set the other 13 pointing in a chain as Chain, Unconditional, and Always Active.
  5. Paste the 14 Loop commands in order into the command blocks. Wrap positional commands with <code>execute positioned X Y Z run ...</code> if your command blocks are not directly at the stage center.
  6. Set the time to night (<code>/time set midnight</code>) to see the glowing gold pendulum and cyan frozen raindrops clearly against the dark sky.

Use it with real players

To let players summon the Celestial Pendulum around themselves during gameplay, replace the fixed stage coordinates with an execute at @a[tag=celestial_caster] wrapper on the setup and loop commands, and trigger the setup when a player holds a custom clock item such as clock[custom_data={celestial_pendulum:1b}].

Remove it again 2 commands

  1. /kill @e[tag=c9_e]
  2. /scoreboard objectives remove c9_t

FAQ

Why does the pendulum swing smoothly instead of teleporting in steps?

The root block_display entity uses built-in transformation interpolation (interpolation_duration set to 40 ticks). Minecraft's client smoothly interpolates the quaternion rotation between +50 degrees and -50 degrees over 2 seconds at full frame rate.

Can I make the pendulum swing faster or wider?

Yes. Lower the 80-tick cycle and 40-tick interpolation_duration in the first four loop commands to make it swing faster, or adjust the Z and W components of left_rotation to change the swing angle.

Commands used

/data/execute/particle/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides