Emerald Firefly Constellation Swarm

Summon a glowing nocturnal swarm of emerald fireflies that rise from the grass and trace bright green trails toward an orbiting sky constellation.

Java EditionSky & WeatherHard24 commandsTested on a real 26.2 & 26.3 server
Glowing green sparks and emerald items drift upward into the night sky over a grassy field. Download the GIF Video & GIF © www.9minecraft.net

Aurora & Sky LightsNatureSpaceMysticGreenYellowDecorationCinematicServer LobbyItem displaysSmooth animation (interpolation)Glowing outlinesRotation math21+ commands

The Emerald Firefly Constellation Swarm transforms a flat field at night into a bright vertical light show. Luminescent green sparks drift up from the grass while physical glowing emerald fireflies spiral into the dark sky, leaving glowing dust and spore trails behind them before vanishing high above.

Hovering above the swarm is a rotating constellation of glowing sea lanterns and emerald blocks. Using display entities with full brightness and custom green glow outlines, the constellation orbits smoothly while showering starlight down onto the rising fireflies.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /summon marker ~ ~11 ~ {Tags:["c9_beast","c9_core"]}
  3. /summon item_display ~ ~11 ~ {Tags:["c9_beast","c9_star"],Glowing:1b,glow_color_override:65380,brightness:{sky:15,block:15},item:{id:"minecraft:sea_lantern",count:1},transformation:{translation:[0.0f,0.0f,0.0f],scale:[0.7f,0.7f,0.7f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  4. /summon item_display ~ ~13 ~4 {Tags:["c9_beast","c9_star","c9_head"],Glowing:1b,glow_color_override:16777045,brightness:{sky:15,block:15},item:{id:"minecraft:emerald_block",count:1},transformation:{translation:[0.0f,0.0f,0.0f],scale:[0.8f,0.8f,0.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  5. /summon item_display ~ ~12 ~2 {Tags:["c9_beast","c9_star"],Glowing:1b,glow_color_override:65380,brightness:{sky:15,block:15},item:{id:"minecraft:emerald_block",count:1},transformation:{translation:[0.0f,0.0f,0.0f],scale:[0.45f,0.45f,0.45f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  6. /summon item_display ~ ~10 ~-2.5 {Tags:["c9_beast","c9_star"],Glowing:1b,glow_color_override:65380,brightness:{sky:15,block:15},item:{id:"minecraft:emerald_block",count:1},transformation:{translation:[0.0f,0.0f,0.0f],scale:[0.45f,0.45f,0.45f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  7. /summon item_display ~ ~9 ~-5 {Tags:["c9_beast","c9_star","c9_tip"],Glowing:1b,glow_color_override:65380,brightness:{sky:15,block:15},item:{id:"minecraft:sea_lantern",count:1},transformation:{translation:[0.0f,0.0f,0.0f],scale:[0.55f,0.55f,0.55f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  8. /summon item_display ~3 ~12.5 ~0.5 {Tags:["c9_beast","c9_star"],Glowing:1b,glow_color_override:65380,brightness:{sky:15,block:15},item:{id:"minecraft:emerald_block",count:1},transformation:{translation:[0.0f,0.0f,0.0f],scale:[0.45f,0.45f,0.45f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  9. /summon item_display ~6 ~14 ~-1.5 {Tags:["c9_beast","c9_star","c9_tip"],Glowing:1b,glow_color_override:16777045,brightness:{sky:15,block:15},item:{id:"minecraft:sea_lantern",count:1},transformation:{translation:[0.0f,0.0f,0.0f],scale:[0.6f,0.6f,0.6f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  10. /summon item_display ~-6 ~14 ~-1.5 {Tags:["c9_beast","c9_star","c9_tip"],Glowing:1b,glow_color_override:16777045,brightness:{sky:15,block:15},item:{id:"minecraft:sea_lantern",count:1},transformation:{translation:[0.0f,0.0f,0.0f],scale:[0.6f,0.6f,0.6f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}

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

  1. /scoreboard players add @e[tag=c9_core] c9_timer 1
  2. /execute as @e[tag=c9_core,scores={c9_timer=11..}] run scoreboard players set @s c9_timer 1
  3. /particle dust{color:[0.1,1.0,0.4],scale:1.4} ~ ~2.5 ~ 8 2.5 8 0 40 force
  4. /particle happy_villager ~ ~5 ~ 7 4 7 0 20 force
  5. /execute if entity @e[tag=c9_core,scores={c9_timer=1}] run summon item_display ~ ~0.5 ~ {Tags:["c9_beast","c9_fly","c9_new"],Glowing:1b,glow_color_override:65380,brightness:{sky:15,block:15},teleport_duration:2,item:{id:"minecraft:emerald",count:1},transformation:{translation:[0.0f,0.0f,0.0f],scale:[0.4f,0.4f,0.4f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}
  6. /execute as @e[tag=c9_new] run spreadplayers ~ ~ 1 9 false @s
  7. /tag @e[tag=c9_new] remove c9_new
  8. /scoreboard players add @e[tag=c9_fly] c9_timer 1
  9. /execute as @e[tag=c9_fly] at @s run tp @s ~ ~0.12 ~ ~14 ~
  10. /execute as @e[tag=c9_fly] at @s run particle dust{color:[0.3,1.0,0.5],scale:1.1} ~ ~ ~ 0.15 0.15 0.15 0 3 force
  11. /kill @e[tag=c9_fly,scores={c9_timer=120..}]
  12. /execute as @e[tag=c9_star] at @s facing ~ ~11 ~ run tp @s ^-0.18 ^ ^ ~3 ~
  13. /execute at @e[tag=c9_star] run particle dust{color:[0.2,1.0,0.6],scale:1.6} ~ ~ ~ 0.3 0.3 0.3 0 4 force
  14. /execute at @e[tag=c9_tip] run particle end_rod ~ ~ ~ 0.1 0.1 0.1 0.02 3 force

How it works

Frames from the test run

Emerald Firefly Constellation Swarm - frame 1Emerald Firefly Constellation Swarm - frame 2Emerald Firefly Constellation Swarm - frame 3

Recorded on our own test server: 47 frames at about 7.8 fps. Our image check saw: Green particles and glowing emerald items rise from a grassy field at night with a constellation of glowing items hovering in the air.

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. Find a flat open area of at least 25x25 blocks and set the time to night with /time set midnight.
  2. Stand at the center of your field and run each of the 10 setup commands in chat to create the scoreboard objective and the sky constellation.
  3. Place 14 repeating command blocks (or 1 repeating command block chained into 13 chain command blocks) near the center of the stage.
  4. Paste the 14 loop commands in order into the command blocks and set all of them to Always Active.
  5. Watch the emerald fireflies spawn across the grass and drift upward toward the rotating constellation.

Use it with real players

To make the firefly swarm follow a player instead of staying at the stage center, replace the stage coordinates in the loop with /execute at @p run ... so that new fireflies scatter around the player and the constellation orbits above their location.

Remove it again 2 commands

  1. /kill @e[tag=c9_beast]
  2. /scoreboard objectives remove c9_timer

FAQ

Will the fireflies lag my world if I leave the command blocks running?

No. A new firefly spawns only once every 10 ticks and is automatically removed after 120 ticks (6 seconds), keeping the total number of active fireflies around 12 at all times.

How do I change the color of the fireflies and their glowing outlines?

Edit the RGB array inside the dust particle commands (for example, color:[0.3,1.0,0.5]) and change the decimal integer in glow_color_override on the item_display summon commands.

Commands used

/execute/kill/particle/scoreboard/spreadplayers/summon/tag/tp

Similar creations

Join 9Minecraft News & Guides