MobEffectsPredicate
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.
import crafttweaker.api.predicate.MobEffectsPredicate;Members
static create(map as MobEffectInstancePredicate[MobEffect]) as MobEffectsPredicate
MobEffectsPredicate.create(myMap);Parameters:
map: MobEffectPredicate[MobEffect] Type: MobEffectPredicate[MobEffect]
Return Type:
MobEffectsPredicate
static create(effect as MobEffect, predicate as MobEffectInstancePredicate) as MobEffectsPredicate
// MobEffectsPredicate.create(effect as MobEffect, predicate as MobEffectPredicate) as MobEffectsPredicate;MobEffectsPredicate.create(myMobEffect, myMobEffectInstancePredicate);Parameters:
predicate: MobEffectPredicate Type: MobEffectPredicate
Return Type:
MobEffectsPredicate