Mojira Archive
MC-160053

Enderman keeps following the player after becoming neutral/passive

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

Fixed

Jon1337

[Mojang] Brandon Pearce

2019-08-29, 09:12 PM

2020-02-07, 09:45 AM

2020-02-07, 09:45 AM

1

0

Confirmed

Mob behaviour

enderman, endermen, hostility, mob-behavior, neutral, passive, teleport, teleporting

1.14.4 - 1.15.11.14.4, 19w34a, 19w35a, 19w36a, 19w38b, 19w39a, 19w41a, 19w44a, 1.15 Pre-release 1, 1.15.1

20w07a