Putting certain enchanted items into the first anvil slot and doing nothing else will show "too expensive", even though trying to rename or combine with a book will still be allowed.
What I expected to happen was:
If I put any item into the Anvil slot without doing anything it would just show me the crossed out arrow.
What actually happened was:
I put an item with multiple enchantments and it showed me it was "too expensive to do nothing with it"
Steps to reproduce:
1. Enchant a diamond sword with these enchants:
Fire Aspect II
Looting III
Sharpness V
Unbreaking III
Knockback II
Sweeping Edge III
2. Put a normal diamond sword in the first anvil slot, notice it will just show the crossed out arrow.
3. Put the enchanted sword into the first anvil slot, it will show "too expensive".
4. Try to rename it or combine books with that sword, it will then show the actual enchantment cost.
Edit: In newer versions renaming the item might be required but the bug is still there.
Linked issues
Attachments
Comments 11
Not a bug, if they have very good enchantments, they will do this. It is normal minecraft mechanics, made to stop people from repeatedly repairing their highly-enchanted tools.
The bug is that it shows "Too Expensive" before it is actually trying to do anything, and therefore shouldn't be able to give a cost. Then it will allow you do stuff with the tool, despite the fact it claimed it was too expensive.
Can confirm for 1.13-pre3.
The sword enchantments in the repro section actually isn't too expensive for the anvil anymore. However, testing a sword with every enchantment (the specified plus Sweeping Edge, Mending, and a rename) made it too expensive and displayed the message instantly like pointed out.
Confirmed for 20w17a
Attempted to combine: (a) With: (b)
-Fire Aspect II -Fire Aspect I
-Sharpness V -Looting III
-Sweeping Edge III -Unbreaking II
-Unbreaking III
-Knockback II
But with no success.
When I attempted to combine (a) with an Looting III Book it only asks 21 Levels
Confirmed.