MobEffectPredicate
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.MobEffectPredicate;
Members
static ambient() as MobEffectInstancePredicate
static amplifier(amplifier as Ints) as MobEffectInstancePredicate
// MobEffectInstancePredicate.amplifier(amplifier as IntMinMaxBoundsPredicate) as MobEffectPredicate;MobEffectPredicate.amplifier(myInts);
Parameters:
amplifier: IntMinMaxBoundsPredicate
Type: IntMinMaxBoundsPredicate
Return Type:
MobEffectPredicate
static any() as MobEffectInstancePredicate
static create(amplifier as Ints, duration as Ints, ambient as Boolean, visible as Boolean) as MobEffectInstancePredicate
// MobEffectInstancePredicate.create(amplifier as IntMinMaxBoundsPredicate, duration as IntMinMaxBoundsPredicate, ambient as Boolean, visible as Boolean) as MobEffectPredicate;MobEffectPredicate.create(myInts, myInts, myBoolean, myBoolean);
Parameters:
amplifier: IntMinMaxBoundsPredicate
Type: IntMinMaxBoundsPredicate
duration: IntMinMaxBoundsPredicate
Type: IntMinMaxBoundsPredicate
ambient: Boolean
Type: Boolean
visible: Boolean
Type: Boolean
Return Type:
MobEffectPredicate
static create(amplifier as Ints, duration as Ints, ambient as Boolean) as MobEffectInstancePredicate
// MobEffectInstancePredicate.create(amplifier as IntMinMaxBoundsPredicate, duration as IntMinMaxBoundsPredicate, ambient as Boolean) as MobEffectPredicate;MobEffectPredicate.create(myInts, myInts, myBoolean);
Parameters:
amplifier: IntMinMaxBoundsPredicate
Type: IntMinMaxBoundsPredicate
duration: IntMinMaxBoundsPredicate
Type: IntMinMaxBoundsPredicate
ambient: Boolean
Type: Boolean
Return Type:
MobEffectPredicate
static create(amplifier as Ints, duration as Ints) as MobEffectInstancePredicate
// MobEffectInstancePredicate.create(amplifier as IntMinMaxBoundsPredicate, duration as IntMinMaxBoundsPredicate) as MobEffectPredicate;MobEffectPredicate.create(myInts, myInts);
Parameters:
amplifier: IntMinMaxBoundsPredicate
Type: IntMinMaxBoundsPredicate
duration: IntMinMaxBoundsPredicate
Type: IntMinMaxBoundsPredicate
Return Type:
MobEffectPredicate
static duration(duration as Ints) as MobEffectInstancePredicate
MobEffectPredicate.duration(myInts);
Parameters:
duration: IntMinMaxBoundsPredicate
Type: IntMinMaxBoundsPredicate
Return Type:
MobEffectPredicate