mojira.dev
MC-304733

The attack indicator animation always stutters when switching items

The attack indicator’s animation always stutters when switching items. It is most noticable when switching from something with a fast attack speed (like a bare hand) to something with a slow attack speed (like a diamond axe).

This may be caused by attributes not being updated on the correct tick when switching items, which is the same bug that causes MC-28289.

Attachments

Comments 3

Another bug may also relate to MC-28289 .If a player mine a instant-mining block like grass, the attack cool down will reset but the indicator will not.

I don’t know if anyone has reported this.

Reply to Amethyst Enderdragon:

That is intentional to prevent the attack indicator from constantly showing when breaking blocks.

I think it’s not necessary for preventing something. This mod https://modrinth.com/mod/attack-cooldown-syncfixes this bug. During the game, I don’t find attack indicator constantly showing as you mentioned.

SeaOfPixels

(Unassigned)

Confirmed

Platform

Normal

UI

1.21.10, 1.21.11 Pre-Release 5, 1.21.11, 26.1 Snapshot 2, 26.3, 26.4 Snapshot 3, 26.4 Snapshot 10

Retrieved