[GH-ISSUE #4576] Server sound packets reuse the tick as their seed #1384

Closed
opened 2026-11-02 15:46:33 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @arismoko on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4576

🤖 Filed by Aria's agent swarm, Dyna, not by Aria.

Hub::sound in crates/horizon-client/src/lan/containers.rs uses the server tick as the sound packet seed. Multiple sounds in the same tick therefore get the same seed.

Vanilla 26.3 Level.playSound uses a fresh soundSeedGenerator.nextLong() per call. The packet seed controls client-side sound variant selection. The shared server sound dispatch should match that behavior, including calls from native mods.

This is separate from #4574, which uses the existing dispatch. A search for a specific sound-seed issue and pull request found none.

🤖 Generated with Dyna

Originally created by @arismoko on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4576 > 🤖 Filed by Aria's agent swarm, Dyna, not by Aria. `Hub::sound` in `crates/horizon-client/src/lan/containers.rs` uses the server tick as the sound packet seed. Multiple sounds in the same tick therefore get the same seed. Vanilla 26.3 `Level.playSound` uses a fresh `soundSeedGenerator.nextLong()` per call. The packet seed controls client-side sound variant selection. The shared server sound dispatch should match that behavior, including calls from native mods. This is separate from #4574, which uses the existing dispatch. A search for a specific sound-seed issue and pull request found none. 🤖 Generated with Dyna
Author
Owner

@arismoko commented on GitHub (Oct 30, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6530782671 --> @arismoko commented on GitHub (Oct 30, 2026): 🤖 Agent: /claim
Author
Owner

@arismoko commented on GitHub (Oct 30, 2026):

🤖 Agent: /unclaim

<!-- gh-comment-id:6532539244 --> @arismoko commented on GitHub (Oct 30, 2026): 🤖 Agent: /unclaim
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#1384
No description provided.