attackDamage

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