Blazing Twin-Tailed Comet Sky Flyby

An icy glowing comet streaks across the night sky, trailing a sweeping blue plasma ion stream and a curved curtain of glittering golden stardust.

Java EditionSky & WeatherHardTested on a real 26.2 & 26.3 server
A glowing blue comet arcs across a Minecraft night sky with golden and cyan particle tails. Download the GIF

A glowing blue_ice comet nucleus dives in a smooth arc across the night sky, surrounded by a frosty coma of drifting snowflakes. As it swings past the centre of the stage, two distinct tails fan out behind it: a straight cyan-blue ion stream and a wide, curved curtain of warm golden stardust.

The effect uses a hidden virtual solar anchor marker so the ion stream always sweeps away from the sun while dust markers drift slowly along the curved wake, recreating real comet tail geometry in vanilla commands.

1. Setup - type these once 5 commands

  1. /scoreboard objectives add c9_tick dummy
  2. /scoreboard objectives add c9_age dummy
  3. /summon marker ~ ~ ~ {Tags:["c9_ctrl"]}
  4. /summon marker ~-4 ~3 ~-14 {Tags:["c9_sun"]}
  5. /scoreboard players set @e[tag=c9_ctrl] c9_tick 0

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

  1. /scoreboard players add @e[tag=c9_ctrl] c9_tick 1
  2. /execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 95.. run scoreboard players set @e[tag=c9_ctrl] c9_tick 0
  3. /execute if score @e[tag=c9_ctrl,limit=1] c9_tick matches 1 run summon block_display ~-11 ~14 ~-7.5 {Tags:["c9_core","c9_life"],Rotation:[-45f,38f],block_state:{Name:"minecraft:blue_ice"},Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},teleport_duration:2,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.425f,-0.425f,-0.675f],scale:[0.85f,0.85f,1.35f]}}
  4. /execute as @e[tag=c9_core] at @s run tp @s ^ ^ ^0.33 ~-0.55 ~-0.95
  5. /execute at @e[tag=c9_core] run particle snowflake ~ ~ ~ 0.45 0.45 0.45 0.03 8 force
  6. /execute at @e[tag=c9_core] facing entity @e[tag=c9_sun,limit=1] feet positioned ^ ^ ^-1.8 run particle dust{color:[0.30,0.90,1.0],scale:2.2} ~ ~ ~ 0.4 0.4 0.4 0 10 force
  7. /execute at @e[tag=c9_core] facing entity @e[tag=c9_sun,limit=1] feet positioned ^ ^ ^-4.6 run particle dust{color:[0.12,0.58,1.0],scale:1.7} ~ ~ ~ 0.45 0.45 0.45 0 9 force
  8. /execute at @e[tag=c9_core] facing entity @e[tag=c9_sun,limit=1] feet positioned ^ ^ ^-7.6 run particle soul_fire_flame ~ ~ ~ 0.5 0.5 0.5 0.02 7 force
  9. /execute at @e[tag=c9_core] run summon marker ~ ~ ~ {Tags:["c9_dust","c9_life"]}
  10. /execute as @e[tag=c9_dust] at @s facing entity @e[tag=c9_sun,limit=1] feet run tp @s ^ ^-0.015 ^-0.06
  11. /execute at @e[tag=c9_dust] run particle dust{color:[1.0,0.80,0.20],scale:1.35} ~ ~ ~ 0.35 0.35 0.35 0 2 force
  12. /execute at @e[tag=c9_dust] run particle end_rod ~ ~ ~ 0.45 0.45 0.45 0.004 1 force
  13. /scoreboard players add @e[tag=c9_life] c9_age 1
  14. /kill @e[tag=c9_life,scores={c9_age=84..}]

How it works

Frames from the test run

Blazing Twin-Tailed Comet Sky Flyby - frame 1Blazing Twin-Tailed Comet Sky Flyby - frame 2Blazing Twin-Tailed Comet Sky Flyby - frame 3

Recorded on our own test server: 49 frames at about 9.8 fps. Our image check saw: A glowing cyan-outlined ice block arcs across the night sky, leaving a wide curved trail of golden-white particles alongside drifting blue snowflakes and upward-sweeping cyan flame particles.

Build it in your world

  1. Find an open flat area with clear sky above it and set the time to night for the best contrast.
  2. Stand at the centre of your area and run each of the 5 setup commands once in chat.
  3. Place 14 repeating command blocks in a row, set every block to Always Active, and paste one loop command into each block in order.
  4. If the command blocks are far from the centre of your viewing area, wrap the loop commands with execute positioned X Y Z run so the comet flies over your stage.
  5. Step back a short distance and watch the comet sweep across the sky every few seconds.

Use it with real players

To trigger the comet on demand instead of on an automatic timer, remove the first two loop commands and run /scoreboard players set @e[tag=c9_ctrl] c9_tick 1 from a button, pressure plate, or custom item advancement whenever a player summons the flyby, or move c9_sun to a player with /tp @e[tag=c9_sun] @p so the tails always sweep away from where you stand.

Remove it again 5 commands

  1. /kill @e[tag=c9_ctrl]
  2. /kill @e[tag=c9_sun]
  3. /kill @e[tag=c9_life]
  4. /scoreboard objectives remove c9_tick
  5. /scoreboard objectives remove c9_age

FAQ

Why does the blue ion tail point in a different direction than the golden stardust tail?

Real comets form two tails: lightweight ionized gas is pushed straight away from the sun by solar wind, while heavier golden dust lags along the comet's curved path and drifts outward more slowly.

Can I adjust how high the comet flies above the ground?

Yes. Change the Y coordinate (~14) in the third loop command to raise or lower the starting altitude, and adjust c9_sun's Y coordinate (~3) in the fourth setup command to match.

Commands used

/execute/kill/particle/scoreboard/summon/tp

More sky & weather