跳到正文

NaNny

作者:Qther

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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)

评论

登录后评论和评分

Qther 的其他作品

查看全部 →