[GH-ISSUE #2639] Please prioritise #2350 (double mining sound) and #2279 (death camera shake) #660

Closed
opened 2026-11-02 15:40:54 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @kacpherek on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2639

Two open PRs fix the bugs players report most often right now. Could they go to the front of the queue?

  • #2350, mining hit sounds play twice. On the default server thread the client plays its own hit sound and the server's copy comes back too, so mining stone gives about 30 hits per 63 ticks instead of vanilla's 16. The PR sends the sounds as level events 2019/2020 from the server, as vanilla's ServerPlayerGameMode does, and the client stops playing its own. Checked in game: 16 hits per 60 ticks with the PR.
  • #2279, the camera keeps shaking after death. #1978 helped, but on the server thread hurtTime stayed at 10 for a dead or riding player, so the hurt tilt restarted every frame. The PR counts it down as LivingEntity.baseTick does. Checked in game: hurt_time falls to 0 after death and the shake stops.

Related reports: #1881, #2276, #2277, #1908.

Thanks!

Originally created by @kacpherek on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2639 Two open PRs fix the bugs players report most often right now. Could they go to the front of the queue? - **#2350, mining hit sounds play twice.** On the default server thread the client plays its own hit sound and the server's copy comes back too, so mining stone gives about 30 hits per 63 ticks instead of vanilla's 16. The PR sends the sounds as level events 2019/2020 from the server, as vanilla's `ServerPlayerGameMode` does, and the client stops playing its own. Checked in game: 16 hits per 60 ticks with the PR. - **#2279, the camera keeps shaking after death.** #1978 helped, but on the server thread `hurtTime` stayed at 10 for a dead or riding player, so the hurt tilt restarted every frame. The PR counts it down as `LivingEntity.baseTick` does. Checked in game: `hurt_time` falls to 0 after death and the shake stops. Related reports: #1881, #2276, #2277, #1908. Thanks!
Author
Owner

@kacpherek commented on GitHub (Oct 27, 2026):

Both PRs are merged, so this request is done.

<!-- gh-comment-id:6453969831 --> @kacpherek commented on GitHub (Oct 27, 2026): Both PRs are merged, so this request is done.
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#660
No description provided.