Colorfly (Unofficial) is an unofficial port of Colorfly by feDoran to Fabric 1.20.1, 1.21.1, 26.1.2, 26.2 and 26.3, Forge 1.20.1 and NeoForge 1.21.1, 26.1.2, 26.2 and 26.3. Please report issues with this port on its issue tracker, not to the original author.

Colorfly
Mojang shouldn't have removed fireflies... Why not add them back, but better?
This mod adds the Colorfly, a new and improved Firefly entity for Minecraft. This isn't just a particle but rather a mob built from the ground up focused on ambiance and unique interactions with a Vanilla Minecraft feeling.
Requires Fabric with Fabric API, Forge or NeoForge. GeckoLib is not needed.
FAQ
-- Colorflies will blink depending on the time of day, weather, and nearby non-hostile mobs! Maybe if you are a bit bored you can try to translate what they are saying... hint hint
-- You can capture Colorflies! Right-click them with a glass bottle for safekeeping. Then, whenever you want, craft them into a Colorfly lantern or release them back into the world!
- Colorflies won't despawn naturally if released, like fish or axolotl from buckets. Colorflies can also be given a nametag for the same effect.
- The recipe for a Colorfly lantern is almost the same as a normal lantern or soul lantern. Instead of using a torch, use a Colorfly bottle to craft! Green may not be the only color...
-- Potions of Glowing can be brewed using bottled Colorlies, but... how could you...
-- Colorflies will spawn in semi-large groups in most swamp and forest biomes, so be on the lookout for flowers or places bugs might be to find them! Forests that are dark or have flowers seem to be home to a special Blue Ghost variant...
-- Colorflies don't like Spiders, and Spiders don't like Colorflies. Colorflies also don't like Frogs, but thankfully Frogs couldn't care less.
Screenshots & Gifs




Screenshots & Gifs taken using Complementary Shaders v4
Port notes
This port does not need GeckoLib. The colorfly model and its blink animation are drawn by the mod itself, with the same look and timing as the original.
Spawn biomes, blink signals and recipes are data driven. Datapacks can change which biomes each colorfly spawns in (biome tags color:spawns_greenfly and color:spawns_bluefly), which mobs make them blink (entity tags under color:blink/), and the lantern recipes and loot.
With Slowlight 0.9.5 or later installed, greenfly and bluefly bottles make Gloamwood Firefly Lanterns. A firefly lantern hung over a Slowlight kiln keeps night-only recipes ageing through the day, and mead aged three nights in a kiln turns into Firefly Mead, which gives night vision and a short glow.
Original mod by feDoran, MIT licence. Port by Oculifelis, also MIT. Source: github.com/Oculifelis/Colorfly-Source.