mojira.dev
MC-71256

Endermen immediately start moving after being looked at instead of freezing and staring back at you

The Bug

When you stare at endermen, instead of stopping, staring, and then attacking you only when you look away, they immediately charge at you. I have seen this in the 1.8 snapshots and all versions after it.

Expected behavior

When looking at an enderman it would wait until I looked away to attack.

How to reproduce

  1. In 1.8 and up, spawn a enderman and stare at it to anger it

  2. The enderman will charge at you instead of engaging in the original "staring contest" behavior

Related issues

Attachments

Comments

migrated
[media][media][media][media]
Sonicwave

Also the stare is now triggered by looking at its lower chest instead of its eyes like before.

Orbic

Yes, I noticed that bug as well. It has been around for a long time.. ever since I started Minecraft, back in late 1.4. Maybe even before then.

migrated

15w43a

kumasasa

Is this still an issue in the current Minecraft Snapshot 15w45b or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

migrated

This is still in the recent snapshots and appears to be less known. This bug has been around since Endermen were given updated AI in 1.8.

The correct behavior is that Endermen should stand still when the player places their crosshair on them, but this was broken when they were given the updated AI.

Orbic

Yep, this is still a thing. Just tested in the most recent versions.

SunCat

Still in 16w06a

Orbic

Still in 1.9

Orbic

This is still a problem in 1.9.3-pre2

Sonicwave

Still in 17w14a.

migrated

Confirmed for 1.12

Orbic

Confirmed for 18w07c

[media]

migrated

Confirmed for 18w22c

migrated

Confirmed for 18w32a

migrated

Confirmed for 1.13.1. 

migrated

Still in 18w50a

FaRo1

This is not completely fixed. When you stand close to them, they start shaking and then teleport away, thereby breaking eye contact.

Orbic

Ok so, after some testing I've come to realize this big is only partially fixed, but not in the way Fabian described it. I'm not sure if their discovery is WAI or not, as them teleporting away as your draw near makes sense, but what I found is basically the opposite: Endermen still won't act properly if you're too far away.

 

At 10 blocks, behavior is as expected:

[media][media]

 

At 20 blocks, things start getting a bit buggy:

[media][media]

 

And at a very far distance, they'll immediately run at you unless they happen to fall into your cursor

[media][media]

 

It seems the issue is that, from afar, their detection is wonky and the only thing that triggers is the hostility, not the "staring contest." If they get into your cursor again they'll stop, but unless you remain staring straight ahead its unlikely that they will. 

As such, I'd say this bug is unfortunately only partially fixed. It still effects the mob's behavior after a certain distance. 

migrated

@unknown Well that does make sense. If you stare at it, it won't charge at you, but if you walk to close it will teleport away to sneak up on you and attack because if you get close to it then it is in your reach and it would only be natural for it to teleport away as self-defense.

boq

From my tests, before 1.5 enderman slowly "twitched" towards players (since actual method of freezing them was buggy). When they reached certain distance threshold, they teleported away. New behavior still has this "teleport away".

Adding upper limit for staring and unexpected un-freezes after some time are intended (even if somehow arbitrary).

Orbic

Thank you for the confirmation!

Orbic

boq

Confirmed

Enderman, Mob, Stare, enderman

Minecraft 1.7.10, Minecraft 14w34d, Minecraft 1.8-pre3, Minecraft 1.8, Minecraft 1.8.8, ..., Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08a, Minecraft 19w08b, Minecraft 19w09a

Minecraft 19w11a

Retrieved