Remove obsolete MC-4 workaround - #14273
Merged
Merged
Conversation
Doc94
approved these changes
Sep 17, 2026
kashike
approved these changes
Sep 18, 2026
Member
|
HI, |
zzzzzyc
added a commit
to zzzzzyc/docs
that referenced
this pull request
Sep 18, 2026
Removed the configuration option for sending full position for item entities. as PaperMC/Paper/pull/14273
Author
|
Docs cleanup: PaperMC/docs#797 |
Doc94
force-pushed
the
fix-mc-4-cleanup
branch
from
September 18, 2026 14:09
79564ac to
6b76c3f
Compare
Member
|
Thanks for the contribution :) |
Doc94
pushed a commit
to PaperMC/docs
that referenced
this pull request
Sep 18, 2026
Removed the configuration option for sending full position for item entities. as PaperMC/Paper/pull/14273
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
As mentioned in #14260, MC-4 is a bug that has existed in the vanilla game for many years. Paper previously added the
misc.send-full-pos-for-item-entitiesconfiguration, which marks all dropped items to require the sending of precise coordinates as a temporary workaround.However, in Minecraft 26.2+ (and 26.3), Mojang officially added a check for precision loss during collision detection specifically for
ItemEntityinServerEntity#isFullPrecisionEncodingRequired. When precision loss is detected, a full-precision synchronization packet is automatically sent. The original version has fundamentally fixed MC-4.Paper’s patch and corresponding configuration are now completely obsolete and redundant and can be safely removed.
This PR makes the following changes:
requiresPrecisePosition(true)inItemEntity.java.misc.sendFullPosForItemEntitiesconfiguration option fromGlobalConfiguration.misc.send-full-pos-for-item-entitiesinRemovedConfigurations.javato ensure that servers upgraded from older versions will automatically clean up this entry when readingpaper-global.yml, preventing unknown configuration warnings.The build passed when running
./gradlew compileJavalocally.Closes #14260