Skip to content

Conversation

@lynxplay
Copy link
Contributor

The previous teleportation logic would call Entity#positionRider for the
"teleportation" of passengers in the same dimension.
This prevented plugins that aggressively teleport entities on a per-tick
basis from allowing players to get out of sync with their vehicles as
the vanilla teleport logic simply performs a relative repositioning of
the passengers to the vehicle location.

The introduced diff now repositions the passengers onto their vehicle
before computing their relative offset and repositioning.

Resolves: #13239

The previous teleportation logic would call Entity#positionRider for the
"teleportation" of passengers in the same dimension.
This prevented plugins that aggressively teleport entities on a per-tick
basis from allowing players to get out of sync with their vehicles as
the vanilla teleport logic simply performs a relative repositioning of
the passengers to the vehicle location.

The introduced diff now repositions the passengers onto their vehicle
before computing their relative offset and repositioning.
@lynxplay lynxplay requested a review from a team as a code owner November 23, 2025 17:47
@github-project-automation github-project-automation bot moved this to Awaiting review in Paper PR Queue Nov 23, 2025
@lynxplay lynxplay added the publish-pr Enables a workflow to build Paperclip jars on the pull request. label Nov 23, 2025
@papermc-pr-publishing
Copy link

Last updated for: a9f8ec56b9c25325dd3de7fb59ccd8accfd5336f.

Download the Paperclip jar for this pull request: paper-13342.zip

Maven Publication

The artifacts published by this PR:

Repository Declaration

In order to use the artifacts published by the PR, add the following repository to your buildscript:

repositories {
    maven("https://maven-prs.papermc.io/Paper/pr13342") {
        name = "Maven for PR #13342" // https://github.com/PaperMC/Paper/pull/13342
        mavenContent {
            includeModule("io.papermc.paper", "dev-bundle")
            includeModule("io.papermc.paper", "paper-api")
        }
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

publish-pr Enables a workflow to build Paperclip jars on the pull request.

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

Minecart teleportation regression in teleport changes

1 participant