mojira.dev
MC-5368

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.

Linked issues

Comments 16

Confirmed.

Is anyone making any progress to solving this??? All I've gotten is 'Confirmed.' from Tails...

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Nathan Skinner

Haven't tried it on snapshots yet

To test this on the current snapshot, I'd need to have a remote server, and the network needs to be a bit latent. This issue is primarily caused by the values updating, but they simply would update way too fast on singleplayer (About <1ms). To see this fully happening, I'd need to log onto a server using 13w03a. Does anyone have an IP for a snapshot server?

6 more comments

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.

Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. It will be reopened as soon as the requested information has been delivered.

Partially confirmed for Minecraft 1.10.2. I can't reproduce the tool metadata issue (I may just be having really good ping) but adding items to the stack you're holding still causes the cracking action to reset.

Still present up through 1.11.

Does affects Mending too?

Picking up/dropping items no longer resets the animation for me in 1.13. Is this fixed?

Aaron Franke

Jens Bergensten

Confirmed

block, multiplayer

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

Snapshot 13w03a, Minecraft 1.12.2

Retrieved