mojira.dev
MC-148480

Putting two identical enchanted books in a grindstone will output one book

The bug

If you put two identical enchanted books in a grindstone, it only outputs one book. It should be two. Is this intended?

Linked issues

Attachments

Comments 9

It appears at least the correct amount of XP is given.
However, if removing the enchantment from two books is intended (and should give two books), then why is this only possible for books with the same enchantments?

Oddly enough, if the books have curse enchantments, you get two enchanted books in a stack, see MC-157133

From what I've found the code sets the quantity of the resulting stack to 2 immediately after deleting enchantments when disenchanting two books. But if there are no curse enchantments, it replaces this stack with a single normal book, without setting the quantity again.

Can confirm in 20w51a.

Can confirm in 21w06a.

Can confirm in 1.16.5 and 21w08b.

Can confirm in 1.17.1. Video attached.

Can confirm in 1.19.

Can confirm in 1.19.2.

Luke Wang

(Unassigned)

Confirmed

Items, UI

enchanted_book, grindstone

Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 5, Minecraft 1.14.2, 1.14.4, ..., 1.19.3, 1.19.4, 23w17a, 1.20.1, 1.20.4

24w09a

Retrieved