NaNny
by Qther
With NaNny installed on a server, entities whose health or absorption has been set to a non-number value by other mods get cleaned up as the events fire.
What it does
NaNny hooks into the living entity damage, attack, heal and hurt events. When an event would leave an entity with an invalid health or absorption value, the mod cancels the event and can set the entity's health to a configured percentage of its maximum instead. Logging of these cases can be switched on or off in the configuration file.
The mod runs on the server only, so players connecting to it need nothing installed. It is built for Forge and NeoForge, with builds covering 1.16.5 – 26.1.2, and the code is open source under the GNU General Public License v3.0 only. Source code and an issue tracker are linked from the project page.
Key features
Damage event filtering
Attack and damage events that would leave an entity's health invalid are cancelled before they take effect.
Optional healing
A setting decides whether an affected entity is healed, and the target health is a percentage of its maximum.
Event logging
Cases where an entity was left with an invalid value can be written to the log, which helps identify the source.
Configuration file
Three options control healing, the target health percentage and logging, with defaults of true, the full maximum and true.
Compatibility
Latest build for each game version and loader.
26.x3 of 3 versions with builds
1.21.x2 of 2 versions with builds
1.20.x3 of 3 versions with builds
1.19.x4 of 4 versions with builds
1.18.x3 of 3 versions with builds
1.16.x1 of 1 version with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Server maintenance
Server owners running packs with many mods can stop invalid health values from spreading across entities without removing the mods that produce them.
Who it’s for: Server owners and modpack maintainers who run Forge or NeoForge servers and see entities behaving incorrectly because of invalid health or absorption values.
Questions
Does NaNny need to be installed on clients?
Which loaders does NaNny support?
What does the healing option change?
Can the logging be turned off?
In the catalog
NaNny is one of 8,016 Management mods on ModsFinder, and one of 2,698 Management mods for Forge. 15,189 mods support Minecraft 26.1.2.
More from Qther
Similar mods
What the author says
NaNny is a Minecraft Neo/Forge mod that cleans up after mods that set entitys' health and/or absorption to NaN. NaNny creates a TOML configuration file in world/serverconfig/nanny-server.toml
Official listing
- Modrinth page
- modrinth.com/mod/nanny
- Owner
- Qther
- Published
- 2023-01-08
- Updated on Modrinth
- 2026-06-03
- Facts verified
- 2026-10-15
