Procedure to consume part of the hunger bar

Started by Antonyan000 on

Topic category: Help with modding (Java Edition)

Last seen on 10:24, 26. Jul 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure to consume part of the hunger bar

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

Last seen on 02:18, 7. Jul 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
in player actions and data…
Wed, 06/26/2024 - 01:37

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).

Last seen on 10:24, 26. Jul 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't find player actions…
Wed, 06/26/2024 - 11:00

I can't find player actions and data, where is that

Last seen on 22:00, 22. Aug 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i think just type …
Fri, 08/02/2024 - 01:30

i think just type "exhaustion" into the procedure searchbar

Last seen on 11:37, 28. Sep 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
type "food" instead of …
Sat, 08/03/2024 - 06:59

type "food" instead of "exhaustion". Exhaustion is the rate much you lose Hunger in Minecraft. Food Level allows you to change the Hunger directly.

Last seen on 11:37, 28. Sep 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm correcting myself…
Sat, 08/03/2024 - 07:13

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.