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

Attack indicator and weapon position heavily out of sync



    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 16w04a, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.10.2, Minecraft 16w33a, Minecraft 16w38a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13a, Minecraft 17w14a, Minecraft 17w15a, Minecraft 17w16a, Minecraft 17w16b, Minecraft 17w17a, Minecraft 17w17b, Minecraft 17w18a, Minecraft 17w18b, Minecraft 1.12 Pre-Release 1, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 5, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w45a, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w48a, Minecraft 17w49a, Minecraft 17w49b, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w10a, Minecraft 18w16a, Minecraft 1.13-pre1, Minecraft 1.13-pre8, Minecraft 1.13, Minecraft 18w30a, Minecraft 1.13.1, Minecraft 18w48b, Minecraft 19w04a, 20w17a
    • Fix Version/s: None
    • Confirmation Status:
    • Category:
      Items, UI


      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:


      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:

      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"}]}


        1. 2017-04-20_21.30.58.png
          31 kB
          [Mod] tryashtar
        2. 2017-04-20_21.31.00.png
          35 kB
          [Mod] tryashtar
        3. image-2018-07-25-21-28-07-421.png
          607 kB
          [Mod] tryashtar
        4. image-2018-07-25-21-31-00-277.png
          582 kB
          [Mod] tryashtar
        5. image-2018-07-25-21-32-46-660.png
          616 kB
          [Mod] tryashtar
        6. image-2018-07-25-21-33-40-710.png
          616 kB
          [Mod] tryashtar



            Unassigned Unassigned
            tryashtar [Mod] tryashtar
            10 Vote for this issue
            6 Start watching this issue