FoodPropertiesPossibleEffect
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.
Description
Represents a possible effect of the food properties.Members
Getter
Gets the effect of the food properties possible effect.
Return Type:
MobEffectInstance
static of(effect as MobEffectInstance, probability as float) as PossibleEffect
Creates a new food properties possible effect.
Returns: The new food properties possible effect.
Parameters:
probability: float
Type: float
- The probability.
Return Type:
FoodPropertiesPossibleEffect
Getter
Gets the probability of the food properties possible effect.
Return Type:
float