Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.8 : Implement Food and Food Saturation #70

Open
justinstenning opened this issue Sep 17, 2011 · 1 comment
Open

1.8 : Implement Food and Food Saturation #70

justinstenning opened this issue Sep 17, 2011 · 1 comment

Comments

@justinstenning
Copy link
Member

Implement the appropriate logic for Food and Food Saturation (e.g. eating food increases food and food saturation).

These are used in UpdateHealthPacket (http://mc.kev009.com/Protocol#Update_Health_.280x08.29)

@Promichel
Copy link

I'm working right now at this feature. I'm going to send a pull request until Saturday.

Since Food needs Data like FoodPoints, Saturation, CanPoison, PoisonChance we will maybe need another csv? At this moment I implemented it statically in BlockData.cs, but that is actually not very dynamic.

taugit added a commit that referenced this issue Sep 23, 2012
Rename Pork to RawPorkchop, GrilledPork to CookedPorkchop
Add IItemFood interface and ItemBaseFood classes
Add methods to check and update player's food levels
taugit added a commit that referenced this issue Sep 23, 2012
Add Exhaustion, starving damage and food regeneration
Add Player.AddHealth() method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants