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

Enderman keeps following the player after becoming neutral/passive

    XMLWordPrintable

    Details

    • Confirmation Status:
      Confirmed
    • Category:
      Mob behaviour

      Description

      When an Enderman turns passive (which seems to be due to MC-94730) they keep following the player, like in the now-fixed bug MC-96946

      How to reproduce:

      1. Follow the MC-94730's instructions
      2. Walk away from the Enderman
      3. → Notice the Enderman continues to follow the player by teleporting

      Code analysis: (taken from MC-96946 and changed a bit, probably accurate here too)

      net.minecraft.entity.monster.EntityEnderman.AIFindPlayer is not reset when the Enderman stops being hostile

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jouppi22 Jon1337
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: