-
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
- When the player throws Ender Pearl (Owner tag is automatically generated), change it to an Armor Stand, will eventually still teleport the player. Unexpected
- 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.
- duplicates
-
MC-226344 Changing the "Owner" tag of a projectile doesn't affect the outcome of the projectile unless the world is reloaded
- Resolved