Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-269615

Non-player entities do not sustain damage when teleported using an ender pearl

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.4, 24w11a, 24w12a, 1.21.3, 24w45a
    • Confirmed
    • Commands, Mob behaviour
    • Low
    • Platform

      Players suffer damage when teleported by an ender pearl, whereas mobs remain unharmed upon the teleportation process.

      Steps to Reproduce:

      1. Summon a polar bear into existence
      2. Throw an ender pearl
      3. 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.

            Unassigned Unassigned
            Jingy [Mod] Jiingy
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: