Solar Eclipse Corona Alignment

Summon a floating magma sun above a dark ritual altar as a blackstone moon drifts into total eclipse alignment, unleashing a fiery solar corona.

Java EditionMagic & SpellsMedium24 commandsTested on a real 26.2 & 26.3 server
Magma sun eclipsed above an obsidian altar Download the GIF Video & GIF © www.9minecraft.net

Dark & Shadow MagicSpaceFireDarkOrangeBlackBlueCinematicBoss FightMap MakingBlock displaysArmor standsRiding & passengersBlock building (fill/setblock/clone)SoundsRotation math21+ commands

High above an obsidian and crying obsidian ritual altar, a multi-faceted sun made of glowing magma blocks burns in the night sky while an acolyte channels dark magic from below. A multi-layered sphere of blackstone slowly drifts across the sun until the two celestial bodies lock into total alignment.

The moment the eclipse aligns, a bright ring of orange and gold corona fire erupts around the blackstone silhouette, sending magical energy beams down toward the altar before the moon continues its orbit.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 obsidian
  3. /fill ~-1 ~-1 ~-1 ~1 ~-1 ~1 crying_obsidian
  4. /setblock ~-3 ~ ~-3 soul_lantern
  5. /setblock ~3 ~ ~-3 soul_lantern
  6. /setblock ~-3 ~ ~3 soul_lantern
  7. /setblock ~3 ~ ~3 soul_lantern
  8. /summon armor_stand ~ ~ ~3.2 {Tags:["c9_all","c9_actor"],NoGravity:1b,ShowArms:1b,Pose:{Head:[-40f,0f,0f],RightArm:[-135f,-20f,0f],LeftArm:[-135f,20f,0f]},equipment:{head:{id:"minecraft:golden_helmet",count:1},chest:{id:"minecraft:netherite_chestplate",count:1},legs:{id:"minecraft:netherite_leggings",count:1},feet:{id:"minecraft:netherite_boots",count:1},mainhand:{id:"minecraft:blaze_rod",count:1},offhand:{id:"minecraft:amethyst_shard",count:1}}}
  9. /summon block_display ~ ~5.5 ~ {Tags:["c9_all","c9_core","c9_sun"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},block_state:{Name:"minecraft:magma_block"},transformation:{translation:[-1.9f,-1.9f,-1.9f],left_rotation:[0f,0f,0f,1f],scale:[3.8f,3.8f,3.8f],right_rotation:[0f,0f,0f,1f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_all","c9_sun"],Glowing:1b,glow_color_override:16744448,brightness:{sky:15,block:15},block_state:{Name:"minecraft:magma_block"},transformation:{translation:[0f,-2.68f,-1.9f],left_rotation:[0f,0f,0.3826834f,0.9238795f],scale:[3.8f,3.8f,3.8f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_all","c9_sun"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},block_state:{Name:"minecraft:shroomlight"},transformation:{translation:[-1.9f,0f,-2.68f],left_rotation:[0.3826834f,0f,0f,0.9238795f],scale:[3.8f,3.8f,3.8f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:marker",Tags:["c9_all","c9_ray"],Rotation:[0f,0f]},{id:"minecraft:marker",Tags:["c9_all","c9_ray"],Rotation:[45f,-35f]},{id:"minecraft:marker",Tags:["c9_all","c9_ray"],Rotation:[90f,0f]},{id:"minecraft:marker",Tags:["c9_all","c9_ray"],Rotation:[135f,35f]}]}
  10. /summon block_display ~-4.5 ~5.5 ~-4.5 {Tags:["c9_all","c9_moon"],Glowing:1b,glow_color_override:11141290,brightness:{sky:15,block:15},block_state:{Name:"minecraft:blackstone"},transformation:{translation:[-1.6f,-1.6f,-1.6f],left_rotation:[0f,0f,0f,1f],scale:[3.2f,3.2f,3.2f],right_rotation:[0f,0f,0f,1f]},Passengers:[{id:"minecraft:block_display",Tags:["c9_all"],Glowing:1b,glow_color_override:5570730,brightness:{sky:15,block:15},block_state:{Name:"minecraft:gilded_blackstone"},transformation:{translation:[0f,-2.26f,-1.6f],left_rotation:[0f,0f,0.3826834f,0.9238795f],scale:[3.2f,3.2f,3.2f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_all"],Glowing:1b,glow_color_override:5570730,brightness:{sky:15,block:15},block_state:{Name:"minecraft:polished_blackstone"},transformation:{translation:[-1.6f,0f,-2.26f],left_rotation:[0.3826834f,0f,0f,0.9238795f],scale:[3.2f,3.2f,3.2f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_all"],Glowing:1b,glow_color_override:11141290,brightness:{sky:15,block:15},block_state:{Name:"minecraft:blackstone"},transformation:{translation:[-2.26f,-1.6f,0f],left_rotation:[0f,0.3826834f,0f,0.9238795f],scale:[3.2f,3.2f,3.2f],right_rotation:[0f,0f,0f,1f]}}]}

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 110.. run scoreboard players set #t c9_t 1
  3. /execute if score #t c9_t matches 1 run tp @e[tag=c9_moon] ~-4.5 ~5.5 ~-4.5
  4. /execute if score #t c9_t matches 2..31 as @e[tag=c9_moon] at @s run tp @s ~0.125 ~ ~0.125
  5. /execute if score #t c9_t matches 32..78 run tp @e[tag=c9_moon] ~-0.75 ~5.5 ~-0.75
  6. /execute if score #t c9_t matches 79..108 as @e[tag=c9_moon] at @s run tp @s ~0.125 ~ ~0.125
  7. /execute at @e[tag=c9_core] run particle flame ~ ~ ~ 1.5 1.5 1.5 0.02 6 force
  8. /execute at @e[tag=c9_moon] run particle witch ~ ~ ~ 1.3 1.3 1.3 0.02 6 force
  9. /execute as @e[tag=c9_ray] at @s run tp @s ~ ~ ~ ~14 ~10
  10. /execute if score #t c9_t matches 30..80 as @e[tag=c9_ray] at @s run particle dust_color_transition{from_color:[1.0,0.95,0.3],to_color:[1.0,0.2,0.0],scale:3.0} ^ ^ ^3.1 0.25 0.25 0.25 0 8 force
  11. /execute if score #t c9_t matches 30..80 as @e[tag=c9_ray] at @s run particle dust_color_transition{from_color:[1.0,0.95,0.3],to_color:[1.0,0.2,0.0],scale:3.0} ^ ^ ^-3.1 0.25 0.25 0.25 0 8 force
  12. /execute if score #t c9_t matches 32..78 as @e[tag=c9_ray] at @s run particle soul_fire_flame ^3.4 ^ ^ 0.2 0.2 0.2 0.04 4 force
  13. /execute if score #t c9_t matches 32..78 at @e[tag=c9_actor] run particle portal ~ ~2.2 ~ 0.3 0.8 0.3 0.6 15 force
  14. /execute if score #t c9_t matches 32 at @e[tag=c9_core] run playsound block.end_portal.spawn master @a ~ ~ ~ 0.7 1.4

How it works

Frames from the test run

Solar Eclipse Corona Alignment - frame 1Solar Eclipse Corona Alignment - frame 2Solar Eclipse Corona Alignment - frame 3

Recorded on our own test server: 50 frames at about 9.9 fps. Our image check saw: A faceted magma sun floats above an obsidian altar as a dark moon slides across it with corona sparks.

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 and set the time to night so the glowing sun and dark moon contrast strongly.
  2. Run each of the 10 setup commands in chat or in impulse command blocks to build the obsidian ritual altar, summon the acolyte, and create the celestial spheres.
  3. Place 14 repeating command blocks (or 1 repeating command block leading into 13 chain command blocks), all set to Always Active.
  4. Paste each loop command in order into the command blocks.
  5. Watch the blackstone sphere glide across the magma sun, pause in total eclipse alignment while the fiery corona erupts, and continue its orbit.

Use it with real players

To let a real player channel the eclipse instead of the armor stand, remove setup command 8 and trigger the loop only while a player holds an Amethyst Shard by adding execute if entity @a[nbt={SelectedItem:{id:"minecraft:amethyst_shard"}}] run ... to the timer command, and change @e[tag=c9_actor] in loop command 13 to @a[nbt={SelectedItem:{id:"minecraft:amethyst_shard"}}].

Remove it again 4 commands

  1. /kill @e[tag=c9_all]
  2. /scoreboard objectives remove c9_t
  3. /fill ~-3 ~ ~-3 ~3 ~ ~3 air
  4. /fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 grass_block

FAQ

Why does the blackstone sphere move smoothly across the sun?

The root block_display entity is teleported in small 0.125-block steps every tick along a diagonal path while carrying its rotated passenger facets with it.

Can I make the eclipse stay aligned permanently?

Yes! Set the scoreboard timer to 50 with /scoreboard players set #t c9_t 50 and disable the first loop command so the timer stays locked inside the alignment window.

Commands used

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

Similar creations

Join 9Minecraft News & Guides