Hungy
The Hungy modification introduces changes to the game mechanics of Peaceful mode by activating the hunger system and disabling instant health regeneration. Now, when the hunger bar depletes, the character's health will decrease to half the bar, similar to how it works on Easy difficulty.
Client and Server Compatibility
The mod must be installed on the server. On the client, installation is technically optional but highly recommended. Without it, the game interface may incorrectly display the hunger bar, showing it as full even when it's not.
Implementation Features
The mod is implemented minimally—just two mixins, and Fabric API is not required. Key changes:
- The character loses hunger regardless of the selected game mode.
- In Peaceful mode, automatic health and hunger regeneration are disabled (achieved by bypassing the mode check, which does not affect other game aspects).
Now you can truly enjoy preparing and consuming food even in Peaceful mode!