Minecraft
  1. Minecraft
  2. MC-1040

Tools with unbreaking enchantment break, disappear from slot then reappear

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.4.2, Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w04a, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Minecraft 1.5.2, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 13w39b, Minecraft 13w42b, Minecraft 13w43a, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 1.7.4, Minecraft 14w02b, Minecraft 14w02c, Minecraft 14w03b, Minecraft 14w04a, Minecraft 14w04b, Minecraft 14w06b, Minecraft 14w07a, Minecraft 14w08a, Minecraft 1.7.9, Minecraft 14w18b, Minecraft 1.7.10, Minecraft 14w34d, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.8, Minecraft 15w33b, Minecraft 15w47c, Minecraft 1.8.9, Minecraft 15w51b, Minecraft 16w02a, Minecraft 16w03a, Minecraft 1.9 Pre-Release 1, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a
    • Fix Version/s: Minecraft 16w43a
    • Security Level: Minecraft - Public (Viewable by everyone)
    • Labels:
      None
    • Environment:

      Windows 64bit, up to date Java.

    • Confirmation Status:
      Confirmed
    • Game Mode:
      Survival

      Description

      What happened:
      I was mining to the last of a diamond pick, it broke and I went to replace it with a new one. When I placed the new pick in the slot the old one reappeared and I was able to place it back in my bar. Sometimes I can use the pick, have it break, reappear and be reused several times before it breaks for good. As the pick breaks no breaking sound is heard.

      What I expected to happen:
      My pickaxe breaks... The end...

      How to reproduce:
      This seems very intermittent, there seems to be no link to anything. It's not every pick and I haven't noticed it on other items.

      /give @p diamond_pickaxe 1 1561 {ench:[{id:34s,lvl:2s}]}
      

      Code analysis: https://bugs.mojang.com/browse/MC-1040?focusedCommentId=288014&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-288014

      1. MC-1040_1.png
        2.02 MB
      2. MC-1040_2.png
        1.08 MB

        Issue Links

          Activity

          Hide
          [Helper] Fabian Röling added a comment -

          That's not the same bug, that's just server lag. Let me guess: The blocks you mined also appeared again.

          Show
          [Helper] Fabian Röling added a comment - That's not the same bug, that's just server lag. Let me guess: The blocks you mined also appeared again.
          Hide
          E Strother added a comment - - edited

          If you have space in your bag, and don't pick up any items that would fill the slot when the item breaks, you can press Q to drop the tool even if it "breaks" and it will very often drop the tool. If immediately following the tool being broken you pick up an item that would fill the inventory space that that tool was in the tool will no longer exist.

          Show
          E Strother added a comment - - edited If you have space in your bag, and don't pick up any items that would fill the slot when the item breaks, you can press Q to drop the tool even if it "breaks" and it will very often drop the tool. If immediately following the tool being broken you pick up an item that would fill the inventory space that that tool was in the tool will no longer exist.
          Hide
          husky2490 added a comment -

          I doubt it's permanent

          Show
          husky2490 added a comment - I doubt it's permanent
          Hide
          Sebastian Cila added a comment - - edited

          I, too have experienced this bug. I was playing on a 1.10.2 server grinding cobblestone with an Unbreaking pick (I was using a book to hold down the mouse to mine) and whenever my pickaxe broke, I would wait a few seconds, and it would reappear with the durability I started mining with. I think this may have something to do with the fact that picks with Unbreaking do not get more durability. They still have the same amount of durability, but it doesn't decrease as often. This bug may be able to be fixed by adding more durability to a tool when it is enchanted with Unbreaking, or by adding a tag that only appears on tools with Unbreaking that tells the game how many more uses the tool has before it decreases its durability.

          Show
          Sebastian Cila added a comment - - edited I, too have experienced this bug. I was playing on a 1.10.2 server grinding cobblestone with an Unbreaking pick (I was using a book to hold down the mouse to mine) and whenever my pickaxe broke, I would wait a few seconds, and it would reappear with the durability I started mining with. I think this may have something to do with the fact that picks with Unbreaking do not get more durability. They still have the same amount of durability, but it doesn't decrease as often. This bug may be able to be fixed by adding more durability to a tool when it is enchanted with Unbreaking, or by adding a tag that only appears on tools with Unbreaking that tells the game how many more uses the tool has before it decreases its durability.
          Hide
          [Helper] Fabian Röling added a comment -

          Or it could just not make a different calculation of whether to break the tool or not client-side, but immediately ask for the one of the server.
          Also please don't comment that you experienced the same bug, that's redundant. Exceptions are:

          • Confirmation status is "Cannot reproduce" or "unconfirmed" or
          • the version you tested it in is not in the affected versions list (and active, meaning that it's the latest release or a relatively new snapshot)
          Show
          [Helper] Fabian Röling added a comment - Or it could just not make a different calculation of whether to break the tool or not client-side, but immediately ask for the one of the server. Also please don't comment that you experienced the same bug, that's redundant. Exceptions are: Confirmation status is "Cannot reproduce" or "unconfirmed" or the version you tested it in is not in the affected versions list (and active, meaning that it's the latest release or a relatively new snapshot)

            People

            • Assignee:
              [Mojang] Maria Lemón
              Reporter:
              Darren Hiles
            • Votes:
              181 Vote for this issue
              Watchers:
              29 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: