what is the mending enchantment
The Mending enchantment is a single level enchantment that can be applied to pretty much anything with durability. It cannot be enchanted onto items with an enchanting table and needs to be found in chests, fished with a fishing rod or sold by librarian villagers. When applied to an item every experience orb you pick up will repair items at a rate of 2 durability for 1 experience. Once the item is fully repaired experience will be added to your levels as usual, but levels cannot be converted into durability.