mojira.dev
MC-164909

Silk Touch continues working after tool breaks

The bug

When a silk touch tool runs out of durability, the "empty slot" continues to act as though it has silk touch. Breaking blocks while this slot is selected will result in silk touch drops, until it changes.

How to reproduce

  1. Run

    /give @p diamond_shovel{Damage:1560,Enchantments:[{id:silk_touch,lvl:1s}]}
  1. Break some grass in survival mode, the shovel will break

  2. Continue breaking grass, silk touch will continue working even though the shovel is gone

  3. Switching to another slot or updating item in selected slot will result in the correct drop

Linked issues

Attachments

Comments 3

Do you use any datapacks?

I do not use any datapacks. I was playing in a completely unmodified world at the time.

I can confirm. Updating the description to be more detailed

migrated

boq

Confirmed

Important

Items, Player

19w44a, 19w45b

19w46a

Retrieved