mojira.dev
MC-2588

Picking up an item while breaking a block resets the block damage

While breaking a block with hand, if you throw/pick-up and item the block damage will reset and continue from 0.

Linked issues

Comments

GrygrFlzr

Unable to replicate on both 1.4.2 and 1.4.4. Tested with blue wool, did not reset to white wool.

kumasasa

I think he means that the block damage animation will start over

GrygrFlzr

Ah, yeah, that makes a lot more sense. Description was confusing. I was able to replicate that behavior. I also noticed that when switching inventory slots the breaking animation would also reset, and this bug may be related to the fact you are essentially "switching" the contents of your slot. Definitely confirmed, but description could be better.

kumasasa

Martin, changing slots is not a bug, this is clearly intended, see the discussion in [MC-2519]

GrygrFlzr

Ah. Perhaps that behavior is what is causing this bug, then? Since you are essentially 'swapping' the contents of your inventory. Does this make the bug invalid?

Tails

Duplicate of MC-2519

Tyler Beatty

Rephrased: If held item quantity or damage updates while the player is breaking a block (example: punching dirt with dirt, picks up dirt in the middle), the block breaking animation resets to 0%.

This is related to, but not a duplicate of MC-2519. It occurs in 1.4.5

Anon Ymus

Reopened. Although this has the same cause as MC-2519, it is certainly not intended, while MC-2519 is.

Itouch2

Confirmed for 1.7.5, 14w08a and 14w10c

KingSupernova

Wording in the description is rather ambiguous, but this is either a dupe of MC-2519 or MC-3449.

Sky Adams

(Unassigned)

Confirmed

block, item

Minecraft 1.4.4, Minecraft 1.4.5, Minecraft 1.5.2, Minecraft 1.6.2, Minecraft 1.6.4, ..., Minecraft 1.7.4, Minecraft 14w08a, Minecraft 1.7.5, Minecraft 14w10b, Minecraft 14w10c

Retrieved