Minecraft wiki entry for Leggings, associated text: Leggings may be repaired on an anvil by combining them with their corresponding crafting material (leather, gold ingots, iron ingots, diamonds, or netherite ingots), and any enchantments are retained. Chainmail leggings may be repaired in this way with iron ingots. Leggings may also be repaired by crafting them together with another pair of leggings of the same material, although enchantments are lost.