Or check the ItemAxe directory it has
protected ItemAxe(Item.ToolMaterial material, float damage, float speed)
{
super(material, EFFECTIVE_ON);
this.attackDamage = damage;
this.attackSpeed = speed;
}
You should probably make your custom ItemSword directory and add this.attackSpeed to it