FoxGlow
Add realistic glow effects to Minecraft! This mod makes foxes and players emit light after consuming glow berries and other special items. This functionality should have been in the vanilla game long ago, but now you can get it through this simple and elegant solution.

Configuration and Management
For Fabric Version
You can adjust the glow effect duration using the game rule foxGlowDuration. Simply specify the duration in seconds (without decimals).
/gamerule foxGlowDuration <duration>
Example for 2 seconds:
/gamerule foxGlowDuration 2
To enable or disable the effect for players, use the rule doPlayersGlow. Value true activates the effect, false - disables it. Enabled by default.
/gamerule doPlayersGlow <true/false>
Example of disabling:
/gamerule doPlayersGlow false
Also available are custom glow color settings through customColorGlow (determines if the effect should have a custom color) and customColorGlow (determines if the custom color should be random). These features require ColoredGlowLib installation.
Adding Items for Glow Effect
To add an item to the list that triggers glow when consumed:
/foxglow addGlowFood <item>
Where <item> is the item identifier. For example, for golden apples:
/foxglow addGlowFood minecraft:golden_apple
Important: The system supports items from other mods! If you have a mod that adds glow berry juice or similar items, you can easily add them to the list.
For developers: use the method FoxGlow.addGlowFood(Item item) to add your mod's items by default.
Removing items from the list:
/foxglow removeGlowFood <item>
For Forge Version
Configuration is similar to Fabric but uses commands:
/foxglow set <rule> <value>
/foxglow get <rule>
Example setting glow duration to 100 seconds:
/foxglow set foxglowDuration 100
Commands for adding and removing items are identical to the Fabric version.
Installation
Simply place the mod file in the mods folder along with Fabric API. For custom glow colors, install ColoredGlowLib. The mod can be installed only on the server - client installation is not required.

License
The mod is distributed under the MIT license.
Video Materials
We recommend watching YouTube video reviews for better understanding of the mod's functionality.
For Modpack Creators
You can freely use this mod in your packs without direct permission, but we ask for attribution. We'd also be happy if you share information about including the mod in your pack - we're interested to see the results!