Mining with tools resets cracking action when damage values are updated/Items move in hand when their count or damage changes
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.