
FoxGlow
Makes foxes and players glow when they eat glow berries or other glowy items!
About this Mod
This mod makes foxes and players glow when they eat Glow Berries, or other items that should make the player glow! Simple right? This should be in vanilla, anyway you can have it this way now!

The best way to enjoy this mod is with other people on a server, so you can use the code EMALIGHTDEV on Nodecraft for discount!
Configuration
Fabric
You can adjust the duration of the glow effect using the gamerule foxGlowDuration. It takes one parameter which is the duration in seconds. (Without decimals)
/gamerule foxGlowDuration <duration>
For example, 2 seconds would be/gamerule foxGlowDuration 2
You can toggle the effect for players using doPlayersGlow. The value true will enable the effect, false will disable it. It is active by default.
/gamerule doPlayersGlow <true/false>
For example, to disable the effect/gamerule doPlayersGlow false
Similar to this one, there also are the customColorGlow which determines weather or not they glow effect should have a custom color, and customColorGlow which determines weather the custom colored above should be random or not. (both of which require ColoredGlowLib to work)
To add an item to the list of items that can make foxes/player glow when eaten you will need to use the commmand:
/foxglow addGlowFood <item>
Where /foxglow addGlowFood minecraft:golden_apple
The cool thing is that it support other mod's items as well!!!, so if you have a mod that adds a Glow Berry juice or something, you can add it like that!
On this note, if you are a developer, you can use the FoxGlow.addGlowFood(Item item) method to add your mod's items by default. (Javadocs are present in the code)
The remove the items, you can use /foxglow removeGlowFood <item>, same thing for devs: FoxGlow.removeGlowFood(Item item)
Forge
It's the same as on fabric but you have to use the /foxglow set <gamerule> <value> and /foxglow get <gamerule> for the gamerules, because working with gamerules with forge is kind of a mess, at least for now.
For example, to set the foxglowDuration rule to 100, you will need to do this:
/foxglow set foxglowDuration 100
(The adding items to the list of items that can make foxes/player glow when eaten is exactly the same so scroll above)
Also, as side note there also are some localizations of the gamerules in the World Creation screen.
Setup
Just drop it inside your mods folder alongside Fabric API.
If you want to custom glow colors, install ColoredGlowLib
Also this mod can be installed only on the server if you wish, you don't necesserly need it on the client.

License
This mod is available under the MIT License.
Support me
This really is a stupidly simple mod, but still, if you would like to offer me a coffee, here you go.
Thanks to JustFoxx, Dqu1J for translations
For modpack devs: You are permitted to use this mod without directly asking, but please credit me somewhere, it would help! (Also, i'm kind of a curios person so maybe send me a message when you include it into your modpack and i'd like to check it out)
Available Versions
How to Install FoxGlow on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.5).
Install Mod
Open the mod browser in the dashboard and search for "FoxGlow". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.5, 1.21.4, 1.21.3 (+16 more)
Server-side
~ OptionalRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
FoxGlow server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.5). You can switch loaders with one click in the panel.
Is FoxGlow compatible with fabric and forge and quilt?
FoxGlow officially supports fabric, forge, quilt for Minecraft 1.21.5, 1.21.4, 1.21.3. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with FoxGlow – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if FoxGlow consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install FoxGlow with just one click on your server.