Im trying to fix a shop with villagers to trade in a normally maxed out tool, example, pickaxe with: Ef5, Ub3, Mending and Fortune 3. To a better one with ef6 for a couple diamonds and continue this way up the efficiency scale as an improved endgame experience on my server.
The issue seems to be when Im trying to trade the villager with my enchanted tool. I have manged to trade for example:
Pickaxe + 20 diamonds for A ENCHANTED TOOL. But not the other way around, is this because when I use the items in the anvil I give them a new ID? I'm very new to commands, just started with it a few days ago.