attackSpeed

public final static EntityAttributeModifier attackSpeed(Double totalAttackSpeed)(source)

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