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

Attack indicator and weapon position heavily out of sync

    XMLWordPrintable

    Details

    • 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
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      Items, UI

      Description

      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.attackSpeed",Name:"Attack Speed",Amount:-3.8d,Operation:0,UUIDLeast:1L,UUIDMost:1L,Slot:"mainhand"}]}
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tryashtar [Mod] tryashtar
            • Votes:
              9 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: