mojira.dev
MC-120761

Anvils will not reject an enchanted book even if the resulting item is the same as the original one

The bug

Anvils will not reject a enchanted book if an item has the same enchantment but on a higher level.

How to reproduce

  1. Go into creative mode and get a diamond axe, an efficiency 5 book, and a efficiency 3 book

  2. Add the efficiency 5 book to the axe

  3. Give yourself at least 30 levels of xp

  4. Go into survival mode

  5. Add the efficiency 3 book to the axe
    → Notice how the anvil doesn't reject it

Linked issues

Attachments

Comments 12

Can confirm in 20w48a.

Can confirm in 21w03a.

Can confirm in 21w05b.

Can confirm in 1.19-pre2.

Present in 1.19-pre3.

2 more comments

Can confirm in 24w21b.

Alugia

(Unassigned)

Confirmed

UI

anvil, enchanted_book, enchantment

Minecraft 1.12.2, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13, Minecraft 18w32a, ..., 24w21b, 1.21, 1.21 Release Candidate 1, 1.21.1, 24w33a

Retrieved