-
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, 1.20.6, 24w18a, 24w19a, 24w19b
-
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
- is duplicated by
-
MC-119461 Attack Cooldown Is Not Always Visually Indicated
- Resolved
-
MC-227460 visual error when hitting a mob after using an egg with the another hand
- Resolved
-
MC-229442 Attack cooldown reset after the "use" function
- Resolved
-
MC-233025 Damage Cooldown
- Resolved
-
MC-271610 Unable to do critical hit with mace after the wind charge boost.
- Resolved
- relates to
-
MC-116510 Attack indicator doesn't indicate (most of the time) that breaking instantly-mineable blocks resets your attack
- Open
-
MC-196714 Attempting to mine a block while holding a sword/trident in Creative mode resets attack cooldown, but doesn't display attack indicator
- Open
-
MC-255058 AttackStrengthTicker desynchronization when swinging
- Open
-
MC-135063 Interacting with blocks resets attack speed
- Open