AttackDamageMobEffect
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.AttackDamageMobEffect;Extends
AttackDamageMobEffect extends MobEffect.
Implements
Undocumented Interfaces
IForgeMobEffect
Members
addAttributeModifier(attribute as Attribute, name as string, value as double, operation as Operation) as MobEffect
// AttackDamageMobEffect.addAttributeModifier(attribute as Attribute, name as string, value as double, operation as AttributeOperation) as MobEffect;myAttackDamageMobEffect.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)
myAttackDamageMobEffect.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)
// AttackDamageMobEffect.applyInstantenousEffect(source as Entity, indirectSource as Entity, target as LivingEntity, amplifier as int, effectiveness as double);myAttackDamageMobEffect.applyInstantenousEffect(myEntity, myEntity, myLivingEntity, myInt, myDouble);Parameters:
Getter
// AttackDamageMobEffect.beneficial as boolmyAttackDamageMobEffect.beneficial
Return Type:
bool
beneficial() as bool
// AttackDamageMobEffect.beneficial() as bool;myAttackDamageMobEffect.beneficial();
Return Type:
bool
Getter
// AttackDamageMobEffect.category as MobEffectCategorymyAttackDamageMobEffect.category
Return Type:
MobEffectCategory
category() as MobEffectCategory
Getter
// AttackDamageMobEffect.color as intmyAttackDamageMobEffect.color
Return Type:
int
color() as int
// AttackDamageMobEffect.color() as int;myAttackDamageMobEffect.color();
Return Type:
int
Getter
// AttackDamageMobEffect.commandString as stringmyAttackDamageMobEffect.commandString
Return Type:
string
Getter
// AttackDamageMobEffect.descriptionId as stringmyAttackDamageMobEffect.descriptionId
Return Type:
string
descriptionId() as string
// AttackDamageMobEffect.descriptionId() as string;myAttackDamageMobEffect.descriptionId();
Return Type:
string
getAttributeModifiers() as AttributeModifier[Attribute]
getAttributeModifierValue(amplifier as int, modifier as AttributeModifier) as double
// AttackDamageMobEffect.getAttributeModifierValue(amplifier as int, modifier as AttributeModifier) as double;myAttackDamageMobEffect.getAttributeModifierValue(myInt, myAttributeModifier);Parameters:
amplifier: int  Type: int   modifier: AttributeModifier  Type: AttributeModifier   
Return Type:
double
Getter
// AttackDamageMobEffect.instantenous as boolmyAttackDamageMobEffect.instantenous
Return Type:
bool
instantenous() as bool
// AttackDamageMobEffect.instantenous() as bool;myAttackDamageMobEffect.instantenous();
Return Type:
bool
isDurationEffectTick(duration as int, amplifier as int) as bool
// AttackDamageMobEffect.isDurationEffectTick(duration as int, amplifier as int) as bool;myAttackDamageMobEffect.isDurationEffectTick(myInt, myInt);Parameters:
duration: int  Type: int   amplifier: int  Type: int   
Return Type:
bool
Getter
// AttackDamageMobEffect.registryName as ResourceLocationmyAttackDamageMobEffect.registryName
Return Type:
ResourceLocation
registryName() as ResourceLocation