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

Mining with tools resets cracking action when damage values are updated/Items move in hand when their count or damage changes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.4.6, Minecraft 1.4.7, Minecraft 14w30c, Minecraft 1.8.8, Minecraft 15w33b, Minecraft 15w33c, Minecraft 15w42a, Minecraft 1.10.2, Minecraft 16w38a, Minecraft 1.11
    • Confirmed

      While mining using a tool (ex: a pickaxe), data gets sent over to the server saying what block was broken, and then the server updates the data values to make the pick more damaged, and this also gets updated on the client. Because of the new feature where the cracking restarts when the tool is swapped, this causes the block you started to break right after you broke the previous one to reset and consume about 1.5x as much time as it should take (with a diamond pick). A solution to this I thought up was to have the crack only reset after the normal block ID is changed, instead of the metadata value changing.

      This also happens when you drop or pick up items into/from an item stack you are holding.

            jeb [Mojang] Jeb (Jens Bergensten)
            aaronfranke Aaron Franke
            Votes:
            9 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: