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

Silk Touch continues working after tool breaks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 19w44a, 19w45b
    • Fix Version/s: 19w46a
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Items, Player
    • Mojang Priority:
      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

          Issue Links

            Activity

              People

              • Assignee:
                boq [Mojang] Bartosz Bok
                Reporter:
                Zikuma Zikuma
              • Votes:
                5 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: