FoodProperties
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Members
Return Type:
bool
Parameters:
nutrition: int
Type: int
saturation: float
Type: float
canAlwaysEat: bool
Type: bool
eatSeconds: float
Type: float
Return Type:
FoodProperties
Parameters:
nutrition: int
Type: int
saturation: float
Type: float
canAlwaysEat: bool
Type: bool
eatSeconds: float
Type: float
usingConvertsTo: IItemStack
Type: IItemStack
Return Type:
FoodProperties
Parameters:
nutrition: int
Type: int
saturation: float
Type: float
canAlwaysEat: bool
Type: bool
eatSeconds: float
Type: float
usingConvertsTo: IItemStack
Type: IItemStack
effects: List<FoodPropertiesPossibleEffect>
Type: List<FoodPropertiesPossibleEffect>
Return Type:
FoodProperties
Return Type:
float
Return Type:
List<FoodPropertiesPossibleEffect>
Return Type:
int
Return Type:
float
Return Type:
IItemStack
Parameters:
canAlwaysEat: bool
Type: bool
Return Type:
FoodProperties
Parameters:
eatSeconds: int
Type: int
Return Type:
FoodProperties
Parameters:
effect: MobEffectInstance
Type: MobEffectInstance
probability: float
Type: float
Return Type:
FoodProperties
Parameters:
effect: FoodPropertiesPossibleEffect
Type: FoodPropertiesPossibleEffect
Return Type:
FoodProperties
Parameters:
effects: List<FoodPropertiesPossibleEffect>
Type: List<FoodPropertiesPossibleEffect>
Return Type:
FoodProperties
Parameters:
nutrition: int
Type: int
Return Type:
FoodProperties
Return Type:
FoodProperties
Parameters:
effect: FoodPropertiesPossibleEffect
Type: FoodPropertiesPossibleEffect
Return Type:
FoodProperties
Parameters:
saturation: float
Type: float
Return Type:
FoodProperties
Parameters:
usingConvertsTo: IItemStack
Type: IItemStack
Return Type:
FoodProperties