NaNny (Fix NaN Health / Absorption)
Modby qther
A Minecraft Neo/Forge mod that cleans up after mods that set entities' health and/or absorption to NaN.
Type
Mod
CurseForge Downloads
0
CurseForge ID
634392
Modrinth Downloads
0
Modrinth ID
6EpIGT2g
Last Updated
Apr 12, 2026
Description
NaNny
Because some mods can't keep their floats in control.
NaNny is a Minecraft Neo/Forge mod that cleans up after mods that set entities' 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
- LivingHurtEvent
NaNny 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 entities' health to NaN (Default true)
Compatibility
Mod Loaders
Game Versions
Similar Mods
Origins: Legacy
Unofficial forward port of Origins 1.20.1 up to the latest version of Minecraft.
Beautified Chat [Server]
💬 A highly configurable mod to change the style and colour of chat messages server-wide.
Glowstone Dust Recipe
adds a simple recipe for glowstone dust
Easy Mob Spawn Control - edit spawn rate & mob cap, disable mobs
Quickly adjust spawn rate, ban mobs or change mob limit with in-game menu
HexDebug
A Hex Casting addon for debugging and editing hexes.
Mouse Key Inventory Fix
Fixes the almost ten-year-old issue with mouse key binds not working in inventories
Included in Modpacks
Better MC [FORGE] - BMC4
Asai Integrated Modpack