[PR #6954] [MERGED] Port map: ServerEntity.isFullPrecisionEncodingRequired is implemented #7226

Closed
opened 2026-11-03 06:35:59 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6954
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/port-map-game-002


📝 Commits (1)

  • 9a9b86a Port map: ServerEntity.isFullPrecisionEncodingRequired is implemented

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 tools/port_map/game-002.tsv (+1 -1)

📄 Description

ServerEntity.isFullPrecisionEncodingRequired was listed as missing, but crates/horizon-client/src/lan/entity.rs::full_precision_required makes that decision: an item entity whose box was left against a block after a vertical or horizontal collision is sent a full position sync instead of the quantised delta that would decode to a different point, and primed TNT and a happy ghast take the precise branch before it.

The row now says port and names the function. The four rows this file still marks missing - ServerLevel.getEntityInAnyDimension, ServerPlayer.saveEnderPearls, ServerPlayer.loadAndSpawnEnderPearl, ServerPlayer.registerAndUpdateEnderPearlTicket - were re-checked against the tree and are still absent (target_with_uuid searches the level in place, and nothing saves or restores a thrown pearl).

Proven: python3 tools/port_ledger.py map-check tools/port_map/game-002.tsv -> 146 rows, no problems.
Not proven: no fresh ledger rebuild (map-check ran against the last build index), and no behaviour changed so nothing was run in the game.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/6954 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/port-map-game-002` --- ### 📝 Commits (1) - [`9a9b86a`](https://github.com/horizon-rust/horizon/commit/9a9b86ad933908ed8e5ddc1d844051c7298f5576) Port map: ServerEntity.isFullPrecisionEncodingRequired is implemented ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/game-002.tsv` (+1 -1) </details> ### 📄 Description `ServerEntity.isFullPrecisionEncodingRequired` was listed as `missing`, but `crates/horizon-client/src/lan/entity.rs::full_precision_required` makes that decision: an item entity whose box was left against a block after a vertical or horizontal collision is sent a full position sync instead of the quantised delta that would decode to a different point, and primed TNT and a happy ghast take the `precise` branch before it. The row now says `port` and names the function. The four rows this file still marks `missing` - `ServerLevel.getEntityInAnyDimension`, `ServerPlayer.saveEnderPearls`, `ServerPlayer.loadAndSpawnEnderPearl`, `ServerPlayer.registerAndUpdateEnderPearlTicket` - were re-checked against the tree and are still absent (`target_with_uuid` searches the level in place, and nothing saves or restores a thrown pearl). **Proven:** `python3 tools/port_ledger.py map-check tools/port_map/game-002.tsv` -> `146 rows, no problems.` **Not proven:** no fresh ledger rebuild (map-check ran against the last build index), and no behaviour changed so nothing was run in the game. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:35:59 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
horizon-rust/horizon#7226
No description provided.