Skip to content

适用于 Minecraft 1.20.1, 1.21.1 的 NaNny 模组

一个 Minecraft 模组,用于清理那些将实体生命值和/或吸收值设为 NaN 的模组所造成的后果。

起价 Qther · Modrinth
次浏览
22 次浏览
已更新
已更新 02.10.2026

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)

如何安装 NaNny

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 1.16.5–26.1.2 on Forge or NeoForge automatically.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install Forge or NeoForge

    The loader must match the game version of the mod file, for example Minecraft 26.1.2. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file nanny-1.0.1.jar (5 KB) for your game version and loader.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.

  4. Launch the loader profile

    Open “Mods” in the main menu: NaNny should be in the list.

On a server

  1. A server on Forge or NeoForge

    The mod only works on a server with the same loader and game version, for example 26.1.2.

  2. File goes into the server’s mods folder

    Stop the server, put the mod file into the mods folder and start the server again.

  3. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

版本

含依赖项

Minecraft加载器文件日期操作
26.1.2NeoForge26.1.24.8 KB
1.21.1NeoForge1.21.14.6 KB
1.21NeoForge1.214.6 KB
1.20.4Forge1.20.45 KB
1.20.2Forge1.20.25 KB
1.20.1Forge1.20.15 KB
1.16.5Forge1.16.55 KB
1.18.2Forge1.18.25 KB

评价

成为第一个评价 NaNny 的人

评论 0

登录后即可评论登录

相似模组

全部模组

了解更多

作者: Qther许可证: GPL-3.0-only源代码

您是作者吗? 联系我们 —— 我们将在 48 小时内下架。