
NaNny Reforked
This modification represents an updated version of the original NaNny mod, adapted to work with the latest versions of Forge. The main goal of this project is to ensure better compatibility with the popular modpack MC Eternal 2, including a special damage fallback system that activates in certain situations.
The primary task of NaNny Reforked is to eliminate one of the most annoying problems in modern Minecraft, where entities deal or receive damage with NaN (Not a Number) values. This occurs due to floating-point calculation errors in other mods.
The mod monitors and processes the following game events related to damage and healing:
- Living entity attacks
- Damage dealing
- Health restoration
- Damage receiving
When NaN values are detected, the mod can cancel the event and automatically restore the health of affected entities. All settings are configured through the world/serverconfig/nanny-server.toml
file, which offers the following options:
- doHeal — enable automatic healing when NaN is detected (default: true)
- health — percentage of maximum health to restore (default: 1.0)
- log — log events with NaN values (default: true)
While the ideal solution would be to fix the root causes of this problem in each specific mod, this mod offers a practical temporary solution that stabilizes gameplay.