MobEffectPredicate
Link to mobeffectpredicate
Importare la Classe
Link to importare-la-classe
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport crafttweaker.api.predicate.MobEffectPredicate;
Static Methods
Link to static-methods
Name: ambient
Return Type: MobEffectPredicate
ZenScript Copy// MobEffectPredicate.ambient() as MobEffectPredicate
MobEffectPredicate.ambient();
Name: amplifier
Return Type: MobEffectPredicate
ZenScript CopyMobEffectPredicate.amplifier(amplifier as IntMinMaxBoundsPredicate) as MobEffectPredicate
Parametro | Tipo | Descrizione |
---|---|---|
Parametro amplifier | Tipo IntMinMaxBoundsPredicate | Descrizione No Description Provided |
Name: any
Return Type: MobEffectPredicate
ZenScript Copy// MobEffectPredicate.any() as MobEffectPredicate
MobEffectPredicate.any();
Name: create
Return Type: MobEffectPredicate
ZenScript CopyMobEffectPredicate.create(amplifier as IntMinMaxBoundsPredicate, duration as IntMinMaxBoundsPredicate) as MobEffectPredicate
Parametro | Tipo | Descrizione |
---|---|---|
Parametro amplifier | Tipo IntMinMaxBoundsPredicate | Descrizione No Description Provided |
Parametro duration | Tipo IntMinMaxBoundsPredicate | Descrizione No Description Provided |
Name: create
Return Type: MobEffectPredicate
ZenScript CopyMobEffectPredicate.create(amplifier as IntMinMaxBoundsPredicate, duration as IntMinMaxBoundsPredicate, ambient as bool?) as MobEffectPredicate
Parametro | Tipo | Descrizione |
---|---|---|
Parametro amplifier | Tipo IntMinMaxBoundsPredicate | Descrizione No Description Provided |
Parametro duration | Tipo IntMinMaxBoundsPredicate | Descrizione No Description Provided |
Parametro ambient | Tipo bool? | Descrizione No Description Provided |
Name: create
Return Type: MobEffectPredicate
ZenScript CopyMobEffectPredicate.create(amplifier as IntMinMaxBoundsPredicate, duration as IntMinMaxBoundsPredicate, ambient as bool?, visible as bool?) as MobEffectPredicate
Parametro | Tipo | Descrizione |
---|---|---|
Parametro amplifier | Tipo IntMinMaxBoundsPredicate | Descrizione No Description Provided |
Parametro duration | Tipo IntMinMaxBoundsPredicate | Descrizione No Description Provided |
Parametro ambient | Tipo bool? | Descrizione No Description Provided |
Parametro visible | Tipo bool? | Descrizione No Description Provided |
Name: duration
Return Type: MobEffectPredicate
ZenScript CopyMobEffectPredicate.duration(duration as IntMinMaxBoundsPredicate) as MobEffectPredicate
Parametro | Tipo | Descrizione |
---|---|---|
Parametro duration | Tipo IntMinMaxBoundsPredicate | Descrizione No Description Provided |