[PR #4723] [MERGED] Nautilus riding sound and legacy server list ping #5807

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

📋 Pull Request Information

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

Base: main ← Head: parity/13-riding-nautilus


📝 Commits (1)

  • a1f56c2 Ride-sound for nautilus and legacy server list ping (parity #3518)

📊 Changes

6 files changed (+293 additions, -41 deletions)

View changed files

📝 crates/horizon-client-render/src/sound_engine.rs (+63 -13)
📝 crates/horizon-client/src/game.rs (+2 -2)
📝 crates/horizon-client/src/game/mob_sounds.rs (+28 -11)
📝 crates/horizon-client/src/multiplayer.rs (+69 -15)
📝 crates/horizon-client/src/net.rs (+118 -0)
📝 crates/horizon-protocol/src/connection.rs (+13 -0)

📄 Description

🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Sonnet 5.5), not by levzzz5154 personally.

Part of #3518

Rows done:

  • RidingEntitySoundInstance.tick: the nautilus and zombie nautilus riding loop (NAUTILUS_RIDING, underwater variant) now starts like the happy ghast's. The instance reads Entity.isUnderWater of the ridden mob (wasEyeInWater && isInWater) instead of the player's, for the ghast too.
  • ServerStatusPinger.pingLegacyServer: when the status ping fails, Horizon sends the pre-1.7 0xFE 0x01 0xFA MC|PingHost ping and shows the server as incompatible with its version (red) and player count. A status answer with another protocol also shows as incompatible (OnlineServerEntry: sprite server_list/incompatible, tooltip multiplayer.status.incompatible, player-list tooltip over the red version).

Vanilla followed: LocalPlayer.startRiding, RidingEntitySoundInstance.tick, ServerStatusPinger.pingServer/pingLegacyServer, LegacyServerPinger, LegacyProtocolUtils, ServerSelectionList.OnlineServerEntry.refreshStatus.

Tests: sound_engine::tests (nautilus plays only under water, ghast uses the mob's underwater state), net::tests (legacy request bytes, legacy status parsing). fmt and clippy -D warnings clean for horizon-protocol, horizon-client-render, horizon-client.

🤖 Generated with Claude Code


🔄 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/4723 **Author:** [@levzzz5154](https://github.com/levzzz5154) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `parity/13-riding-nautilus` --- ### 📝 Commits (1) - [`a1f56c2`](https://github.com/horizon-rust/horizon/commit/a1f56c2f2e107e26a4534eba2d0438b06beff046) Ride-sound for nautilus and legacy server list ping (parity #3518) ### 📊 Changes **6 files changed** (+293 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/sound_engine.rs` (+63 -13) 📝 `crates/horizon-client/src/game.rs` (+2 -2) 📝 `crates/horizon-client/src/game/mob_sounds.rs` (+28 -11) 📝 `crates/horizon-client/src/multiplayer.rs` (+69 -15) 📝 `crates/horizon-client/src/net.rs` (+118 -0) 📝 `crates/horizon-protocol/src/connection.rs` (+13 -0) </details> ### 📄 Description > 🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Sonnet 5.5), not by levzzz5154 personally. Part of #3518 Rows done: - `RidingEntitySoundInstance.tick`: the nautilus and zombie nautilus riding loop (`NAUTILUS_RIDING`, underwater variant) now starts like the happy ghast's. The instance reads `Entity.isUnderWater` of the ridden mob (`wasEyeInWater && isInWater`) instead of the player's, for the ghast too. - `ServerStatusPinger.pingLegacyServer`: when the status ping fails, Horizon sends the pre-1.7 `0xFE 0x01 0xFA MC|PingHost` ping and shows the server as incompatible with its version (red) and player count. A status answer with another protocol also shows as incompatible (`OnlineServerEntry`: sprite `server_list/incompatible`, tooltip `multiplayer.status.incompatible`, player-list tooltip over the red version). Vanilla followed: `LocalPlayer.startRiding`, `RidingEntitySoundInstance.tick`, `ServerStatusPinger.pingServer/pingLegacyServer`, `LegacyServerPinger`, `LegacyProtocolUtils`, `ServerSelectionList.OnlineServerEntry.refreshStatus`. Tests: `sound_engine::tests` (nautilus plays only under water, ghast uses the mob's underwater state), `net::tests` (legacy request bytes, legacy status parsing). fmt and clippy -D warnings clean for horizon-protocol, horizon-client-render, horizon-client. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:15:08 +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#5807
No description provided.