Skip to content

Position riders before API teleportation - #13342

Merged
lynxplay merged 1 commit into
PaperMC:mainfrom
lynxplay:feature/teleport-transition-polish
Jul 25, 2026
Merged

Position riders before API teleportation#13342
lynxplay merged 1 commit into
PaperMC:mainfrom
lynxplay:feature/teleport-transition-polish

Conversation

@lynxplay

Copy link
Copy Markdown
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

@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

papermc-pr-publishing Bot commented Nov 23, 2025

Copy link
Copy Markdown

Last updated for: 23b3f022d6d51c90c3654f4f2d2f34a8ddf4c8d7.

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
@lynxplay
lynxplay force-pushed the feature/teleport-transition-polish branch 3 times, most recently from 7b80dc3 to 23b3f02 Compare May 12, 2026 15:51
@lynxplay
lynxplay force-pushed the feature/teleport-transition-polish branch from 23b3f02 to c64cd16 Compare July 20, 2026 19:58
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 force-pushed the feature/teleport-transition-polish branch from c64cd16 to 58002ff Compare July 20, 2026 19:59
@lynxplay
lynxplay merged commit c1408c2 into PaperMC:main Jul 25, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from PR Party candidate to Merged in Paper PR Queue Jul 25, 2026
@lynxplay
lynxplay deleted the feature/teleport-transition-polish branch July 25, 2026 12:21
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: Merged

Development

Successfully merging this pull request may close these issues.

Minecart teleportation regression in teleport changes

2 participants