FoodHealing Overhaul

Quick rating

Community listing page, reviews here may not be monitored by the author.

FoodHealing Overhaul

No reviews yet

When you eat food, you restore an amount of health based on your fullness level.

Mod Loaders
Minecraft

About

Description

FoodHealing OverHaul

Food heals you. Right now, not eventually.

Minecraft 1.20.1  ·  Forge 47.x  ·  Client and server

What this mod does

In vanilla Minecraft, eating does not heal you. It fills a hunger bar, which quietly refills your health over the next several seconds. FoodHealing OverHaul cuts out the middle step: eat a piece of bread, get health back immediately.

Everything else the mod touches — eating speed, potion drinking speed, natural regeneration — is a multiplier you set yourself. Leave a value at 1.0 and it behaves exactly like vanilla, so you can turn on only the parts you want.

Food restores health instantly

When you finish eating, you heal based on the food's nutrition value. With the default multiplier of 0.5, a loaf of bread (nutrition 5) restores 2.5 health — one and a quarter hearts.

Saturation is deliberately ignored. Two foods with the same nutrition heal the same amount, no matter how their hidden saturation values differ. You can override any individual item with an exact number, or exclude items entirely.

Eat at full hunger when you are hurt

A full hunger bar no longer stops you from eating. If your health is below maximum, you can eat anyway. The food still heals you at full value, even though the nutrition itself goes to waste.

Eating and drinking speed

Set how fast food goes down, and set potions separately. Higher numbers are faster: 2.0 halves the animation. Each item keeps its own relative timing, so dried kelp stays quicker than bread. If another mod already changes eating speed, this mod multiplies on top of it instead of overwriting it.

Natural regeneration, on a dial

Vanilla has two separate healing rates hidden behind the hunger system: a fast one that burns saturation while your hunger bar is full, and a slow one that ticks along above 18 hunger. Both are now multipliers.

Turn the fast one down to 0.0 and it stops entirely, falling back to the slow rate. Set both to 0.0 and natural regeneration is gone — food is your only way back to full health.

You can see the numbers

Every food item shows how much health it will restore, drawn as hearts in its tooltip. The figure comes from the same code that does the actual healing, so what you read is what you get. By default it appears while you hold Shift.

Hearts when you heal

Healing from food spawns heart particles around you, scaled to how much you recovered. Other players can see them too. If nothing was actually restored — you were already at full health — no particles appear.

Change settings without leaving the world

All settings live in the server config. Edit the file and save, or use the in-game commands, and the change applies on the next tick. No reload, no rejoining. In multiplayer the server decides, and connected clients are re-synced automatically.

Settings at a glance

Key Default What it does
healing.nutritionMultiplier 0.5 Health restored per point of nutrition
healing.maxHealPerItem 20.0 Upper limit for a single meal
healing.itemOverrides empty Fixed heal amounts for specific items
eating.allowEatWhenFull true Eat at full hunger while hurt
speed.foodSpeedMultiplier 1.0 Eating speed; higher is faster
speed.potionSpeedMultiplier 1.0 Potion drinking speed
regeneration.saturationRegenSpeedMultiplier 1.0 Fast regeneration rate; 0 disables it
regeneration.slowRegenSpeedMultiplier 1.0 Slow regeneration rate; 0 disables it
tooltip.visibility SHIFT When the heal amount is shown
effects.enabled true Heart particles on healing

Commands

  • /foodhealing_overhaul config list — show every current value
  • /foodhealing_overhaul config set <key> <value> — change a value and save it
  • /foodhealing_overhaul config reload — re-read the config file

Compatibility

  • Modded food works out of the box. Anything with a nutrition value is picked up automatically, tooltip included.
  • Other speed mods are respected. Durations are multiplied, not replaced.
  • Install on both the client and the server. Neither side works alone.
  • AppleSkin: AppleSkin displays saturation and predicts vanilla regeneration, which this mod changes. Both mods run fine together, but AppleSkin's estimates will not match what actually happens.

Free to use in any modpack, public or private. No permission needed — a link back is appreciated.


このModについて

バニラのMinecraftでは、食事そのものはHPを回復しません。満腹度を埋め、その満腹度が数秒かけて静かにHPを戻すだけです。FoodHealing OverHaul はこの回りくどい手順を取り払います。パンを食べれば、その場でHPが戻ります。

食事速度・ポーションの飲用速度・自然回復速度など、このModが手を入れる箇所はすべて自分で倍率を決められます。1.0 のままならバニラと完全に同じ挙動なので、欲しい機能だけを有効にできます。

食べた瞬間にHPが回復する

食事を終えた時点で、その食料の栄養価に応じてHPが回復します。既定の倍率 0.5 なら、パン(栄養価5)で2.5、つまりハート1.25個分が戻ります。

隠し満腹度は意図的に計算から外しています。栄養価が同じなら、隠し満腹度がいくつ違っても回復量は同じです。アイテムごとに回復量を直接指定したり、対象から除外したりもできます。

満腹でも、HPが減っていれば食べられる

満腹度が上限に達していても食事を止められません。HPが最大でなければ、そのまま食べられます。栄養そのものは無駄になりますが、HPの回復量は満額入ります。

食事速度とポーション速度

食べ物の消費時間を設定でき、ポーションは別枠で設定できます。数値が大きいほど速く、2.0 でモーションが半分の長さになります。アイテムごとの相対的な速さはそのまま残るので、乾燥コンブはパンより速いままです。食事速度を変更する他のModが入っている場合は、上書きせずその結果に対して掛け算します。

自然回復を倍率で調整する

バニラには満腹度の裏に2種類の回復速度があります。満腹度が最大のあいだ隠し満腹度を消費して働く高速回復と、満腹度18以上でゆっくり進む低速回復です。どちらも倍率で調整できるようになりました。

高速回復を 0.0 にすれば停止し、低速回復に引き継がれます。両方 0.0 にすれば自然回復は完全になくなり、食事だけがHPを戻す手段になります。

回復量が目に見える

食料のツールチップに、食べたときに回復するHPがハートで表示されます。実際の回復処理と同じコードで計算しているので、表示と結果がずれることはありません。既定ではShiftを押しているあいだ表示されます。

回復するとハートが舞う

食事で回復すると、回復量に応じた数のハートパーティクルが周囲に出ます。他のプレイヤーからも見えます。すでにHPが満タンで実際には回復しなかった場合は、パーティクルは出ません。

ワールドを開いたまま設定を変えられる

設定はすべてサーバーコンフィグにまとめてあります。ファイルを編集して保存するか、ゲーム内コマンドを使えば、次のtickから反映されます。再起動も再ログインも不要です。マルチプレイではサーバー側の設定が適用され、接続中のクライアントには自動で再同期されます。

主な設定項目

キー 既定値 内容
healing.nutritionMultiplier 0.5 栄養価1あたりの回復HP
healing.maxHealPerItem 20.0 1回の食事での回復量上限
healing.itemOverrides なし アイテムごとの回復量の直接指定
eating.allowEatWhenFull true 満腹かつHP減少時の食事を許可
speed.foodSpeedMultiplier 1.0 食事速度。大きいほど速い
speed.potionSpeedMultiplier 1.0 ポーションの飲用速度
regeneration.saturationRegenSpeedMultiplier 1.0 高速回復の速度。0で停止
regeneration.slowRegenSpeedMultiplier 1.0 低速回復の速度。0で停止
tooltip.visibility SHIFT 回復量を表示する条件
effects.enabled true 回復時のハートパーティクル

コマンド

  • /foodhealing_overhaul config list — 現在の設定を一覧表示する
  • /foodhealing_overhaul config set <キー> <値> — 値を変更して保存する
  • /foodhealing_overhaul config reload — 設定ファイルを読み直す

互換性

  • 他Modの食料もそのまま動きます。栄養価を持つアイテムは自動的に対象になり、ツールチップにも反映されます。
  • 速度を変更する他Modとも共存します。時間は上書きではなく掛け算で適用されます。
  • クライアントとサーバーの両方に導入してください。片側だけでは動作しません。
  • AppleSkin: AppleSkinは隠し満腹度とバニラの自然回復を予測表示しますが、このModはその挙動を変更します。同時に導入しても問題はありませんが、AppleSkinの予測値は実際の結果と一致しません。

公開・非公開を問わず、Modパックへの自由な同梱を許可します。許諾の連絡は不要です。リンクを貼っていただけると嬉しいです。