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

Attempting to mine a block while holding a sword/trident in Creative mode resets attack cooldown, but doesn't display attack indicator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.16.1, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Game Mode:
      Creative
    • Category:
      Player
    • Mojang Priority:
      Trivial

      Description

      The bug

      When holding a sword or trident in Creative mode, clicking on a block resets the attack cooldown. However, the player is not informed of this as the attack speed indicator does not appear.

      How to reproduce

      1. Ensure you are in Creative mode:
        /gamemode creative
      2. Give yourself a sword that deals 10 attack damage and has a slow attack speed:
        /replaceitem entity @s weapon diamond_sword{AttributeModifiers:[{AttributeName:generic.attack_damage,Amount:10,UUID:[I;1,2,3,4]},{AttributeName:generic.attack_speed,Amount:-3.5,UUID:[I;5,6,7,8]}]}
      3. Spawn a cow
      4. Attack the cow with the sword when the attack meter is full
        The cow is killed
      5. Spawn another cow
      6. Click on a block with the sword when the attack meter is full
        The attack speed indicator is not displayed
      7. Immediately attack the cow
        The cow is not killed

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Darth Cobby [Helper] j_p_smith
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: