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

Enderman keep follow player in creative mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 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
    • Fix Version/s: Minecraft 19w12a
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      If you aggro an enderman in survival mode, then switch to creative mode, it continues to teleport behind you.

      How to reproduce

      1. Look at an enderman in survival mode
      2. Switch to creative mode
      3. The enderman stops attacking you
      4. 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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ProfMobius [Mojang] ProfMobius (Thomas Guimbretiere)
                Reporter:
                Asteraoth [Mod] Asteraoth
              • Votes:
                18 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: