attackSpeed

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

Parameters

totalAttackSpeed

The desired attack speed in attack/second