Package net.minecraft.src
Class FoodStats
- java.lang.Object
-
- net.minecraft.src.FoodStats
-
public class FoodStats extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FoodStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExhaustion(float var1)
void
addStats(int var1, float var2)
void
addStats(FoodItem var1)
int
getFoodLevel()
@net.minecraft.modding.api.Side.Client int
getPrevFoodLevel()
float
getSaturationLevel()
boolean
needFood()
void
onUpdate(Player var1)
void
readNBT(NBTTagCompound var1)
void
setFoodLevel(int var1)
void
setFoodSaturationLevel(float var1)
void
writeNBT(NBTTagCompound var1)
-
-
-
Method Detail
-
addStats
public void addStats(int var1, float var2)
-
addStats
public void addStats(FoodItem var1)
-
onUpdate
public void onUpdate(Player var1)
-
readNBT
public void readNBT(NBTTagCompound var1)
-
writeNBT
public void writeNBT(NBTTagCompound var1)
-
getFoodLevel
public int getFoodLevel()
-
getPrevFoodLevel
@Client public @net.minecraft.modding.api.Side.Client int getPrevFoodLevel()
-
needFood
public boolean needFood()
-
addExhaustion
public void addExhaustion(float var1)
-
getSaturationLevel
public float getSaturationLevel()
-
setFoodLevel
@Client public void setFoodLevel(int var1)
-
setFoodSaturationLevel
@Client public void setFoodSaturationLevel(float var1)
-
-