Class FoodStats


  • public class FoodStats
    extends java.lang.Object
    • Constructor Detail

      • FoodStats

        public FoodStats()
    • Method Detail

      • addStats

        public void addStats​(int var1,
                             float var2)
      • addStats

        public void addStats​(FoodItem var1)
      • onUpdate

        public void onUpdate​(Player 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)