Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-148476

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14
    • None
    • Windows 10 Pro x64, Java 1.8.0_51 (supplied with MC Launcher)
    • Confirmed
    • Items, UI

      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.

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

      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).

      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.

        1. 2019-05-13_23.29.29.png
          2019-05-13_23.29.29.png
          182 kB
        2. booknbt_1.png
          booknbt_1.png
          10 kB
        3. booknbt_2.png
          booknbt_2.png
          4 kB
        4. booknbt_3.png
          booknbt_3.png
          3 kB
        5. image-2019-04-30-10-56-06-872.png
          image-2019-04-30-10-56-06-872.png
          123 kB

            Excited Maria Lemón
            roadsguy Roadsguy
            Votes:
            15 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: