mojira.dev
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

Linked issues

Comments 0

No comments.

Jon1337

kingbdogz

Confirmed

Mob behaviour

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

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

20w07a

Retrieved