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

Entities do not forget unreachable or out of of sight targets leading them to not attack closer targets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w18c, Snapshot 13w19a, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w39b, Minecraft 13w41a, Minecraft 13w41b, Minecraft 13w42a, Minecraft 13w42b, Minecraft 15w34a, Minecraft 15w44b, Minecraft 1.10.2, Minecraft 16w33a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 1.11, Minecraft 1.11.2, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w04b, Minecraft 19w05a, 1.15.1, 1.15.2, 20w20a, 1.16 Pre-release 2, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 1.16.2 Pre-release 2, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3, 1.16.4 Pre-release 1, 1.16.4, 20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w11a, 21w19a, 1.17, 1.17.1, 1.18.1, 1.18.2 Pre-release 1, 1.18.2 Pre-release 2, 1.18.2 Release Candidate 1, 1.18.2, 22w14a, 1.19, 1.19.1, 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.1, 24w11a, 1.21, 1.21.1, 1.21.2 Pre-Release 3, 1.21.3, 1.21.4
    • None
    • Confirmed
    • Mob behaviour
    • Low
    • Gameplay

      The Bug:

      Entities do not attack the nearest targets.

      Steps to Reproduce:

      1. Build the setup as shown in the attachment below. setup.png
      2. Stand on top of the cobblestone slab and summon a villager with NoAI at your location by using the command provided below.
        /summon minecraft:villager ~ ~ ~ {NoAI:1b}
      3. Spawn a husk on top of each of the four diamond blocks and observe how they all become aggressive towards the villager.
      4. Summon a villager on top of each of the four diamond blocks.
      5. Wait around twenty seconds and watch the behavior of the husks closely.
      6. Take note as to whether or not entities attack the nearest targets.

      Observed Behavior:

      Entities do not attack the nearest targets.

      Expected Behavior:

      Entities would attack the nearest targets.

        1. 2013-03-23_17.49.39.png
          2013-03-23_17.49.39.png
          462 kB
        2. 2020-07-01 22-36-37.mp4
          8.28 MB
        3. MC-12689.mp4
          5.43 MB
        4. MC-12689.png
          MC-12689.png
          955 kB
        5. setup.png
          setup.png
          317 kB
        6. Video report.zip
          4.09 MB

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            22 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              CHK: