equipTime

public final static EntityAttributeModifier equipTime(Double totalEquipTime)(source)

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

Parameters

totalEquipTime

The desired equip time in seconds