The Disenchanter is used to get enchantments off of tools and weapons and putting them in books. It comes with a cost of the durability of the item and potentially breaking it. However, adding bookshelves around the Disenchanter reduces the damage it causes to the tool with 20 bookshelves which will not give any damage to the tool. Other sources of enchantability, such as Botania’s Pylons, also work.