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

Wardens prioritize player attacks over mob attacks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Works As Intended
    • None
    • 22w17a
    • None
    • Unconfirmed
    • (Unassigned)

    Description

      The bug

      If a mob attacks the warden, and then another mob attacks the same warden, the warden will still be focused on the first mob that attacked it. However, if a mob attacks the warden, and then the player attacks that same warden, the warden will change to target the player, which is inconsistent.

      How to reproduce

      1. Create a setup with two pillagers and one warden, such that the pillagers can be made to shoot the warden depending on the player's position
      2. Move such that one pillager shoots the warden
      3. Have the other pillager shoot the warden before it kills the first one
      4. Now repeat this experiment, but with only one pillager
      5. Have the pillager shoot the warden
      6. Wait a few seconds, and then throw an egg at the warden

      Expected results

      Since the warden didn't immediately change targets to the second pillager after being shot by the first, the same would also apply to players.

      Actual results

      Apparently the player throwing an egg at the warden is of a higher priority to it than it being shot with sharp, dangerous arrows.

      Attachments

        1. 2022-04-28_15.09.46.png
          2022-04-28_15.09.46.png
          399 kB
        2. 2022-04-28_15.09.50.png
          2022-04-28_15.09.50.png
          478 kB
        3. 2022-04-28_15.10.03.png
          2022-04-28_15.10.03.png
          366 kB
        4. 2022-04-28_15.10.04.png
          2022-04-28_15.10.04.png
          319 kB
        5. 2022-04-28_15.10.15.png
          2022-04-28_15.10.15.png
          315 kB
        6. 2022-04-28_15.10.16.png
          2022-04-28_15.10.16.png
          308 kB
        7. 2022-04-28_15.10.18.png
          2022-04-28_15.10.18.png
          307 kB
        8. 2022-04-28_15.10.20.png
          2022-04-28_15.10.20.png
          314 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Awesoman3000 Connor Steppie
              Votes:
              3 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: