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
    • 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 replicate

      1. Feel free to enter the End dimension if you wish
      2. Summon a polar bear into existence
      3. Launch an ender pearl.
      4. 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
      5. Launch an ender pearl.
      6. 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:ender_dragon,limit=1] UUID

      Observed behavior: Non-player entities like polar bears and ender dragons in this scenario are not sustaining damage from teleportation.
      Expected behavior: Non-player entities such as these would also be subject to damage.

      (Issue description originally created by Paintings are invisible)

            Unassigned Unassigned
            Jingy Jiingy
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: