Obsidian icon indicating copy to clipboard operation
Obsidian copied to clipboard

Implement Hunger & Saturation System

Open Tides opened this issue 2 months ago • 0 comments

Implement basic Minecraft-like hunger, saturation, and exhaustion for players

  • Track player stats (Possibly not needed):
    • hunger: int (0–20)
    • saturation: float
    • exhaustion: float
  • Exhaustion sources (initial subset, configurable):
    • Sprinting, jumping, block breaking, attacking, taking damage
  • Food consumption:
    • Apply hunger and saturation restoration via a simple food registry/map
  • Events/API:
    • Fire change events/hooks for hunger, saturation, exhaustion, and food consume
  • Persistence (Possibly not needed):
    • Save/restore hunger, saturation, exhaustion on login/logout and world save

For more information on how hunger/exhaution & saturation works you can view the wiki

Tides avatar Nov 27 '25 18:11 Tides