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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.12, Minecraft 1.12.1, Minecraft 18w14b, Minecraft 18w20a, 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, 1.15.2, 20w17a, 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, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w08b, 21w10a, 21w11a, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17 Pre-release 4, 1.17, 1.17.1 Pre-release 1, 1.17.1, 21w37a, 21w38a, 21w39a, 21w40a, 21w41a, 21w42a, 21w43a, 1.18 Pre-release 7, 1.18.1, 22w05a, 1.18.2, 1.19 Pre-release 1, 1.19, 1.19.1 Pre-release 4, 1.19.1, 1.19.3, 23w03a, 23w04a, 23w05a, 23w06a, 23w07a, 1.19.4 Pre-release 3, 1.19.4, 23w13a, 23w14a, 1.20 Pre-release 1, 1.20 Pre-release 2, 1.20 Pre-release 4, 1.20.1, 23w31a, 23w32a, 23w33a, 23w35a, 1.20.2 Pre-release 1, 1.20.2 Pre-release 2, 1.20.2, 23w40a, 23w41a, 23w42a, 23w44a, 1.20.4, 24w03b, 24w04a, 24w05a, 24w11a, 24w12a, 1.20.6, 1.21, 1.21.3
    • None
    • Confirmed
    • Creative
    • Player
    • Low
    • Gameplay

      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
      2. Give yourself a sword that deals 10 attack damage and has a slow attack speed:
        /give @s diamond_sword[attribute_modifiers={modifiers:[{amount:9,name:attack_damage,operation:add_value,type:generic.attack_damage,uuid:[I;1,2,3,4]},{amount:-3.5,name:attack_speed,operation:add_value,type:generic.attack_speed,uuid:[I;5,6,7,8]}]}]
      3. Spawn two cows
      4. Attack the first cow with the sword when the attack meter is full
        The cow is killed
      5. Click on a block with the sword when the attack meter is full
        The attack speed indicator is not displayed
      6. Immediately attack the second cow
        The cow is not killed

            Unassigned Unassigned
            Darth Cobby [Mod] j_p_smith
            Votes:
            12 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: