Open NiaSwift opened 11 months ago
I believe this is only supported by Paper's experimental teleport API, and since it's still experimental it isn't suitable to add just yet. Please correct me (with javadocs!) if I'm incorrect, though.
I'm sure you can just dismount the passenger and teleport both, then remount them. My bet is most existing implementations do this.
Link to the java docs https://jd.papermc.io/paper/1.20/io/papermc/paper/entity/TeleportFlag.html And as Svooodle said it's a paper exclusive, this has been an experimental api since 1.19 and honestly isn't super great as they just do the exact same we as users do in their own way. Just more convenient
Paper for entity ones will grab vehicles/passengers and teleport as a collective then re-mount, at least that's how I view it being done when I saw it used in a discord voice channel.
Skript/Server Version
Bug Description
If you try to teleport an entity that has another entity riding it using Skript, it will not work. It doesn't give any errors, nor does it give any console errors. It just does not teleport them.
Expected Behavior
It should teleport them both to the desired location (and not dismount them or anything like that). It is possible using Java plugins and even with just vanilla Minecraft commands, but for some reason it isn't with Skript.
Steps to Reproduce
Errors or Screenshots
Here's a video example of the bug
Other
this took me like 2 hours to make (i have way too much free time on my hands)
guys we're so close to reaching 8 billion sobscrobers! smash like and sobscrobe so i can take over the entire skript github!!1!
(jokes aside, this is an actual bug report. please fix this kthxbye)
Agreement