Minecraft wiki entry for Anvil_mechanics, associated text: Combining items of different anvil uses takes the greater number and adds 1. For example, an item with 3 anvil uses and an item with 2 anvil uses yields one with 4 anvil uses.