HomeJavaDatapacksMinimal hunger
Minimal hunger
DatapacksJava

Minimal hunger

by KawunDream · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Data pack only.

⬇ Download for 1.21–26.1.2⬇ Download for 1.15.1–1.20.6
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Minimal hunger — screenshot 1

About

This is a simple datapack that adds the ability to set a minimum hunger level, below which the value will not fall. It can be used in mini-games where a constant hunger level is important.

To set the minimum hunger value, run the command:

/scoreboard players set MinHunger MinHunger 20

Replace 20 with your value.

The default is 20, which means you will always have a full hunger bar. But then you ask, what is the difference between the infinite saturation effect (command /effect give @s saturation infinite)? It's all about the invisible saturation scale. The saturation effect fills it to the maximum, causing health to regenerate very quickly. My datapack doesn't fill it completely, so health will regenerate at a normal rate.

Comparison of health regeneration rates

To display saturation, I used the AppleSkin mod.

With infinite saturation, all health is regenerated in 9 seconds. When using my data pack and a minimum hunger value of 20, all health will regenerate in a minute.

Discord

On my Discord server, you can report bugs in my datapacks and suggest improvements. You can also order a datapack from me.

My other projects

Datapacks:

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more