mojira.dev
MC-148476

Books still have an NBT tag (RepairCost of 0) after removal of enchantments using Grindstone

After using a Grindstone to remove an unwanted enchantment from a book and get some experience back, I noticed that the plain book left behind wouldn't stack with my other books in my chest. I then noticed that it still had an NBT tag, shown in screenshot 1.

[media]

Looking in my inventory using NBTExplorer showed that this tag is a RepairCost value of 0.

[media]

Further testing in creative had the same thing happen every time, also revealing that the NBT-tagged books stack with each other, but not regular crafted books (which is expected since the minecraft:book item can stack).

[media]

Simply having the grindstone remove this tag as well if a book is used should be simple enough with no negative effects, since the RepairCost tag is useless on a regular unenchanted book. These de-enchanted books can be re-enchanted without issue, so the issue is mainly with item stacking.

This issue wasn't present before Pre-Release 3 because enchanted books weren't able to be de-enchanted with a grindstone due to a now-fixed bug.

Linked issues

MC-148514 Disenchanted books keep NBT tag Resolved MC-148575 Books disenchanted with a grindstone won't stack with books that were never enchanted. Resolved MC-148628 In pre-rlease 4, books that are disenchanted have an extra tag, seperating them from regural books Resolved MC-148686 Books obtained from grindstone have NBT Resolved MC-148784 Disenchanted books not stacking with regular books. Resolved

Attachments

Comments 6

This is still happening in 1.14

This error can cause the Crafting Manual in your inventory to not use items that were previously enchanted (such as bows for dispensers).  I recommend that a mod link MC-149881 to this thread because it not only effects books.

This is still an issue in 1.14

[media]

@unknown, this bug is marked as fixed for the next version (probably 1.14.1 Pre-Release 1).

Issue is still in 1.14.1 (latest Release)

[media]

Roadsguy

migrated

Confirmed

Items, UI

Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14

Minecraft 1.14.1 Pre-Release 1

Retrieved