HealthBoostMobEffect
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.entity.effect.HealthBoostMobEffect;
Extends
HealthBoostMobEffect extends MobEffect
.
Implements
Undocumented Interfaces
IForgeMobEffect
Members
addAttributeModifier(attribute as Attribute, name as string, value as double, operation as Operation) as MobEffect
// HealthBoostMobEffect.addAttributeModifier(attribute as Attribute, name as string, value as double, operation as AttributeOperation) as MobEffect;myHealthBoostMobEffect.addAttributeModifier(myAttribute, myString, myDouble, myOperation);
Parameters:
name: string
Type: string
value: double
Type: double
operation: AttributeOperation
Type: AttributeOperation
Return Type:
MobEffect
applyEffectTick(entity as LivingEntity, amplifier as int)
myHealthBoostMobEffect.applyEffectTick(myLivingEntity, myInt);
Parameters:
entity: LivingEntity
Type: LivingEntity
amplifier: int
Type: int
applyInstantenousEffect(source as Entity, indirectSource as Entity, target as LivingEntity, amplifier as int, effectiveness as double)
// HealthBoostMobEffect.applyInstantenousEffect(source as Entity, indirectSource as Entity, target as LivingEntity, amplifier as int, effectiveness as double);myHealthBoostMobEffect.applyInstantenousEffect(myEntity, myEntity, myLivingEntity, myInt, myDouble);
Parameters:
Getter
// HealthBoostMobEffect.beneficial as boolmyHealthBoostMobEffect.beneficial
Return Type:
bool
beneficial() as bool
// HealthBoostMobEffect.beneficial() as bool;myHealthBoostMobEffect.beneficial();
Return Type:
bool
Getter
// HealthBoostMobEffect.category as MobEffectCategorymyHealthBoostMobEffect.category
Return Type:
MobEffectCategory
category() as MobEffectCategory
Getter
// HealthBoostMobEffect.color as intmyHealthBoostMobEffect.color
Return Type:
int
color() as int
// HealthBoostMobEffect.color() as int;myHealthBoostMobEffect.color();
Return Type:
int
Getter
// HealthBoostMobEffect.commandString as stringmyHealthBoostMobEffect.commandString
Return Type:
string
Getter
// HealthBoostMobEffect.descriptionId as stringmyHealthBoostMobEffect.descriptionId
Return Type:
string
descriptionId() as string
// HealthBoostMobEffect.descriptionId() as string;myHealthBoostMobEffect.descriptionId();
Return Type:
string
getAttributeModifiers() as AttributeModifier[Attribute]
getAttributeModifierValue(amplifier as int, modifier as AttributeModifier) as double
// HealthBoostMobEffect.getAttributeModifierValue(amplifier as int, modifier as AttributeModifier) as double;myHealthBoostMobEffect.getAttributeModifierValue(myInt, myAttributeModifier);
Parameters:
amplifier: int
Type: int
modifier: AttributeModifier
Type: AttributeModifier
Return Type:
double
Getter
// HealthBoostMobEffect.instantenous as boolmyHealthBoostMobEffect.instantenous
Return Type:
bool
instantenous() as bool
// HealthBoostMobEffect.instantenous() as bool;myHealthBoostMobEffect.instantenous();
Return Type:
bool
isDurationEffectTick(duration as int, amplifier as int) as bool
// HealthBoostMobEffect.isDurationEffectTick(duration as int, amplifier as int) as bool;myHealthBoostMobEffect.isDurationEffectTick(myInt, myInt);
Parameters:
duration: int
Type: int
amplifier: int
Type: int
Return Type:
bool
Getter
// HealthBoostMobEffect.registryName as ResourceLocationmyHealthBoostMobEffect.registryName
Return Type:
ResourceLocation
registryName() as ResourceLocation