Перейти к содержимому
Mineforgian

FoxGlow

Makes foxes and players glow when they eat glow berries or other glowy items!

11K загрузок51 подписчиковMITfabricforgequilt

Обновлён 27 марта 2025 г. · опубликован 7 февраля 2022 г.

foxglow_with_foxes_optimized

fabric forge quilt kofi-singular-alt try-cgl

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!

foxglow

nodecraft 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 is the namespace of something, for example to make Golden Apples a "glowfood" you will do this: /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.

fox1

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.

ko-fi

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)

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.8.0Релиз1.21.2, 1.21.3, 1.21.4, 1.21.5fabric, quilt27 марта 2025 г.Скачать (54 КБ)
1.7.1+fabric_1.21Релиз1.21, 1.21.1fabric22 июня 2024 г.Скачать (56 КБ)
1.7.0+fabric_1.20.4Релиз1.20.3, 1.20.4fabric, quilt20 февраля 2024 г.Скачать (56 КБ)
1.6.1+fabric1.20.4Релиз1.20.1, 1.20.2, 1.20.3, 1.20.4fabric, quilt8 декабря 2023 г.Скачать (58 КБ)
1.6.0+fabric1.20.1Релиз1.20, 1.20.1fabric29 августа 2023 г.Скачать (58 КБ)
1.5.0+forgeБета1.19, 1.19.1, 1.19.2forge20 октября 2022 г.Скачать (60 КБ)
1.5.0Релиз1.19, 1.19.1, 1.19.2fabric, quilt20 октября 2022 г.Скачать (58 КБ)
1.4.0Релиз1.18.1, 1.18.2, 1.19, 1.19.1fabric, quilt29 июля 2022 г.Скачать (43 КБ)
1.2.2Релиз1.17.1, 1.18, 1.18.1, 1.18.2fabric27 марта 2022 г.Скачать (90 КБ)
1.2.4Релиз1.17.1, 1.18, 1.18.1, 1.18.2fabric26 марта 2022 г.Скачать (87 КБ)
1.2.3Релиз1.17.1, 1.18.1, 1.18.2fabric19 марта 2022 г.Скачать (74 КБ)
1.2.0Релиз1.17.1, 1.18.1fabric23 февраля 2022 г.Скачать (49 КБ)
1.1.0Релиз1.17.1, 1.18.1fabric13 февраля 2022 г.Скачать (39 КБ)
1.0.5Релиз1.17.1, 1.18.1fabric11 февраля 2022 г.Скачать (37 КБ)
1.0.3Релиз1.17.1, 1.18.1fabric10 февраля 2022 г.Скачать (37 КБ)

Показаны последние 15 из 18 версий.

Ченджлог

1.8.0Релиз1.21.3, 1.21.4, 1.21.5 · 27 марта 2025 г.
  • Updated to 1.21.2-1.21.5
  • The gamerule doPlayersGlowhas been replaced with doesEveryonGlow, since other non-player and non-fox entities could eat glow berries and glow
1.7.1+fabric_1.21Релиз1.21, 1.21.1 · 22 июня 2024 г.

Updated to 1.21, moved a few info log messages to debug logging

1.7.0+fabric_1.20.4Релиз1.20.3, 1.20.4 · 20 февраля 2024 г.
  • Updated to ColoredGlowLib 3.0.0
  • Now Snow Foxes glow a snow-white color instead of orange!
1.6.1+fabric1.20.4Релиз1.20.2, 1.20.3, 1.20.4 · 8 декабря 2023 г.
  • Updated to 1.20.4
1.6.0+fabric1.20.1Релиз1.20, 1.20.1 · 29 августа 2023 г.

Updated to 1.20.1!

  • The forge version will be delayed, if it's going to come out
1.5.0+forgeБета1.19, 1.19.1, 1.19.2 · 20 октября 2022 г.

FORGE VERSION Yay a new update after MONTHS! Yes I know, sorry I was busy on other stuff. Anyway here's the list of changes:

  • Now supports FORGE! (It kinda was a pain, yay!...)
  • Added support for other items to be glow foods, aka a way to make any food, even from other mods something that when eaten can make the players glow!
  • Add the /foxglow command and subcommands!
  • To add an item as a glow food item use /foxglow addGlowFood
  • To remove an item, /foxglow removeGlowFood
  • This can be also done from directly from other mods code, using FoxGlow.addGlowFood(Item item)
  • Updated to the latest ColoredGlowLib version, so that is now a soft-dependency, meaning that you can go ahed and install this mod without it, although some stuff (the colored glow effect for example) won't work, so I'd suggest keeping that around!
  • Since forge, is forge, no "proper" gamerules, meaning you will need to use /foxglow config set
1.5.0Релиз1.19, 1.19.1, 1.19.2 · 20 октября 2022 г.

FABRIC VERSION Yay a new update after MONTHS! Yes I know, sorry I was busy on other stuff. Anyway here's the list of changes:

  • Now supports forge! Check out the other 1.50 [FORGE] version for that!
  • Added support for other items to be glow foods, aka a way to make any food, even from other mods something that when eaten can make the players glow!
  • Add the /foxglow command and subcommands!
  • To add an item as a glow food item use /foxglow addGlowFood
  • To remove an item, /foxglow removeGlowFood
  • This can be also done from directly from other mods code, using FoxGlow.addGlowFood(Item item)
  • Updated to the latest ColoredGlowLib version, so that is now a soft-dependency, meaning that you can go ahed and install this mod without it, although some stuff (the colored glow effect for example) won't work, so I'd suggest keeping that around!
  • Properly updated to 1.19.2
1.4.0Релиз1.18.2, 1.19, 1.19.1 · 29 июля 2022 г.

Updated to 1.19.1!

Комментарии

Загружаем…