Procedure to consume part of the hunger bar

Started by Antonyan000 on

Topic category: Help with Minecraft modding (Java Edition)

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

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

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

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

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.

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.