Minecraft wiki entry for Non-renewable_resource, associated text: While all enchantments obtainable in Survival are renewable‌[until 1.19], for treasure enchantments the only renewable way to get them on most items is by using an anvil to combine the item with a renewable enchanted book. Using an anvil in this way causes the item to gain prior work penalty, increasing the cost of future anvil use. Similar limitations apply to some high level enchantments, which cannot be renewably obtained on items with insufficient enchantability without using an anvil.