[PR #4527] [MERGED] Screens, HUD and chat parity: 29 fixes (toasts, chat trust, recipe book, bundles, world list, sounds) #5676

Closed
opened 2026-11-03 05:14:15 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4527
Author: @kacpherek
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @levzzz5154

Base: main ← Head: fix/screens-batch


📝 Commits (10+)

  • 4f3a68c Show the portal loading screen on a server's dimension change
  • bd19371 Delay far firework sounds by their distance
  • fd4c3e0 Keep sprinting along a wall you push into at a shallow angle
  • f5f968d Nudge the player out of a block it stands inside
  • be75260 Show the Reconfiguring screen while a server reconfigures the client
  • bc005e8 Title splash: sometimes show the player's name as NAME IS YOU
  • db2c7b7 Chat: grey Not Secure bar, Modified tag and Only Show Secure Chat
  • 397e947 Advancement toast: wrap a long title and fade the label into it
  • 14b5b03 Music Toast: the Now Playing toast with its music notes
  • 536fe04 Container screens: draw the slot highlight sprites

📊 Changes

30 files changed (+1600 additions, -279 deletions)

View changed files

📝 crates/horizon-client-render/src/audio.rs (+136 -9)
📝 crates/horizon-client-render/src/chat.rs (+161 -18)
📝 crates/horizon-client-render/src/chat_tests.rs (+2 -2)
📝 crates/horizon-client-render/src/datapack.rs (+29 -0)
📝 crates/horizon-client-render/src/particles.rs (+6 -5)
📝 crates/horizon-client-render/src/settings.rs (+3 -0)
📝 crates/horizon-client/examples/probe/particle_providers_probe.rs (+1 -1)
📝 crates/horizon-client/src/animate_tick.rs (+1 -1)
📝 crates/horizon-client/src/game.rs (+214 -63)
📝 crates/horizon-client/src/game/advancements.rs (+35 -11)
📝 crates/horizon-client/src/game/beacon.rs (+5 -9)
📝 crates/horizon-client/src/game/books.rs (+29 -2)
📝 crates/horizon-client/src/game/chat.rs (+9 -4)
📝 crates/horizon-client/src/game/lan.rs (+26 -19)
📝 crates/horizon-client/src/game/music.rs (+96 -0)
📝 crates/horizon-client/src/game/recipe_book.rs (+57 -9)
📝 crates/horizon-client/src/game/remote.rs (+179 -29)
📝 crates/horizon-client/src/game/render_tick.rs (+8 -2)
📝 crates/horizon-client/src/game/sign_edit.rs (+20 -0)
📝 crates/horizon-client/src/game/startup_menu.rs (+4 -1)

...and 10 more files

📄 Description

What and why

29 fixes from the screens, HUD and chat tracker (part of #3518), one commit each, every one translated from the vanilla method its message names:

  • Show the portal loading screen on a server's dimension change
  • Delay far firework sounds by their distance
  • Keep sprinting along a wall you push into at a shallow angle
  • Nudge the player out of a block it stands inside
  • Show the Reconfiguring screen while a server reconfigures the client
  • Title splash: sometimes show the player's name as NAME IS YOU
  • Chat: grey Not Secure bar, Modified tag and Only Show Secure Chat
  • Advancement toast: wrap a long title and fade the label into it
  • Music Toast: the Now Playing toast with its music notes
  • Container screens: draw the slot highlight sprites
  • Bundle tooltip: show the selected item's name above the grid
  • Container screens: a bundle's tooltip shows while carrying a stack
  • Recipe book: close after placing a recipe in a narrow window
  • Recipe book: a narrow window's open book disables the slots under it
  • Recipe book: dragging across the search box selects text
  • Creative screen: switch to the survival inventory when creative ends
  • Show the Amplified help tooltip on the world type button
  • Send language, chat colors and particles in the client information
  • Reopen the sound output when its device is lost or the default changes
  • Re-Create keeps the world's data packs and alerts on an unreadable world
  • World list: disable and mark worlds that cannot be played
  • Show Take Book on a lectern only to players who may build
  • Grey out empty Items and Mobs tabs on the Statistics screen
  • Close the sign editor when the player walks out of reach
  • Re-read the held keys when the game takes the pointer back
  • Make Home and End in a book page move to the line's edges
  • Mark servers of another protocol as incompatible in the list
  • Show the smithing table's onboarding tooltips on empty slots
  • Put guests in a changed default game mode when it is forced

Also fixes #4439 (bundle tooltip shows the selected item's name).

Vanilla reference

Each commit message names the vanilla class and method (File.java); each new or changed function opens its doc with the method it ports.

How it was checked

  • Every commit was read against the vanilla source by a second reviewer; the review fixes are folded into the commits (for example the advancement toast label colour, the chat Modified icon width in the wrap, the slot hover margin, and the held keys going through the key bindings).
  • tools/port_ledger.py check --base origin/main on each group: no new client or seam gaps and no stale citations.
  • rustfmt is clean on the changed files. Not built or run locally; CI builds it.

Known gaps

  • Chat: the Modified tag is shown, but signatures are not validated yet (the signing side is in #4375 to #4377), and block or friends-only hiding is not done.
  • IME preedit text while composing is not drawn (#4347 handles the committed text).

🔄 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/4527 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `fix/screens-batch` --- ### 📝 Commits (10+) - [`4f3a68c`](https://github.com/horizon-rust/horizon/commit/4f3a68c450a97fe56cf0bb2ce0b8b2aad7c414f7) Show the portal loading screen on a server's dimension change - [`bd19371`](https://github.com/horizon-rust/horizon/commit/bd19371acfb06ee2e3c77ea5b11c15116ea37b35) Delay far firework sounds by their distance - [`fd4c3e0`](https://github.com/horizon-rust/horizon/commit/fd4c3e01e9ef447bf20617a04657e35d93543daa) Keep sprinting along a wall you push into at a shallow angle - [`f5f968d`](https://github.com/horizon-rust/horizon/commit/f5f968df5c46c8b8f5f8505627ab13e3b54bdd74) Nudge the player out of a block it stands inside - [`be75260`](https://github.com/horizon-rust/horizon/commit/be75260bc01ac3b9fe69f86af10ab033abe8f600) Show the Reconfiguring screen while a server reconfigures the client - [`bc005e8`](https://github.com/horizon-rust/horizon/commit/bc005e8ac28ef517c971c23d530942fb1c56cee2) Title splash: sometimes show the player's name as NAME IS YOU - [`db2c7b7`](https://github.com/horizon-rust/horizon/commit/db2c7b799d01405862fef7f72e9d953b1ad976a6) Chat: grey Not Secure bar, Modified tag and Only Show Secure Chat - [`397e947`](https://github.com/horizon-rust/horizon/commit/397e947fac0e64114be99da266d0fcaf728910a7) Advancement toast: wrap a long title and fade the label into it - [`14b5b03`](https://github.com/horizon-rust/horizon/commit/14b5b031d3ae9c4a1d29f58021e588b479b1074c) Music Toast: the Now Playing toast with its music notes - [`536fe04`](https://github.com/horizon-rust/horizon/commit/536fe04942b749bd7c1783ede0e2eedcef286b2f) Container screens: draw the slot highlight sprites ### 📊 Changes **30 files changed** (+1600 additions, -279 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/audio.rs` (+136 -9) 📝 `crates/horizon-client-render/src/chat.rs` (+161 -18) 📝 `crates/horizon-client-render/src/chat_tests.rs` (+2 -2) 📝 `crates/horizon-client-render/src/datapack.rs` (+29 -0) 📝 `crates/horizon-client-render/src/particles.rs` (+6 -5) 📝 `crates/horizon-client-render/src/settings.rs` (+3 -0) 📝 `crates/horizon-client/examples/probe/particle_providers_probe.rs` (+1 -1) 📝 `crates/horizon-client/src/animate_tick.rs` (+1 -1) 📝 `crates/horizon-client/src/game.rs` (+214 -63) 📝 `crates/horizon-client/src/game/advancements.rs` (+35 -11) 📝 `crates/horizon-client/src/game/beacon.rs` (+5 -9) 📝 `crates/horizon-client/src/game/books.rs` (+29 -2) 📝 `crates/horizon-client/src/game/chat.rs` (+9 -4) 📝 `crates/horizon-client/src/game/lan.rs` (+26 -19) 📝 `crates/horizon-client/src/game/music.rs` (+96 -0) 📝 `crates/horizon-client/src/game/recipe_book.rs` (+57 -9) 📝 `crates/horizon-client/src/game/remote.rs` (+179 -29) 📝 `crates/horizon-client/src/game/render_tick.rs` (+8 -2) 📝 `crates/horizon-client/src/game/sign_edit.rs` (+20 -0) 📝 `crates/horizon-client/src/game/startup_menu.rs` (+4 -1) _...and 10 more files_ </details> ### 📄 Description ## What and why 29 fixes from the screens, HUD and chat tracker (part of #3518), one commit each, every one translated from the vanilla method its message names: - Show the portal loading screen on a server's dimension change - Delay far firework sounds by their distance - Keep sprinting along a wall you push into at a shallow angle - Nudge the player out of a block it stands inside - Show the Reconfiguring screen while a server reconfigures the client - Title splash: sometimes show the player's name as NAME IS YOU - Chat: grey Not Secure bar, Modified tag and Only Show Secure Chat - Advancement toast: wrap a long title and fade the label into it - Music Toast: the Now Playing toast with its music notes - Container screens: draw the slot highlight sprites - Bundle tooltip: show the selected item's name above the grid - Container screens: a bundle's tooltip shows while carrying a stack - Recipe book: close after placing a recipe in a narrow window - Recipe book: a narrow window's open book disables the slots under it - Recipe book: dragging across the search box selects text - Creative screen: switch to the survival inventory when creative ends - Show the Amplified help tooltip on the world type button - Send language, chat colors and particles in the client information - Reopen the sound output when its device is lost or the default changes - Re-Create keeps the world's data packs and alerts on an unreadable world - World list: disable and mark worlds that cannot be played - Show Take Book on a lectern only to players who may build - Grey out empty Items and Mobs tabs on the Statistics screen - Close the sign editor when the player walks out of reach - Re-read the held keys when the game takes the pointer back - Make Home and End in a book page move to the line's edges - Mark servers of another protocol as incompatible in the list - Show the smithing table's onboarding tooltips on empty slots - Put guests in a changed default game mode when it is forced Also fixes #4439 (bundle tooltip shows the selected item's name). ## Vanilla reference Each commit message names the vanilla class and method (`File.java`); each new or changed function opens its doc with the method it ports. ## How it was checked - Every commit was read against the vanilla source by a second reviewer; the review fixes are folded into the commits (for example the advancement toast label colour, the chat Modified icon width in the wrap, the slot hover margin, and the held keys going through the key bindings). - `tools/port_ledger.py check --base origin/main` on each group: no new `client` or `seam` gaps and no stale citations. - rustfmt is clean on the changed files. Not built or run locally; CI builds it. ## Known gaps - Chat: the Modified tag is shown, but signatures are not validated yet (the signing side is in #4375 to #4377), and block or friends-only hiding is not done. - IME preedit text while composing is not drawn (#4347 handles the committed text). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:14:15 +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#5676
No description provided.