mojira.dev
MC-198674

Enderman doesn't immediately teleport away to valid blocks when taking damage from dangerous blocks

An enderman teleported into the water. I would expect that it teleports immediatly away. Instead of doing this, it stands a time standing in the water and taking damage. Then, It teleported to another place in the water and stands there a time. then, it teleports away. This all happened in daylight.

Linked issues

Attachments

Comments 12

Please provide a screenshot of your game while this is occurring with the F3 debug screen enabled.

I will take one if it happens again

 

I can reproduce this issue in 1.17. Just push a Enderman in the water. You can spawn the Enderman in.

Can confirm in 1.17.1 and 21w37a. This does not only affect water, but all blocks that cause damage; this happens especially if there are few available blocks to teleport to.

Can confirm in 21w39a. This is easier to see with lava.

2 more comments

In 23w32a

Endermen can even walk towards the player in water while damaged, if they were pushed there by other mobs

Interestingly I can't suddenly reproduce this in 1.20.2

In 23w41a

In 24w34a

In 24w35a

WoutZeester1

(Unassigned)

Confirmed

Mob behaviour

enderman, teleport

1.16.2, 1.17, 1.17.1 Pre-release 1, 1.17.1 Pre-release 2, 1.17.1 Pre-release 3, ..., 22w15a, 1.20, 23w43b, 1.21.1, 24w35a

Retrieved