Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-164909

Silk Touch continues working after tool breaks

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • 19w46a
    • 19w44a, 19w45b
    • None
    • Confirmed
    • Items, Player
    • Important

    Description

      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

      Attachments

        Activity

          People

            boq [Mojang] Bartosz Bok
            Zikuma Zikuma
            Votes:
            5 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              CHK: