mojira.dev
MC-176559

Breaking process resets when a pickaxe enchanted with Mending mends by XP / Mending slows down breaking blocks again

Simply: Mending resets breaking blocks.

How to reproduce:

  1. Get yourself a pickaxe

  2. Enchant it with Mending

  3. Damage it a little bit

  4. Spawn a bunch of ores

  5. Mine them

  6. →❌ Animation resets when receiving XP and mending the pickaxe

Clones MC-153892

Linked issues

Attachments

Comments

Josh Jensby

Adding this here since I didn't see this when I searched...

Mining with a damaged mending pick can sometimes be interrupted by picking up experience orbs, causing the mining to restart.

 

The only item with mending is the pick I am using to mine. A video of the issue can be found at https://youtu.be/P3kuJOVuWIk

The issue occurs a couple times, but the most obvious are at 0:23, and the iron block at 0:29.

 

Let me know if you need to know any other details.

Thanks!

bugsbugsbugs

Can confirm in 21w06a

SoloAlguien

Can confirm in 21w41a.
Relates to MC-2588 since both have the same causes, but I don't think that resetting the breaking animation while using a tool is an expected behavior.

Quinten

This doesn't only happen with mending. When any data on your pickaxe (or any other item) changes the game will see it as a new item and reset your mining progress. To fix this Mojang would have to implement a check to check if the item w/ the data modification is actually still the "same" item and if it isn't, only then reset mining progress...

Avoma

Can confirm in 1.18.2 and 22w16b.

audaki

Confirmed for 23w43b. I've used the new tick rate feature to video-record the mining progress resetting multiple times for a single block due to XP orbs being picked up:

[media]
Brevort

This doesn't just affect pickaxes, I just had it affect a hoe in 25w05a. Probably any tool will do it though

W_V

(Unassigned)

Confirmed

Platform

Normal

Items, Player

1.15.2, 20w13b, 20w14a, 20w15a, 20w16a, ..., 1.19, 1.19.2, 1.19.4, 23w33a, 1.21

Retrieved