Modscraper Modscraper Minecraft
NaNny (Fix NaN Health / Absorption) logo

NaNny (Fix NaN Health / Absorption)

Mod

by qther

A Minecraft Neo/Forge mod that cleans up after mods that set entities' health and/or absorption to NaN.

Type

Mod

CurseForge Downloads

19,361,715

CurseForge ID

634392

Modrinth Downloads

1,344,657

Modrinth ID

6EpIGT2g

Last Updated

Nov 6, 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

Neoforge Server

Game Versions

26.1 26.1.1 26.1.2

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (131)

Most downloaded
Show all 131 modpacks

External Resources