Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
NaNny

NaNny

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

163.7k
6
Management
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.4
1.20.1–1.20.2
1.19–1.19.3
1.18.x
1.16.5

Platforms

Forge
NeoForge

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source

Creators

Qther
Qther Owner

Details

Licensed GPL-3.0-only
Published 2 years ago
Updated 10 months ago
DescriptionChangelogVersions

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 entitys' 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 entitys' health to NaN (Default true)

Modrinth is open source.

main@396f737

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.