mojira.dev
MC-13246

On certain enchanted items, the Anvil will display a "too expensive" message before attempting to repair, combine, or rename them

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

Confirmed for 1.7.2

Confirmed in Snapshot 14w20b.

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.

1 more comments

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 

 

I would like to request to ownership this report.

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automatically! Please report any issues in Discord or Reddit

Oops, I thought 1.16.4 prerelease 1 was released

Tails

Chungui23

rkullenius

Confirmed

Platform

Important

UI

anvil

Minecraft 1.5.1, Snapshot 13w16a, Snapshot 13w16b, Minecraft 1.5.2, Snapshot 13w17a, ..., 20w49a, 20w51a, 1.18.1, 1.20.4, 24w06a

24w38a

Retrieved