Class FoodNutritionProperties
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public class FoodNutritionProperties
- Inheritance
-
FoodNutritionProperties
- Inherited Members
Fields
EatenStack
The item that was eaten.
public JsonItemStack EatenStack
Field Value
FoodCategory
The category of the food.
public EnumFoodCategory FoodCategory
Field Value
Health
The health restored by the food.
public float Health
Field Value
Satiety
The saturation restored by the food.
public float Satiety
Field Value
SaturationLossDelay
The delay before that extra saturation starts to go away.
public float SaturationLossDelay
Field Value
Properties
Intoxication
public float Intoxication { get; set; }
Property Value
Saturation
[Obsolete("Use Satiety instead.")]
public float Saturation { get; set; }
Property Value
Methods
Clone()
Duplicates the nutrition properties, which includes cloning the stack that was eaten.
public FoodNutritionProperties Clone()