Celestial Astrolabe Gyroscopic Alignment

Summon a five-ring brass and sea-lantern astrolabe above an altar that tumbles across 3D axes before locking into alignment to fire a celestial beam.

Java EditionMagic & SpellsExpert24 commandsTested on a real 26.2 & 26.3 server
Nested glowing octagonal rings rotate like a gyroscope above a dark stone altar at night. Download the GIF Video & GIF © www.9minecraft.net

Time & Space MagicSpaceMysticTechnologyGoldCyanBlackDecorationCinematicBoss FightBlock displaysSmooth animation (interpolation)Riding & passengersBlock building (fill/setblock/clone)SoundsRotation math21+ commands

The Celestial Astrolabe is an arcane gyroscope constructed from five nested brass, gold, and sea-lantern octagonal rings floating above an obsidian and blackstone altar. Using quaternion transformations mixed with entity yaw and pitch rotations, each octagonal ring tumbles independently along its own 3D axis while golden sparks trace its path.

Every eight seconds, the tumbling rings smoothly decelerate and snap into a flat horizontal alignment. Once locked together, the core charges and fires a vertical pillar of celestial light and sonic energy straight into the night sky.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_tick dummy
  2. /fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 chiseled_polished_blackstone
  3. /fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 crying_obsidian
  4. /setblock ~ ~-1 ~ sea_lantern
  5. /summon block_display ~ ~7.5 ~ {Tags:["c9_a","c9_core"],Glowing:1b,glow_color_override:65535,teleport_duration:2,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.7f,-0.7f,-0.7f],scale:[1.4f,1.4f,1.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[0f,-0.95f,-0.95f],scale:[1.35f,1.35f,1.35f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0.3826834f,0.9238795f]}}]}
  6. /summon block_display ~ ~7.5 ~ {Tags:["c9_a","c9_r","c9_r1"],Glowing:1b,glow_color_override:16755200,teleport_duration:2,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-0.25f,-2.2f,-0.9f],scale:[0.5f,0.4f,1.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-0.25f,1.8f,-0.9f],scale:[0.5f,0.4f,1.8f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-0.25f,-0.9f,-2.2f],scale:[0.5f,1.8f,0.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-0.25f,-0.9f,1.8f],scale:[0.5f,1.8f,0.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,-0.92f,-2.2f],scale:[0.5f,0.4f,1.8f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,1.91f,0.63f],scale:[0.5f,0.4f,1.8f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,-2.2f,0.92f],scale:[0.5f,1.8f,0.4f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,0.63f,-1.91f],scale:[0.5f,1.8f,0.4f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}}]}
  7. /summon block_display ~ ~7.5 ~ {Tags:["c9_a","c9_r","c9_r2"],Glowing:1b,glow_color_override:16755200,teleport_duration:2,block_state:{Name:"minecraft:raw_gold_block"},transformation:{translation:[-0.25f,-3.1f,-1.3f],scale:[0.5f,0.4f,2.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:raw_gold_block"},transformation:{translation:[-0.25f,2.7f,-1.3f],scale:[0.5f,0.4f,2.6f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:raw_gold_block"},transformation:{translation:[-0.25f,-1.3f,-3.1f],scale:[0.5f,2.6f,0.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:raw_gold_block"},transformation:{translation:[-0.25f,-1.3f,2.7f],scale:[0.5f,2.6f,0.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,-1.27f,-3.11f],scale:[0.5f,0.4f,2.6f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,2.83f,0.99f],scale:[0.5f,0.4f,2.6f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,-3.11f,1.27f],scale:[0.5f,2.6f,0.4f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,0.99f,-2.83f],scale:[0.5f,2.6f,0.4f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}}]}
  8. /summon block_display ~ ~7.5 ~ {Tags:["c9_a","c9_r","c9_r3"],Glowing:1b,glow_color_override:16755200,teleport_duration:2,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-0.25f,-4.0f,-1.7f],scale:[0.5f,0.4f,3.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-0.25f,3.6f,-1.7f],scale:[0.5f,0.4f,3.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-0.25f,-1.7f,-4.0f],scale:[0.5f,3.4f,0.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-0.25f,-1.7f,3.6f],scale:[0.5f,3.4f,0.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,-1.63f,-4.03f],scale:[0.5f,0.4f,3.4f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,3.75f,1.34f],scale:[0.5f,0.4f,3.4f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,-4.03f,1.63f],scale:[0.5f,3.4f,0.4f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,1.34f,-3.75f],scale:[0.5f,3.4f,0.4f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}}]}
  9. /summon block_display ~ ~7.5 ~ {Tags:["c9_a","c9_r","c9_r4"],Glowing:1b,glow_color_override:16755200,teleport_duration:2,block_state:{Name:"minecraft:copper_block"},transformation:{translation:[-0.25f,-4.9f,-2.1f],scale:[0.5f,0.4f,4.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:copper_block"},transformation:{translation:[-0.25f,4.5f,-2.1f],scale:[0.5f,0.4f,4.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:copper_block"},transformation:{translation:[-0.25f,-2.1f,-4.9f],scale:[0.5f,4.2f,0.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:copper_block"},transformation:{translation:[-0.25f,-2.1f,4.5f],scale:[0.5f,4.2f,0.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,-1.98f,-4.95f],scale:[0.5f,0.4f,4.2f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,4.67f,1.70f],scale:[0.5f,0.4f,4.2f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,-4.95f,1.98f],scale:[0.5f,4.2f,0.4f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,1.70f,-4.67f],scale:[0.5f,4.2f,0.4f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}}]}
  10. /summon block_display ~ ~7.5 ~ {Tags:["c9_a","c9_r","c9_r5"],Glowing:1b,glow_color_override:16755200,teleport_duration:2,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-0.25f,-5.8f,-2.5f],scale:[0.5f,0.4f,5.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-0.25f,5.4f,-2.5f],scale:[0.5f,0.4f,5.0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-0.25f,-2.5f,-5.8f],scale:[0.5f,5.0f,0.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-0.25f,-2.5f,5.4f],scale:[0.5f,5.0f,0.4f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,-2.33f,-5.87f],scale:[0.5f,0.4f,5.0f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,5.59f,2.05f],scale:[0.5f,0.4f,5.0f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,-5.87f,2.33f],scale:[0.5f,5.0f,0.4f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_a"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:sea_lantern"},transformation:{translation:[-0.25f,2.05f,-5.59f],scale:[0.5f,5.0f,0.4f],left_rotation:[0.3826834f,0f,0f,0.9238795f],right_rotation:[0f,0f,0f,1f]}}]}

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

  1. /scoreboard players add #t c9_tick 1
  2. /execute if score #t c9_tick matches 160.. run scoreboard players set #t c9_tick 0
  3. /execute if score #t c9_tick matches 1 as @e[tag=c9_r] run data merge entity @s {teleport_duration:2}
  4. /execute if score #t c9_tick matches 1..99 as @e[tag=c9_r1] at @s run tp @s ~ ~ ~ ~14 ~10
  5. /execute if score #t c9_tick matches 1..99 as @e[tag=c9_r2] at @s run tp @s ~ ~ ~ ~-11 ~12
  6. /execute if score #t c9_tick matches 1..99 as @e[tag=c9_r3] at @s run tp @s ~ ~ ~ ~8 ~-9
  7. /execute if score #t c9_tick matches 1..99 as @e[tag=c9_r4] at @s run tp @s ~ ~ ~ ~-6 ~7
  8. /execute if score #t c9_tick matches 1..99 as @e[tag=c9_r5] at @s run tp @s ~ ~ ~ ~5 ~-5
  9. /execute if score #t c9_tick matches 1..99 run particle dust{color:[1.0,0.8,0.2],scale:1.6} ~ ~7.5 ~ 3.2 3.2 3.2 0 12 force
  10. /execute if score #t c9_tick matches 100 as @e[tag=c9_r] run data merge entity @s {teleport_duration:18}
  11. /execute if score #t c9_tick matches 101 as @e[tag=c9_r] at @s run tp @s ~ ~ ~ 0 0
  12. /execute if score #t c9_tick matches 100..119 run particle end_rod ~ ~7.5 ~ 0.3 3.5 0.3 0.05 20 force
  13. /execute if score #t c9_tick matches 120 run playsound minecraft:block.beacon.activate master @a ~ ~7.5 ~ 3 1.2
  14. /execute if score #t c9_tick matches 120..148 run particle end_rod ~ ~14 ~ 0.4 7.5 0.4 0.02 90 force

How it works

Frames from the test run

Celestial Astrolabe Gyroscopic Alignment - frame 1Celestial Astrolabe Gyroscopic Alignment - frame 2Celestial Astrolabe Gyroscopic Alignment - frame 3

Recorded on our own test server: 57 frames at about 9.4 fps. Our image check saw: Multiple nested octagonal rings made of glowing cyan and gold segments rotate independently in 3D space above a blackstone and crying obsidian pad while emitting golden and white 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. Enable command blocks in your world and switch to Creative mode.
  2. Stand at the center of a flat open area where you want the astrolabe altar to appear.
  3. Run each command from the setup list once in chat or paste them into impulse command blocks.
  4. Place 14 repeating command blocks (or one repeating command block followed by 13 chain command blocks) set to Always Active.
  5. Paste the loop commands in order into the repeating/chain command block line.
  6. Set the time to night (/time set midnight) to see the glowing gold and cyan octagonal rings and the alignment beam.

Use it with real players

To let a player trigger the alignment manually instead of running on an 8-second timer, remove the automatic reset at tick 160 and instead trigger tick 100 when a player holds an item such as a spyglass or clock: /execute if entity @a[distance=..15,nbt={SelectedItem:{id:"minecraft:clock"}}] run scoreboard players set #t c9_tick 100.

Remove it again 3 commands

  1. /kill @e[tag=c9_a]
  2. /scoreboard objectives remove c9_tick
  3. /fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 grass_block

FAQ

Why do the passenger block displays rotate together when only the root entity is teleported?

In Java Edition, block_display entities inherit their yaw and pitch rotation from their vehicle entity when riding as passengers, unless overridden. By building each 8-sided ring as one root block_display with 7 passenger segments, a single /tp rotation command tumbles the entire octagon smoothly.

Can I change the speed or smoothness of the alignment lock?

Yes. Adjust the teleport_duration value in loop command 10 (currently 18 ticks) to control how fast the rings interpolate back to 0 yaw and 0 pitch.

Commands used

/data/execute/fill/particle/playsound/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides