Endermen won't teleport/dodge melee attacks if the player isn't aiming at their head
Resolved
Works As Intended
25
The bug
Due to MC-87907 being fixed, an unintended side effect has been caused where endermen will not dodge the player's melee attacks if they are aiming at somewhere other than their head. They appear to "lag" in place (MC-101700) and fail to teleport, and effectively stay in the same spot. Since the dodging is caused by "looking" at the endermen while they are aggroed while close to the player, changing the "look" area also changes the area that triggers their dodging.
Previously they would dodge if you were attacking their torso.
How to reproduce
Spawn an endermen
Punch its torso area; notice how he "attempts" to teleport (MC-101700) fails to teleport and stays in the same spot.
Punch its head, it will teleport and dodge the attack.
As far as i know this has always been in the game. I've always aimed at endermen's legs to make sure they don't teleport away, since as far as i can remember there being endermen. I don't think this is a bug, but a useful feature that you can use to your advantage.
EDIT: Tested this in versions all the way back to 1.9. This feature has always been in the game. Endermen won't teleport if you hit them in the legs. Just how it is.
Not a false bug report, MC-185684 refers to situations where there is nowhere to teleport to within the enderman's 32 block max range. Specifically people building endermen farms with nowhere within range for them to escape to. Due to the bug their max range was changed in 1.16 to "infinite", at least height-wise.
Not sure why it's actually needed since you can just attack their bottom third to avoid them teleporting away (intended behavior).
I agree that attacking their middle third SHOULD cause them to teleport-dodge. Good to see bug reporters work to get the old intended enderman behaviors back (like "you have to STOP looking them in the face before they get triggered because it's a staring contest").
You're absolutely right. Well played.