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

The Owner tag of ender pearl works unexpected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.17.1
    • None
    • Running Java 16 x64 on Windows 10.
    • Unconfirmed
    • Entities

      Expected behavior

      When Ender Pearl is thrown by a player, its Owner tag should be equal to the UUID of its thrower. And when modify the Owner tag, its teleport target should be change to the entity who's UUID is match the Owner tag.

      Actual behavior

      1. When the player throws Ender Pearl (Owner tag is automatically generated), change it to an Armor Stand, will eventually still teleport the player. Unexpected
      2. Using summon command with the Owner tag will be teleported its owner. Expected

      Steps to reproduce

      1. Place a repeat command block, always active, no condition. And type following command in the command block.

      execute as @e[type=ender_pearl] run data merge entity @s {Motion: [0.0, 0.0, 0.0]}

      the command will let the ender pearl stay in the air and not back to the ground.

      2. Throw an ender pearl.

      3. Place an armor stand.

      4. Run this command for copy the UUID of the armor stand to the Owner of the ender_pearl.

      data modify entity @e[type=ender_pearl,limit=1] Owner set from entity @e[type=armor_stand,limit=1,sort=nearest] UUID 
      

      5. Stop running the command block you placed on the first step. Now the pearl should be fallen. The Owner had changed, so the armor stand should be teleported. But you will be teleported.

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

              Created:
              Updated:
              Resolved: