Skip to content

适用于 Minecraft 1.20.1 的 NaNny Reforked 模组

适用于 MC Eternal 2 的 NaNny 模组分支,用紧急替换伤害代替 NaN 值

次浏览
10 次浏览
已更新
已更新 18.10.2026

关于 NaNny Reforked 模组

这是模组 NaNy 的一个分支版本

该分支已针对最新版本的 forge 进行了更新,并对整合包 MC Eternal 2 提供了更好的兼容性,包括在某些情况下应用的伤害回退机制,但模组本身基本保持一致。许可证相同,并且由于改动非常微小,所有功劳都归于原所有者 qther。

此外,这个模组有助于修复当前困扰现代 Minecraft 的最烦人问题之一,即实体造成和受到 NaN 伤害。

理想情况下,应该在每个实例中定位此问题的原始来源,而不是采用权宜之计,但这很耗时,留待以后处理。

请不要就这个分支版本向原作者提出疑问或投诉,请联系我。

NaNny

因为有些模组无法控制它们的浮点数。

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

这是通过挂钩以下事件并取消事件以及可选地治疗受影响的实体来实现的:

  • LivingAttackEvent
  • LivingDamageEvent
  • LivingHealEvent
  • LivingHurtEvent

NaNny 会在 world/serverconfig/nanny-server.toml 中创建一个 TOML 配置文件

该配置文件目前具有以下选项:

  • doHeal - 当对实体造成或治疗 NaN 时,启用设置实体的生命值(默认 true)
  • health - 当对实体造成或治疗 NaN 时,将实体设置为最大生命值的百分比(默认 1.0)
  • log - 是否记录将实体生命值设置为 NaN 的事件(默认 true)

如何安装 NaNny Reforked

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.20.1 on Forge automatically.

  3. Launch the game

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

Manually

  1. Install Forge

    The loader must match the game version of the mod file, for example Minecraft 1.20.1. 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.6.jar (4 KB) for your game version.

  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 Reforked should be in the list.

Minecraft 1.20.1 runs on Java 17: with a different Java version the game may close right after launch.

版本

含依赖项

Minecraft加载器文件日期操作
1.20.1Forgenannyreforked-1.0.34.2 KB

评价

成为第一个评价 NaNny Reforked 的人

评论 0

登录后即可评论登录

相似模组

全部模组

了解更多