Health System - #394
Health System#394kirawi wants to merge 41 commits into
Conversation
ambeeeeee
left a comment
There was a problem hiding this comment.
I overall am a little worried about using constants, but I'm not sure to explain what I mean.
A few questions:
- How would this work with creative mode
- How would this work with void damage in creative mode.
- If you were a server owner who wanted to disable hunger, could you do it easily?
- What if the no regen gamerule was on?
These arent meant to quiz your solution, just questions to think about to ensure flexibility.
|
Thoughts on the events? I decided to put the ones Feather needed inside a One question though, what is needed to get this working for non-player entities? Any special packets, etc. From what I understand, I'll need to implement |
|
Depends upon #410 |
|
Seems like the only things left to be implemented are the hunger system, handling entity properties, updating relevant entity metadata, and fall damage. Maybe I'll implement an example plugin as well. That should be it for an initial health system. |
|
This is going to be entirely rewritten from the ground up, it would be harder to use this PR to track it. |
Health System
Status
Description
Implements systems and events for handling updates to an entity's health, as well as systems that handle a player's hunger.
Related issues
Resolves #358
Checklist
cargo fmt,cargo clippy,cargo build --releaseandcargo testand fixed any generated errors!Will be fleshed out with details once ready for review.