How to reproduce
Attack an enderman
Kill the enderman, with your last hit knock it into water.
Dying enderman teleports away, no loot or xp for you.
Expected behaviour
Killed enderman should not teleport away.
Linked issues
is duplicated by 4
relates to 3
Comments 16
The enderman already doing the dying animation but teleports away if falls into the water. I think it is similar problem like MC-606 where the killed zombie picked up it's own flesh.
In Beta 1.9pre5 dying teleporting endermen taking loot with them was fixed but not the experience, confirmed.
Also MC-4254 is about this behaviour.
While that bug report about "Endermen teleport psychotically when on fire / during rain", the reporter observed "if they are killed while on fire, they'll still attempt to teleport and their body (along with their exp) will be teleported to their 'chosen' location."
That bug report was closed with "Works As Intended" and that is fine about the crazy teleporting behaviour, but I think, this - killed but still attempt to teleport - part of the bug report was overlooked and should be fix.
Oh, while i searched in the bug database, it has been confirmed. Cool 🙂
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
(Automatic Message)
Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w43a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself.
A simpler test case could be to issue the kill command to endermen.
The server I play on runs a custom plugin called moblimiter which culls active old mobs past a certain age and mobs of a certain density in an unloaded chunk. It basically keeps the game from becoming inherently "peaceful" because all the mobs are stuck out of range.
It's quite unsettling to be playing/mining in the end and all the endermen around me spontaneously die AND teleport.
It feels like the order of operations is not quite right or there is no "am I dead or dying" check.
This seems expected. It sounds as if you are hitting the Enderman into the water thereby teleporting him. However, he also takes the damage from the water and that kills him.