Skip to content

Implement Hunger & Saturation System #501

@Tides

Description

@Tides

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiRelates to Obsidian.APIepicVery coolfutureThis feature will be worked on in the futuregood first issueGood for newcomerspriority: lowNice to haveserverRelates to the server implementation

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions