If you look at or hit an enderman and it becomes aggroed, shooting it with an arrow will cause it to teleport away like it does when it takes environmental damage.
Comments 7
The Enderman will still take damage, and get caught on fire if you are using a Flame bow. That doesn't seem like it would be intentional.
This seems to be intended behaviour since an arrow is an indirect attack method and the code causes it to teleport randomly in such an instance.
If they are taking damage from bows, that could be considered a bug, since endermen aren't supposed to be able to be hit by projectiles.
I think is more that they are hit by the projectile and then teleport as a result. Not that they aren't hit at all. At least that is what I am seeing in the code.
It seems like it is intended but hopefully someone from Mojang will come and let us know for sure.
I'm finding that, at least in daylight (e.g. on the surface in a plains biome), endermen become deaggroed every time they teleport for any reason.
This behavior is intentional, iirc. Endermen cannot be hit by projectiles, regardless of whether they are aggro'd or what the source of the projectile is.
EDIT: Does it actually deaggro, or just get lost in caves or something?