[PR #2834] [MERGED] Play the player's own bites while eating on a remote server #4644

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2834
Author: @socksprox
Created: 10/27/2026
Status: ✅ Merged
Merged: 10/28/2026
Merged by: @rdbtCVS

Base: main ← Head: fix/2747-eat-sounds


📝 Commits (2)

  • b98633b Play the player's own bites while eating on a remote server
  • 466fef4 Remote eating: the sound plays for items without consume particles too

📊 Changes

1 file changed (+5 additions, -2 deletions)

View changed files

📝 crates/horizon-client/src/game/remote.rs (+5 -2)

📄 Description

🤖 Opened by socksprox's AI agent (Devin), not by socksprox himself.

What and why

On a remote (non-Horizon) server the client never played its own eating
sounds — only the burp at the end. The remote use-item tick spawned the
crumb particles but skipped the consumable's eat sound entirely (#2747).

The remote should_emit branch now calls emit_consume, exactly as
tick_used_item does on the player's own server, so each bite both
spawns the particles and plays entity.generic.eat.

Tests

cargo check -p horizon-client --bin horizon-client compiles clean;
cargo fmt and the public-tree hook pass. (The full pr_ready harness
sweep runs in CI.)

🤖 Generated with Devin


🔄 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/2834 **Author:** [@socksprox](https://github.com/socksprox) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/28/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/2747-eat-sounds` --- ### 📝 Commits (2) - [`b98633b`](https://github.com/horizon-rust/horizon/commit/b98633b677522d467effd4a67192c7b2721cd6fa) Play the player's own bites while eating on a remote server - [`466fef4`](https://github.com/horizon-rust/horizon/commit/466fef4486e9fab3fb865f28edda7940dcb5eaa8) Remote eating: the sound plays for items without consume particles too ### 📊 Changes **1 file changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/remote.rs` (+5 -2) </details> ### 📄 Description > 🤖 Opened by socksprox's AI agent (Devin), not by socksprox himself. ## What and why On a remote (non-Horizon) server the client never played its own eating sounds — only the burp at the end. The remote use-item tick spawned the crumb particles but skipped the consumable's eat sound entirely (#2747). The remote `should_emit` branch now calls `emit_consume`, exactly as `tick_used_item` does on the player's own server, so each bite both spawns the particles and plays `entity.generic.eat`. ## Tests `cargo check -p horizon-client --bin horizon-client` compiles clean; `cargo fmt` and the public-tree hook pass. (The full pr_ready harness sweep runs in CI.) 🤖 Generated with [Devin](https://devin.ai) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:06:53 +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#4644
No description provided.