public class FoodStats
extends java.lang.Object
Constructor and Description |
---|
FoodStats() |
Modifier and Type | Method and Description |
---|---|
void |
addExhaustion(float p_75113_1_) |
void |
addStats(int p_75122_1_,
float p_75122_2_) |
void |
func_151686_a(ItemFood p_151686_1_,
ItemStack p_151686_2_) |
int |
getFoodLevel() |
int |
getPrevFoodLevel() |
float |
getSaturationLevel() |
boolean |
needFood() |
void |
onUpdate(EntityPlayer p_75118_1_) |
void |
readNBT(NBTTagCompound p_75112_1_) |
void |
setFoodLevel(int p_75114_1_) |
void |
setFoodSaturationLevel(float p_75119_1_) |
void |
writeNBT(NBTTagCompound p_75117_1_) |
public void addStats(int p_75122_1_, float p_75122_2_)
public void onUpdate(EntityPlayer p_75118_1_)
public void readNBT(NBTTagCompound p_75112_1_)
public void writeNBT(NBTTagCompound p_75117_1_)
public int getFoodLevel()
public int getPrevFoodLevel()
public boolean needFood()
public void addExhaustion(float p_75113_1_)
public float getSaturationLevel()
public void setFoodLevel(int p_75114_1_)
public void setFoodSaturationLevel(float p_75119_1_)