90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Peaceful Hunger!
... a simple mod that slows health regeneration while in Peaceful.
Inspiration
This mod was inspired by u/Hollyetravels on Reddit:
I just want to play in peaceful mode but still get hungry. I play farming mods a lot and there's no point to farming/cooking if you can't eat it. But I hate hostile mobs,personally.
Goal
Stop automatic health regeneration while the difficulty is set to "Peaceful".
Technical Details
This mod uses Redirects from SpongePowered Mixin to change the relevant difficulty for health regeneration and hunger effects. Specifically: on the tick()
method of FoodData.class, and the aiStep()
method of Player.class.
Credits
Details
Licensed ARR
Published 4 months ago
Updated 4 months ago