Description
Quickly switching the hotbar slot from an item without the can_break item component to an item with a matching can_breakitem component and breaking the block causes the block to not get destroyed. The block breaking animation is visible, the block breaking sound can be heard, but the block won’t get destroyed.
Steps To Reproduce
Get yourself a tool with the
can_breaktag:/give @s iron_pickaxe[can_break=[{blocks:"deepslate"}]] 1Change your gamemode to adventure mode.
Select an empty hotbar slot.
Quickly switch to the tool and start mining a deepslate block.
Environment
Kubuntu 26.04
Thank you for helping us improve Minecraft! We saved your files: