[PR #4696] [MERGED] Play empty-bucket sounds on the predicting client #5785

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4696
Author: @WooCaash
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @rdbtCVS

Base: main ← Head: fix/4684-bucket-empty-sound


📝 Commits (2)

  • 874c4d1 Play empty-bucket sounds on the predicting client.
  • 5168e4d cargo fmt

📊 Changes

2 files changed (+48 additions, -7 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+18 -0)
📝 crates/horizon-client/src/game/remote.rs (+30 -7)

📄 Description

🤖 Opened by WooCaash's AI agent (Cursor), not by WooCaash personally.

Summary

  • Emptying a water/lava bucket predicted the fluid on the client but discarded DryLevel sounds, and the server broadcast playSound(null) to everyone including the actor — on server-thread SP the actor still heard nothing useful / the empty sound was missing (#4684).
  • Play the DryLevel empty/evaporate sounds during remote_use_bucket, and move those captured sounds into guest_player_sounds so the hub excludes the actor (vanilla playSound(player, …)).

Test plan

  • Empty a water bucket on a block — hear item.bucket.empty once
  • Empty a lava bucket — hear item.bucket.empty_lava once
  • Empty water in the Nether — hear the extinguish hiss once
  • A second player nearby still hears the empty sound

Closes #4684

Made with Cursor


🔄 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/4696 **Author:** [@WooCaash](https://github.com/WooCaash) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/4684-bucket-empty-sound` --- ### 📝 Commits (2) - [`874c4d1`](https://github.com/horizon-rust/horizon/commit/874c4d1cdb7fdadc0d8400f01101d9f0a2c5c50b) Play empty-bucket sounds on the predicting client. - [`5168e4d`](https://github.com/horizon-rust/horizon/commit/5168e4db3040e718c6d401b723466532d46c0848) cargo fmt ### 📊 Changes **2 files changed** (+48 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+18 -0) 📝 `crates/horizon-client/src/game/remote.rs` (+30 -7) </details> ### 📄 Description > 🤖 Opened by WooCaash's AI agent (Cursor), not by WooCaash personally. ## Summary - Emptying a water/lava bucket predicted the fluid on the client but discarded DryLevel sounds, and the server broadcast `playSound(null)` to everyone including the actor — on server-thread SP the actor still heard nothing useful / the empty sound was missing (#4684). - Play the DryLevel empty/evaporate sounds during `remote_use_bucket`, and move those captured sounds into `guest_player_sounds` so the hub excludes the actor (vanilla `playSound(player, …)`). ## Test plan - [ ] Empty a water bucket on a block — hear `item.bucket.empty` once - [ ] Empty a lava bucket — hear `item.bucket.empty_lava` once - [ ] Empty water in the Nether — hear the extinguish hiss once - [ ] A second player nearby still hears the empty sound Closes #4684 Made with [Cursor](https://cursor.com) --- <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:59 +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#5785
No description provided.