The bug
If you start to mine a block and drop the tool while continuing to break the block, the block won't break and drop. However, when you pick up the tool again, the block will disappear and drop. If you select another pickaxe the item will drop as well.
To reproduce
Start mining a block with a tool
Drop the tool while mining, but continue to mine
Finish mining
→ ❌ The block does not break or dropPick up the tool again
→ ❌ The block breaks and drops
Videos
[media]Linked issues
is duplicated by
Attachments
Comments
Can confirm in 20w51a. As stated above, the block will eventually disappear after a short amount of time.
Can confirm in 21w03a.
Can confirm in 21w06a.
Can confirm in 1.16.5 and 21w08b.
Can confirm it affects 1.17
Can confirm in 1.17.1.

Affects 1.18

Affects 1.18.1
Can confirm in 1.18.2.

Relates to MC-231097
Can confirm in 1.19.
Can confirm in 1.19.2 and 22w42a.

Affects 1.21-pre4
Also, If you wait enough, the block will disappear and will not drop itself. takes ~10 secs