The bug
Enderman will continue to take cactus damage, even after moving or teleporting away from it. Destroying the block makes the enderman stop taking damage. Whether or not they hold a cactus block has no effect on this. Other hostile mobs do not exhibit this behavior, and only take damage when in contact with the cactus block.
Linked issues
is duplicated by 3
Comments 13
@unknown this IS MC-101725.
Confirmed for 18w30b
But not exactly as bug description says. Destroying the cactus makes them stop taking damage.
Confirmed for 1.13.2-pre1. It seems as though the enderman only teleports on the side of the client - server-side, it doesn't even teleport at all.
I can't reproduce this in 19w34a. Pushing endermen away from the magma block/cactus stops them from taking damage.
Can confirm for 1.9.4, the enderman tries to teleport away from the cactus but teleports back into the cactus.