You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Rename Pork to RawPorkchop, GrilledPork to CookedPorkchop
Add IItemFood interface and ItemBaseFood classes
Add methods to check and update player's food levels
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)
The text was updated successfully, but these errors were encountered: