Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vonr/nanny
A Minecraft Forge mod that cleans up after mods that set entitys' health and/or absorption to NaN.
https://github.com/vonr/nanny
Last synced: about 1 month ago
JSON representation
A Minecraft Forge mod that cleans up after mods that set entitys' health and/or absorption to NaN.
- Host: GitHub
- URL: https://github.com/vonr/nanny
- Owner: Vonr
- License: gpl-3.0
- Created: 2022-06-17T12:36:35.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-16T14:20:55.000Z (4 months ago)
- Last Synced: 2024-09-17T17:05:41.575Z (4 months ago)
- Language: Java
- Homepage:
- Size: 108 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NaNny
## Because some mods can't keep their floats in control.
NaNny is a Minecraft 1.16.5 Forge mod that cleans up after mods that set entitys' health and/or absorption to NaN.
This is accomplished by hooking into the following events and cancelling and optionally healing the affected entities:
- LivingAttackEvent
- LivingDamageEvent
- LivingHealEvent
- LivingHurtEventNaNny creates a TOML configuration file in `world/serverconfig/nanny-server.toml`
The configuration file has the following options at present:
- doHeal - Enable setting the health of an entity when NaN is dealt or healed to them (Default true)
- health - Percentage of max health to set the entity to when NaN dealt or healed to them (Default 1.0)
- log - Whether or not to log events that set entitys' health to NaN (Default true)