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

Interacting with blocks resets attack speed

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, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 3, 1.16.5, 21w06a, 21w08b, 21w10a, 21w11a, 1.20.1, 1.20.4, 1.21
    • None
    • Confirmed
    • Combat, Player

      The bug

      After right-clicking blocks that can be interacted with, such as doors, buttons, levers, and note blocks, the attack speed will reset and there is no indication made via the attack indicator.

      How to reproduce

      1. Get a command block and a wooden sword
      2. Put a button on the command block and put this command into the command block:
        summon pig ~ ~1 ~ {Health:4f}
      3. Push the button with wooden sword in hand, and right after pushing it, hit the pig
      4. Notice the pig is not dead and that no attack indicator appeared after pushing the button

      As the pig is at 4 health, and wooden swords do 4 damage, the pig should be dead, but it is still alive. Either the button should not reset attack speed, or the attack indicator should reflect the reset.

            Unassigned Unassigned
            Aldinyx Aldinyx
            Votes:
            7 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: