[PR #6846] [MERGED] Port map: client2-012 rows the tree already ports #7138

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

📋 Pull Request Information

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

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


📝 Commits (1)

  • 41d82fc Port map: client2-012 rows the tree already ports

📊 Changes

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

View changed files

📝 tools/port_map/client2-012.tsv (+8 -8)

📄 Description

tools/port_map/client2-012.tsv still marked eight behaviours missing that the tree ports.

Vanilla:

  • NowPlayingToast.extractToast draws the background, the music notes and the song's name; tickMusicNotes recolours the notes every 25 ms; showToast and update slide it in and time it out.
  • ToastManager.initializeMusicToast and setMusicToastDisplayState create the toast from the Music Toast setting: Never drops it, Pause keeps it for a song, Pause and Toast shows it at once while music is audible.
  • SystemToast.onChunkLoadFailure and onChunkSaveFailure show the chunk failure toast with its check-log line.

What Horizon got wrong: the map said all eight were missing. They are ported in toasts.rs::draw_now_playing, MusicNotes::tick, NowPlayingToast::show and NowPlayingToast::update, game/music.rs::Game::set_music_toast_state, and chunk_io.rs::load_failure_toast and save_failure_toast. The only gap noted is that Horizon creates the music toast from the setting rather than at start-up.

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-012.tsv -> 150 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: play a music disc with Music Toast set to Pause and Toast, and load a world with a chunk that fails to load or save.


🔄 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/6846 **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-012` --- ### 📝 Commits (1) - [`41d82fc`](https://github.com/horizon-rust/horizon/commit/41d82fca71f7f985a8e734f1f7235d5813173ea8) Port map: client2-012 rows the tree already ports ### 📊 Changes **1 file changed** (+8 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-012.tsv` (+8 -8) </details> ### 📄 Description `tools/port_map/client2-012.tsv` still marked eight behaviours missing that the tree ports. Vanilla: - `NowPlayingToast.extractToast` draws the background, the music notes and the song's name; `tickMusicNotes` recolours the notes every 25 ms; `showToast` and `update` slide it in and time it out. - `ToastManager.initializeMusicToast` and `setMusicToastDisplayState` create the toast from the Music Toast setting: Never drops it, Pause keeps it for a song, Pause and Toast shows it at once while music is audible. - `SystemToast.onChunkLoadFailure` and `onChunkSaveFailure` show the chunk failure toast with its check-log line. What Horizon got wrong: the map said all eight were missing. They are ported in `toasts.rs::draw_now_playing`, `MusicNotes::tick`, `NowPlayingToast::show` and `NowPlayingToast::update`, `game/music.rs::Game::set_music_toast_state`, and `chunk_io.rs::load_failure_toast` and `save_failure_toast`. The only gap noted is that Horizon creates the music toast from the setting rather than at start-up. **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-012.tsv` -> `150 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: play a music disc with Music Toast set to Pause and Toast, and load a world with a chunk that fails to load or save. --- <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:30 +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#7138
No description provided.