[PR #6836] [MERGED] Port map: client-003 rows the tree already ports #7129

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

📋 Pull Request Information

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

Base: main ← Head: fix/map-client-003


📝 Commits (1)

  • fc27217 Port map: client-003 rows the tree already ports

📊 Changes

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

View changed files

📝 tools/port_map/client-003.tsv (+12 -12)

📄 Description

tools/port_map/client-003.tsv still marked twelve behaviours missing that the tree ports.

Vanilla:

  • ServerStatusPinger.pingLegacyServer falls back to the pre-1.7 ping when a server does not answer the status handshake.
  • ChatListener.isSenderLocalPlayer / ChatTrustLevel.evaluate mark a message secure, modified (the signed content is gone or the font changed) or not secure (unsigned or expired).
  • ChatTrustLevel.isModified / containsModifiedStyle decide the modified case; createTag turns the trust level into the tag; GuiMessageTag.chatModified and Icon.extractRenderState draw the modified tooltip and its icon.
  • CodRenderer.setupRotations sways a swimming cod and turns it onto its side out of water.
  • DisplayRenderer.BlockDisplayRenderer.extractRenderState, ItemDisplayRenderer.extractRenderState and submitInner read a display's block state or item and draw it under the display's transformation.

What Horizon got wrong: the map said all twelve were missing. They are ported in net.rs::ping_legacy (tried from multiplayer.rs), game/remote.rs::Game::chat_trust and ChatTrust::tag, chat.rs::Tag::modified and Chat::focused_tags (the icon/chat_modified sprite), mobs/aquatic.rs::rotations and game/text_displays.rs::RemoteTextDisplay::show with Game::block_item_display_geometry.

Proven: python3 tools/port_ledger.py build --jar .../client.jar --jar .../server.jar then python3 tools/port_ledger.py map-check tools/port_map/client-003.tsv -> 150 rows, no problems. After the rebuild, port_ledger.py where reports the rows as ported or mapped with the functions above.

Not proven: nothing was built or run: the change is a verdict-map correction only. In-game: join a server that answers only the legacy ping, read a modified and a Not Secure chat line while chat is focused, watch a cod swim and flop, and place a block display and an item display.


🔄 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/6836 **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:** `fix/map-client-003` --- ### 📝 Commits (1) - [`fc27217`](https://github.com/horizon-rust/horizon/commit/fc27217c05df934ba7e7cc9aa7f8f0f3e4e6a4c7) Port map: client-003 rows the tree already ports ### 📊 Changes **1 file changed** (+12 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client-003.tsv` (+12 -12) </details> ### 📄 Description `tools/port_map/client-003.tsv` still marked twelve behaviours missing that the tree ports. Vanilla: - `ServerStatusPinger.pingLegacyServer` falls back to the pre-1.7 ping when a server does not answer the status handshake. - `ChatListener.isSenderLocalPlayer` / `ChatTrustLevel.evaluate` mark a message secure, modified (the signed content is gone or the font changed) or not secure (unsigned or expired). - `ChatTrustLevel.isModified` / `containsModifiedStyle` decide the modified case; `createTag` turns the trust level into the tag; `GuiMessageTag.chatModified` and `Icon.extractRenderState` draw the modified tooltip and its icon. - `CodRenderer.setupRotations` sways a swimming cod and turns it onto its side out of water. - `DisplayRenderer.BlockDisplayRenderer.extractRenderState`, `ItemDisplayRenderer.extractRenderState` and `submitInner` read a display's block state or item and draw it under the display's transformation. What Horizon got wrong: the map said all twelve were missing. They are ported in `net.rs::ping_legacy` (tried from `multiplayer.rs`), `game/remote.rs::Game::chat_trust` and `ChatTrust::tag`, `chat.rs::Tag::modified` and `Chat::focused_tags` (the `icon/chat_modified` sprite), `mobs/aquatic.rs::rotations` and `game/text_displays.rs::RemoteTextDisplay::show` with `Game::block_item_display_geometry`. **Proven:** `python3 tools/port_ledger.py build --jar .../client.jar --jar .../server.jar` then `python3 tools/port_ledger.py map-check tools/port_map/client-003.tsv` -> `150 rows, no problems.` After the rebuild, `port_ledger.py where` reports the rows as ported or mapped with the functions above. **Not proven:** nothing was built or run: the change is a verdict-map correction only. In-game: join a server that answers only the legacy ping, read a modified and a Not Secure chat line while chat is focused, watch a cod swim and flop, and place a block display and an item display. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:34:21 +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#7129
No description provided.