Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-183392

Attack and charging/using a Bow, Crossbow, or Trident at the same time doesn't stop the attack animation in first person

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.50.24 Preview, 1.21.40.22 Preview, 1.21.40.20 Preview, 1.21.20.24 Preview, 1.21.10.24 Preview, 1.21.1 Hotfix, 1.21.30.22 Preview, 1.21.2 Hotfix, 1.21.30.23 Preview, 1.21.21 Hotfix, 1.21.30
    • None
    • Confirmed
    • Multiple
    • 1263717

      Attack and Charging/Using a Bow, Crossbow, or Trident at the same time doesn't stop the Attack animation in First Person, this is not the case while Eating or Toothing Goat Horn, as the attack animation will stop immediately while Eating/Toothing Goat Horn animation play

      Step to Reproduce:
      1. Give yourself a Bow, Crossbow, or Trident
      2. Press Left Click (Attack) and then quickly press Right Click (Use) to use/charge the item, the attack animation still play
      3. Now give yourself a Bread or Goat Horn
      4. Repeat Step 2, the attack animation stop immediately while Eating/Toothing Goat Horn

      This can be fixed by replacing "first_person_attack_controller" inside player.animation_controllers.json from this:

      "first_person_attack_controller" : "variable.attack_time > 0.0f && query.get_equipped_item_name != 'filled_map'"

      to this:

      "first_person_attack_controller" : "variable.attack_time > 0.0f && query.get_equipped_item_name != 'filled_map' && !query.is_using_item"

        1. Fixed.mp4
          6.91 MB
        2. MCPE-183392 Fix.mcpack
          9 kB
        3. Vanilla.mp4
          6.99 MB

            Zlexy KejuGorenk
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: