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

Using an item and quickly switching hotbar slots doesn't reduce the durability of the said item

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15.2, 20w22a, 20w46a, 20w48a, 21w03a, 1.16.5, 21w16a, 1.17, 1.17.1, 1.18, 1.18.2, 22w16b, 1.19, 1.19.1 Pre-release 1, 1.19.2 Release Candidate 1, 1.19.2, 1.19.3, 23w05a, 1.19.4, 23w16a, 23w18a, 1.20.2
    • None
    • Confirmed
    • Player
    • Normal
    • Platform

      The Bug:

      Using an item and quickly switching hotbar slots doesn't reduce the durability of the said item.

      Steps to Reproduce:

      1. Summon an iron golem by using the command provided below.
        /summon minecraft:iron_golem ~ ~ ~ {NoAI:1b}
      2. Clear your inventory and give yourself eight diamond swords by using the commands provided below.
        /clear @s
        /give @s minecraft:diamond_sword 8
      3. Switch to survival mode and hold any of the diamond swords.
      4. Hit the iron golem and as soon as you do this, switch to the empty hotbar slot.
      5. Repeat this process until the sword that you use to damage the iron golem doesn't take durability.
      6. Take note as to whether or not using an item and quickly switching hotbar slots doesn't reduce the durability of the said item.

      Observed Behavior:

      The durability of the said item isn't reduced.

      Expected Behavior:

      The durability of the said item would always be reduced.

            Unassigned Unassigned
            Markass_ Marcus Winter
            Votes:
            12 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: