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

Performing any right-click action silently resets the attack cooldown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.12, Minecraft 1.12.1, Minecraft 18w11a, Minecraft 18w14b, Minecraft 18w20a, Minecraft 18w20c, Minecraft 18w22a, Minecraft 1.13-pre1, Minecraft 1.13-pre4, Minecraft 1.13-pre5, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13, Minecraft 18w30b, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w45a, Minecraft 18w49a, Minecraft 18w50a, 19w41a, 1.15.2, 20w17a, 1.16 Pre-release 2, 1.16.1, 1.16.2 Pre-release 3, 1.16.4, 20w48a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w10a, 1.17 Release Candidate 1, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 22w43a, 1.19.3, 23w06a, 1.20.1, 1.20.2, 24w18a, 1.20.6
    • None
    • Confirmed
    • Combat
    • Low
    • Platform

      The bug

      When a player "uses" an item (or performs any other right-click action), the player is put into attack cooldown, as though the player had just attacked. On top of being unintended behavior, this cooldown is not visually indicated: the item in the main hand does not move down, and the attack indicator does not appear. Should the player attack right after a "use" action, the weapon will look like it's doing a normal attack, but will suffer all the penalties of being on cooldown, e.g. reduced damage, no sweeping hit, no crit.

      How to reproduce

      Put a sword in the main hand, a fishing rod in the offhand, and a mob in front of you. Use the rod, then immediately swing. There's no sweeping attack, and the mob will take less damage.

      This bug interferes with common combat scenarios such as: 
      -Pulling a shield up to block just before attacking
      -Placing blocks/water/lava from offhand then attacking
      -Throwing a projectile from offhand then attacking
      -Launching self with a wind charge before attacking

        1. MC-118740.mp4
          7.19 MB
        2. MC-118740.png
          MC-118740.png
          468 kB

            Unassigned Unassigned
            logicalpencils Brenden Smith
            Votes:
            28 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              CHK: