Started by
Antonyan000
on
Topic category: Help with Minecraft modding (Java Edition)
I would like to know some way to do this without having to give the player the potion effect of hunger, there is another way? like instant damage does with hearts, but with the hunger bar and hunger
in player actions and data there are two things. set hunger level and get hunger level. you can set hunger level to hunger level - (amount to change by).
I can't find player actions and data, where is that
i think just type "exhaustion" into the procedure searchbar
type "food" instead of "exhaustion". Exhaustion is the rate much you lose Hunger in Minecraft. Food Level allows you to change the Hunger directly.
I'm correcting myself:
Exhaustion Level increases to certain Actions in Game and decreases the Saturation Level. Food Level is the Hunger Bar. And the Saturation Level controls how fast your Food Level decreases.