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

Enderman keeps following the player after becoming neutral/passive

XMLWordPrintable

    • Confirmed
    • Mob behaviour

      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

            kingbdogz [Mojang] Brandon Pearce
            jouppi22 Jon1337
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: