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

papermc-pr-publishing bot commented Nov 23, 2025

Last updated for: 454cdc208ca1e1c7010e2df182cca05814d278a6.

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")
        }
    }
}

@lynxplay lynxplay moved this from Awaiting review to PR Party candidate in Paper PR Queue Dec 19, 2025
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: PR Party candidate

Development

Successfully merging this pull request may close these issues.

Minecart teleportation regression in teleport changes

2 participants