mojira.dev
MC-15862

Dying enderman teleports away if falls into water; takes experience to the teleportation destination

How to reproduce

  1. Attack an enderman

  2. Kill the enderman, with your last hit knock it into water.

  3. Dying enderman teleports away, no loot or xp for you.

Expected behaviour

Killed enderman should not teleport away.

Linked issues

Comments 16

Cameron Wheeler

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.

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)

6 more comments

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.

Yes, still in 16w43a.

Confirmed for 1.12-pre2

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.

I'm not able to reproduce this for 1.13.1.

József Mezei

slicedlime

Confirmed

Mob behaviour

death, enderman, experience, experience_orb, teleport, water

Minecraft 1.5.2, Snapshot 13w18c, Snapshot 13w19a, Minecraft 1.6.2, Minecraft 14w04a, ..., Minecraft 15w44b, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.3 Pre-Release 3, Minecraft 16w43a, Minecraft 1.12 Pre-Release 2

Minecraft 16w06a, 19w35a

Retrieved