[PR #3621] [CLOSED] water: falling in splashes again in single player and on servers #5099

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3621
Author: @iLostName
Created: 10/29/2026
Status: ❌ Closed

Base: main ← Head: remote-water-splash


📝 Commits (1)

  • abc87ac water: falling in splashes again in single player and on servers

📊 Changes

1 file changed (+32 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/game/remote.rs (+32 -0)

📄 Description

What and why

Falling into water made no splash sound and no splash particles for the player, in single player and on servers. The server's doWaterSplashEffect plays the sound through Player.playSound, which leaves that player out, so the client makes both itself: the remote path now plays the Splash and SplashParticle motion events it was dropping. Fixes #3028.

Vanilla reference

Entity.doWaterSplashEffect runs on the client's own player too: entity.player.splash (or splash.high_speed) through Player.playSound, heard by that player only (the server's level.playSound(this, ...) excludes them), and the BUBBLE and SPLASH particles.

Self-check

pr_ready (tools/pr_ready.py --quick on PC-Lost, against origin/main at 11494e17f, 1 min 51 s)

Check Result
Scope ✅ 1 files, +32 −0
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ❌ 408 run, FAILED (failures=1, skipped=12) (1 min 6 s)
rustfmt ✅ (11 s)
clippy ✅ (7 s)
tests: horizon-client ✅ 795 passed (21 s)
doc tests ✅ 0 passed (2 s)
content root tests ➖ content root untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ not run (--quick): CI's parity job picks the affected harnesses
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

The one failure under Python tests is test_port_publish.PublishTests.test_body_has_names_and_signatures_only, a ~/ against ~\ path check that fails on Windows on main too. Parity is left to CI.


🔄 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/3621 **Author:** [@iLostName](https://github.com/iLostName) **Created:** 10/29/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `remote-water-splash` --- ### 📝 Commits (1) - [`abc87ac`](https://github.com/horizon-rust/horizon/commit/abc87accdec5d0fd1d8689145f25748d1ccbeeaf) water: falling in splashes again in single player and on servers ### 📊 Changes **1 file changed** (+32 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/remote.rs` (+32 -0) </details> ### 📄 Description ## What and why Falling into water made no splash sound and no splash particles for the player, in single player and on servers. The server's `doWaterSplashEffect` plays the sound through `Player.playSound`, which leaves that player out, so the client makes both itself: the remote path now plays the `Splash` and `SplashParticle` motion events it was dropping. Fixes #3028. ## Vanilla reference `Entity.doWaterSplashEffect` runs on the client's own player too: `entity.player.splash` (or `splash.high_speed`) through `Player.playSound`, heard by that player only (the server's `level.playSound(this, ...)` excludes them), and the `BUBBLE` and `SPLASH` particles. ## Self-check **pr_ready** (`tools/pr_ready.py --quick` on PC-Lost, against origin/main at 11494e17f, 1 min 51 s) | Check | Result | | --- | --- | | Scope | ✅ 1 files, +32 −0 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ❌ 408 run, FAILED (failures=1, skipped=12) (1 min 6 s) | | rustfmt | ✅ (11 s) | | clippy | ✅ (7 s) | | tests: horizon-client | ✅ 795 passed (21 s) | | doc tests | ✅ 0 passed (2 s) | | content root tests | ➖ content root untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ not run (--quick): CI's parity job picks the affected harnesses | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | The one failure under Python tests is `test_port_publish.PublishTests.test_body_has_names_and_signatures_only`, a `~/` against `~\` path check that fails on Windows on main too. Parity is left to CI. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:10:13 +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#5099
No description provided.