Mineuniverse
Mods
NaNny (Fix NaN Health / Absorption)

NaNny (Fix NaN Health / Absorption)

MOD
A Minecraft Neo/Forge mod that cleans up after mods that set entities' health and/or absorption to NaN.
by qther
Download Claim this project
18,820,453 downloads
0 likes
Updated Oct 14, 2026
0 hypes
Miscellaneous Server Utility Utility & QoL
Advertisement Remove ads with Premium →

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)
1.0.1
MC NeoForge, Server, 26.1, 26.1.1, 26.1.2
Release 2026-06-03 Get
1.0.1
MC NeoForge, 1.21.1
Release 2024-09-16 Get
1.0.1
MC 1.21, NeoForge, Server
Release 2024-06-27 Get
1.0.1
MC Forge, 1.20.4, Server
Release 2024-06-27 Get
1.0.1
MC 1.20.1, Forge, Server
Release 2023-09-28 Get
1.0.1
MC 1.20.2, Forge, Server
Release 2023-09-28 Get
1.0.1
MC 1.19.2, Forge, Server
Release 2023-03-26 Get
1.0.1
MC 1.18.2, Forge, Server
Release 2023-01-01 Get
1.0.1
MC 1.19.3, Forge, Server
Release 2023-01-01 Get
1.0.1
MC 1.16.5, Forge
Release 2022-06-19 Get
1.0.0
MC 1.16.5, Forge
Release 2022-06-17 Get

More from qther

Advertisement Remove ads with Premium →

You Might Also Like