-
Notifications
You must be signed in to change notification settings - Fork 51
Implement Hunger & Saturation System #501
Copy link
Copy link
Open
Labels
apiRelates to Obsidian.APIRelates to Obsidian.APIepicVery coolVery coolfutureThis feature will be worked on in the futureThis feature will be worked on in the futuregood first issueGood for newcomersGood for newcomerspriority: lowNice to haveNice to haveserverRelates to the server implementationRelates to the server implementation
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
apiRelates to Obsidian.APIRelates to Obsidian.APIepicVery coolVery coolfutureThis feature will be worked on in the futureThis feature will be worked on in the futuregood first issueGood for newcomersGood for newcomerspriority: lowNice to haveNice to haveserverRelates to the server implementationRelates to the server implementation
Type
Projects
Status
No status