-
Bug
-
Resolution: Fixed
-
Minecraft 16w06a, Minecraft 1.9, Minecraft 1.9.2, Minecraft 16w15a, Minecraft 16w15b, Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21b, Minecraft 1.10, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w44a, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w13b, Minecraft 1.12, Minecraft 17w45b, Minecraft 18w07a, Minecraft 18w11a, Minecraft 18w20c, Minecraft 18w22c, Minecraft 1.13-pre2, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13, Minecraft 18w30a, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w50a, Minecraft 19w04b, Minecraft 19w07a, Minecraft 19w11a
-
Confirmed
-
(Unassigned)
The bug
If you aggro an enderman in survival mode, then switch to creative mode, it continues to teleport behind you.
How to reproduce
- Look at an enderman in survival mode
- Switch to creative mode
- The enderman stops attacking you
- Walk away from the enderman
→ Notice the enderman continues to teleport behind or near you (without attacking you) even if you try to run away from it
Notes: It continues it even if you switch to spectator mode or back to survival.
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
It looks like the problem is that the task net.minecraft.entity.monster.EntityEnderman.AIFindPlayer is not reset when the player switched to creative or spectator mode.
- is duplicated by
-
MC-100993 If you aggro an enderman in survival, then switch to creative, it continues to teleport behind you
- Resolved
-
MC-129164 Minecraft 1.12.2 Endermen don't attack you, but teleport to you wherever you go when switching to creative after making them hostile towards you.
- Resolved
-
MC-143122 enderman bug
- Resolved