attackDamage

public final static EntityAttributeModifier attackDamage(Double totalAttackDamage)(source)

Creates an EntityAttributeModifier, which changes the attack damage to totalAttackDamage after subtracting the player's base attack damage.

Parameters

totalAttackDamage

The desired amount of damage in half hearts