custom durabilty

how does one go about adding custom durability ive seen some stuff but i want to add it for armor

Continue to help post