Vehicle teleportation needs to be fixed #1

Closed
opened 2021-02-20 15:11:16 +01:00 by EpicKnarvik97 · 4 comments

Vehicle teleportation is currently kind of buggy and weird. One problem is that the VehicleMoveEvent works fine to detect minecarts, but does not detect pigs and horses. One way to fix this is to detect these on the player telportation event, but then we need to avoid triggering this twice when the user teleports using a minecart.

There's also some problems placing the player back on the vehicle. With minecarts, it only seems to work properly if the minecart is destroyed, then recreated. With horses, it's awful to fully recreate a horse, so there needs to be a way of making this work by just teleporting the vehicle and then putting the player on top.

Vehicle teleportation is currently kind of buggy and weird. One problem is that the VehicleMoveEvent works fine to detect minecarts, but does not detect pigs and horses. One way to fix this is to detect these on the player telportation event, but then we need to avoid triggering this twice when the user teleports using a minecart. There's also some problems placing the player back on the vehicle. With minecarts, it only seems to work properly if the minecart is destroyed, then recreated. With horses, it's awful to fully recreate a horse, so there needs to be a way of making this work by just teleporting the vehicle and then putting the player on top.
EpicKnarvik97 added the
bug
label 2021-02-20 15:11:16 +01:00
Author
Owner

There seems to be a weird bug when putting the player back on a living vehicle. While testing on a pig, the carrot on a stick seems to rotate the pig, but the player can move freely. When clicking shift, the player is teleported back to the pig. It seems this might be a bug in Paper or Minecraft. It's present in 1.16.5-503.

There seems to be a weird bug when putting the player back on a living vehicle. While testing on a pig, the carrot on a stick seems to rotate the pig, but the player can move freely. When clicking shift, the player is teleported back to the pig. It seems this might be a bug in Paper or Minecraft. It's present in 1.16.5-503.
Author
Owner

I was able to make horse and pig teleportation work, at the cost of minecart teleportation in some cases. Back to debugging I guess...

I was able to make horse and pig teleportation work, at the cost of minecart teleportation in some cases. Back to debugging I guess...
Author
Owner

The minecart teleportation has been fixed, but the player isn't always rotated forwards, which is quite annoying.

The minecart teleportation has been fixed, but the player isn't always rotated forwards, which is quite annoying.
Author
Owner

Horses sometimes decide to glitch out, causing the player to get stuck where it cannot move the camera left and right, only up and down. The player cannot dismount the horse. Leaving and joining again seems to fix the problem. Usually when this occurs, the player is facing right or left from the portal exit.
Edit: Horse is invisible, but can be heard.

Horses sometimes decide to glitch out, causing the player to get stuck where it cannot move the camera left and right, only up and down. The player cannot dismount the horse. Leaving and joining again seems to fix the problem. Usually when this occurs, the player is facing right or left from the portal exit. Edit: Horse is invisible, but can be heard.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: EpicKnarvik97/Stargate#1
No description provided.