跳到正文

Hunger Strike Addon

作者:epic_lover

Adds a config option to let food heal HP again while Regeneration is active, for the HungerStrike mod.

收藏

介绍

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

Hunger Strike Addon

A small compat addon for HungerStrike that adds one missing config toggle.

The problem

HungerStrike replaces vanilla regen with a "eat food to heal HP" mechanic. Internally, whenever the player has the Regeneration potion effect, HungerStrike pins the hunger bar at full (20) — which means eating food can never register as "gained hunger," so food stops healing HP entirely while Regeneration is active. This is baked into the base mod with no way to turn it off.

What this addon does

Hunger Strike Addon patches that one check via Mixin (the original HungerStrike jar is never modified) and exposes it as a config option:

[General]
    allowFoodHealDuringRegeneration = true

true (default) — food keeps healing HP normally even while Regeneration is active.
false — restores HungerStrike's original, unmodified behavior.
Nothing else about HungerStrike is touched. If HungerStrike isn't present, the mixin safely no-ops instead of crashing.
'''
Minecraft 1.20.1
Forge 47+
HungerStrike 8.0.0 (hard dependency — this addon does nothing on its own)
Installation
Install HungerStrike as usual.
Drop this jar in your mods folder alongside it.
(Optional) Edit config/hs_addon-common.toml to flip allowFoodHealDuringRegeneration.
Notes
Client + server both need the mod installed (it patches server-side logic).
Config changes require a restart to take effect.

常见问题

Hunger Strike Addon 支持哪些 Minecraft 版本?

Hunger Strike Addon 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Hunger Strike Addon 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

epic_lover 的其他作品

查看全部 →