MobEffectUtil
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
static formatDuration(instance as MobEffectInstance, durationFactor as float) as Component
Parameters:
instance: MobEffectInstance
Type: MobEffectInstance
durationFactor: float
Type: float
Return Type:
Component
static getDigSpeedAmplification(entity as LivingEntity) as int
Parameters:
entity: LivingEntity
Type: LivingEntity
Return Type:
int
static hasDigSpeed(entity as LivingEntity) as bool
Parameters:
entity: LivingEntity
Type: LivingEntity
Return Type:
bool
static hasWaterBreathing(entity as LivingEntity) as bool
Parameters:
entity: LivingEntity
Type: LivingEntity
Return Type:
bool