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:
- GunGame - Standard Gun Game (Arms Race).
- Specified random spawn points - Place spawn points where players will randomly respawn after death.

