Players suffer damage when teleported by an ender pearl, whereas mobs remain unharmed upon the teleportation process.
Steps to Reproduce:
Summon a polar bear into existence
Throw an ender pearl
Execute the following command before the ender pearl lands:
/execute as @e[type=minecraft:ender_pearl] at @s run data modify entity @s Owner set from entity @e[type=minecraft:polar_bear,limit=1] UUID
Expected Behavior:
Non-player entities would take damage the same way the player does when throwing an ender pearl.
Observed behavior:
Non-player entities (like the polar bear in this example) do not take damage from teleportation from ender pearl.
Linked issues
relates to 1
Attachments
Comments 3
When addressing this issue, ensure that the fix also covers non-living entities such as minecarts, etc., and ender dragons (as depicted in the video). It's important to note that ender pearls have the ability to teleport any entity, regardless of whether it is living or non-living.
Relates to MC-270153
Confirmed for 1.20.4. Relates to MC-269617.