public interface IFoodStats
Modifier and Type | Method and Description |
---|---|
void |
addExhaustion(float exhaustion) |
void |
addStats(int foodValue,
float saturationLevel) |
IData |
asNBT() |
int |
getFoodLevel() |
float |
getSaturationLevel() |
boolean |
needFood() |
void |
onUpdate(IPlayer player) |
void |
setFootLevel(int foodLevel) |
void |
setSaturationLevel(float saturationLevel) |
void addStats(int foodValue, float saturationLevel)
void onUpdate(IPlayer player)
IData asNBT()
int getFoodLevel()
void setFootLevel(int foodLevel)
boolean needFood()
void addExhaustion(float exhaustion)
float getSaturationLevel()
void setSaturationLevel(float saturationLevel)