Reproduce:
Normal:
There are two valid entities. Both A and B are in overworld.
this.applyComponentChanges(B, this.getComponent(A, "minecraft:position"));
B will be teleported to A.
Bug:
There are two valid entities. C is in the_end and D is in overworld.
this.applyComponentChanges(D, this.getComponent(C, "minecraft:position"));
D will not be teleported to C!
The scripting engine lacks API about dimensions! Not only "minecraft:position", but also commands, ticking areas, blocks and entity queries will be buggy when the case involves dimensions.
Too many features are hard to implement without the ability to interact with dimensions. Don't tell me this is not a bug.
Comments 6
@osfanjoshua No, it's not.
The JS API has been so awkward that even teleporting will be one of the most important features. But even teleporting is buggy.
The scripts are not working as supposed.
How can you say this is not a bug?
It is a new feature request. It might be a very useful feature, but it is still a new feature and not a bug.
@osfanjoshua The useless API can't even perform a perfect teleport. You want me to post this thing as a feedback then wait for years for a "NEW" feature should have been there already for years.
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.
Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.
For any account or purchasing related issues, please contact Minecraft Customer Support directly, as we cannot assist with those here at the bug tracker.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
I think this is a feedback request.