Minecraft wiki entry for Enchanting, associated text: An anvil can be used to combine the enchantments of two items, sacrificing one of them and repairing the other. The items must be compatible; they must either be the same type and material (such as two iron swords) or an item and an enchanted book with an applicable enchantment (such as a bow and an Infinity enchanted book).