The bug
The attack indicator fills at a completely different rate than the item raises.
1. By the time the item enters the screen, the attack indicator is more than halfway full:
[media][media]
2. By the time the hotbar indicator is full, the item is still mostly off-screen. It continues raising for a moment while the indicator remains full:
[media]Hotbar Indicator:
Item begins raising at 50%.
Item stops raising at ~125%.
Crosshair Indicator:
Item begins raising at 50%.
Item stops raising at 100%.
How to reproduce
The animation is very quick. It's noticeable with any item, even non-weapons. To see the discrepancy precisely, use a weapon with very slow attack speed:
/give @p diamond_sword{AttributeModifiers:[{AttributeName:"generic.attack_speed",Name:"Attack Speed",Amount:-3.8d,Operation:0,UUID:[I;9,7,5,3],Slot:"mainhand"}]}
Attachments
Comments 18
Feature suggestions...? Are you implying that the attack indicator is supposed to be meaningless?
Also, Marcono, here's an easy way to see it happening:
/give @p diamond_sword 1 0 {AttributeModifiers:[{Name:a,AttributeName:generic.attack speed,UUIDMost:3727,UUIDLeast:2729,Operation:0,Amount:-3.9}]}
Keep in mind that this also happens with normal-speed items, it's just easier to see this way.
Confirmed for
16w04a
Looks like the "percentage" of how far the icon should be filled is rounded up
@unknown please add the command to reproduce to the description or add the following one:
/give @p diamond_sword 1 0 {AttributeModifiers:[{AttributeName:"generic.attackSpeed",Name:"Attack Speed",Amount:-3.9d,Operation:0,UUIDLeast:1L,UUIDMost:1L,Slot:"mainhand"}]}
This site is for bug reports only. For feature suggestions or changes please see: Minecraft Suggestions on Reddit.