When I tried to teleport to any entity to any entity using this:
/execute as <entity> at @s at @n[distance=0.01..] run tp @s ~ ~ ~
The entity executing the command or I won't get teleported.
It would work using this:
/execute as <entity> at @s run tp @n[distance=0.01..]
but there's still the problem when using similar commands to:
/execute as <tamable entity> at @s on owner run tp ~ ~ ~
because this is currently impossible due to the bug.
Linked issues
duplicates 1
Comments 2
Thank you for your report!
We're tracking this issue in MC-276315, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as Fixed. Please check the Fix Version/s field in that ticket to see in which version this behavior was or will be fixed.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
This ticket duplicates MC-276315.