How to make natural hunger drain?

Started by ink6969 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make natural hunger drain?

I want to make a procedure that makes natural hunger that drains either 1 saturation or 1 hunger (Depending on if there's saturation) every 30 seconds for each player but when I tried to use variables it didn't work so I have no idea how I could do this, does anyone know how?

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use the set food level and…
Sun, 01/30/2022 - 01:36

Use the set food level and set saturation level blocks on player tick if seconds past current minute = 0 or seconds past current minute = 30.