[PR #6844] [MERGED] Port map: client2-011 rows the tree already ports #7136

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

📋 Pull Request Information

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

Base: main ← Head: fix/map-client2-011


📝 Commits (1)

  • 83c0f67 Port map: client2-011 rows the tree already ports

📊 Changes

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

View changed files

📝 tools/port_map/client2-011.tsv (+27 -27)

📄 Description

tools/port_map/client2-011.tsv still marked twenty-seven behaviours missing that the tree ports.

Vanilla:

  • MultilineTextField.selectWordAtCursor / getWordEndPosition select the word before the caret on a double click.
  • ObjectSelectionList.nextFocusPath moves a list's selection with the arrow keys.
  • PlainTextButton.extractContents underlines the title's bottom notice while hovered or focused; its press opens the credits. SplashRenderer.extractRenderState draws and rotates the rolled splash.
  • The F3 entries (DebugEntryBiome, ChunkGeneration, ChunkSourceStats, DayCount, GpuUtilization, Heightmap, Light, LocalDifficulty, LookingAt, LookingAtEntity, PlayerSpeed, PostEffects, SoundCache, SoundMood, SpawnCounts) draw their lines from the world, the chunk source, the sounds and the server thread.

What Horizon got wrong: the map said all twenty-seven were missing. They are ported in ui.rs::EditBox::select_word_at_cursor, title.rs::Title::arrow_key (world list) and multiplayer.rs::Screen::arrow (server list), title.rs::Title::draw_with_items with Title::click (splash and the bottom notice), game/debug_lines.rs::Game::debug_entry_lines and its helpers, debug_overlay.rs (gpu_line, light_line, sound_cache_line, sound_mood_line, state_lines, tag_lines) and game/debug_keys.rs::DensityCache::line. Three rows keep a small gap in the note: the chunk generation entry draws only the density line, the light entry has no server values, and the pack lists take no keyboard.

Proven: python3 tools/port_ledger.py build --jar .../client.jar --jar .../server.jar then python3 tools/port_ledger.py map-check tools/port_map/client2-011.tsv -> 144 rows, no problems. Every corrected row cites a function that exists in the tree for that behaviour.

Not proven: nothing was built or run: the change is a verdict-map correction only. In-game: double-click a word on a book page, Tab and arrow through the world and server lists, and read the F3 lines for biome, chunk generation, light, the targeted block, speed and sounds.


🔄 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/6844 **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-client2-011` --- ### 📝 Commits (1) - [`83c0f67`](https://github.com/horizon-rust/horizon/commit/83c0f67e9e7b1dcefd4265961af28bbad57e76de) Port map: client2-011 rows the tree already ports ### 📊 Changes **1 file changed** (+27 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-011.tsv` (+27 -27) </details> ### 📄 Description `tools/port_map/client2-011.tsv` still marked twenty-seven behaviours missing that the tree ports. Vanilla: - `MultilineTextField.selectWordAtCursor` / `getWordEndPosition` select the word before the caret on a double click. - `ObjectSelectionList.nextFocusPath` moves a list's selection with the arrow keys. - `PlainTextButton.extractContents` underlines the title's bottom notice while hovered or focused; its press opens the credits. `SplashRenderer.extractRenderState` draws and rotates the rolled splash. - The F3 entries (`DebugEntryBiome`, `ChunkGeneration`, `ChunkSourceStats`, `DayCount`, `GpuUtilization`, `Heightmap`, `Light`, `LocalDifficulty`, `LookingAt`, `LookingAtEntity`, `PlayerSpeed`, `PostEffects`, `SoundCache`, `SoundMood`, `SpawnCounts`) draw their lines from the world, the chunk source, the sounds and the server thread. What Horizon got wrong: the map said all twenty-seven were missing. They are ported in `ui.rs::EditBox::select_word_at_cursor`, `title.rs::Title::arrow_key` (world list) and `multiplayer.rs::Screen::arrow` (server list), `title.rs::Title::draw_with_items` with `Title::click` (splash and the bottom notice), `game/debug_lines.rs::Game::debug_entry_lines` and its helpers, `debug_overlay.rs` (`gpu_line`, `light_line`, `sound_cache_line`, `sound_mood_line`, `state_lines`, `tag_lines`) and `game/debug_keys.rs::DensityCache::line`. Three rows keep a small gap in the note: the chunk generation entry draws only the density line, the light entry has no server values, and the pack lists take no keyboard. **Proven:** `python3 tools/port_ledger.py build --jar .../client.jar --jar .../server.jar` then `python3 tools/port_ledger.py map-check tools/port_map/client2-011.tsv` -> `144 rows, no problems.` Every corrected row cites a function that exists in the tree for that behaviour. **Not proven:** nothing was built or run: the change is a verdict-map correction only. In-game: double-click a word on a book page, Tab and arrow through the world and server lists, and read the F3 lines for biome, chunk generation, light, the targeted block, speed and sounds. --- <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:28 +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#7136
No description provided.