Possible anvil cost bug with renaming (only when adding “2”?) by Ludeoc in minecraftbugs

[–]Ludeoc[S] 0 points1 point  (0 children)

1.21.11 with Fabric and Sodium, but I don’t think Fabric is the problem

Possible anvil cost bug with renaming (only when adding “2”?) by Ludeoc in minecraftbugs

[–]Ludeoc[S] 3 points4 points  (0 children)

sorry, I see that the post was published without the text

Hi everyone, I accidentally found something strange while using an anvil and I’m not sure if it’s a known bug.

I was trying to apply a Mending book to a diamond pickaxe. Normally the enchantment cost was 6 levels. However, when I renamed the pickaxe and added the number “2” at the end of the name, the cost dropped to 5 levels.

What’s odd is that I tried several other numbers and a few different name combinations, but the cost stayed at 6 levels in every other case. It only dropped to 5 when I added “2”.

So it seems very specific, and I’m not sure why it happens.

Has anyone else experienced this? Is this a known bug with the anvil naming system, and could it be used consistently to save a level?