[PR #2508] [MERGED] Play player step sounds while crawling under a low ceiling #4378

Closed
opened 2026-11-03 04:16:43 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2508
Author: @kacpherek
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @ludovic111

Base: main ← Head: fix/step-sound-discrete


📝 Commits (2)

  • 3f1181b Play player step sounds while crawling under a low ceiling
  • 584fa2a Merge main into fix/step-sound-discrete

📊 Changes

2 files changed (+5 additions, -5 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+4 -3)
📝 crates/horizon-client/src/game/remote.rs (+1 -2)

📄 Description

What and why

The player's step sounds were skipped whenever the pose was crouching. The pose is also forced when you crawl under a 1.5 block ceiling without holding shift, and that made crawling silent. Holding shift on a ladder or vine in mid-air was silent too.

Vanilla decides this in one place, getMovementEmission, which Horizon already follows in motion.rs (silent only when flying, or on the ground with shift held). The extra pose check in the two sound handlers is removed, so the existing rule is the only one.

Vanilla reference

  • Player.getMovementEmission: NONE only when flying, or on the ground and isDiscrete()
  • Entity.isDiscrete: isShiftKeyDown()
  • Player.updatePlayerPose: forced CROUCHING when the player does not fit standing

Self-check

cargo check -p horizon-client passes.


🔄 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/2508 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/step-sound-discrete` --- ### 📝 Commits (2) - [`3f1181b`](https://github.com/horizon-rust/horizon/commit/3f1181bab42d47842df9e45176fdc6b2ce5bcefb) Play player step sounds while crawling under a low ceiling - [`584fa2a`](https://github.com/horizon-rust/horizon/commit/584fa2a9b5896961ac38d9ced657829a73d80935) Merge main into fix/step-sound-discrete ### 📊 Changes **2 files changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+4 -3) 📝 `crates/horizon-client/src/game/remote.rs` (+1 -2) </details> ### 📄 Description ## What and why The player's step sounds were skipped whenever the pose was crouching. The pose is also forced when you crawl under a 1.5 block ceiling without holding shift, and that made crawling silent. Holding shift on a ladder or vine in mid-air was silent too. Vanilla decides this in one place, `getMovementEmission`, which Horizon already follows in `motion.rs` (silent only when flying, or on the ground with shift held). The extra pose check in the two sound handlers is removed, so the existing rule is the only one. ## Vanilla reference - `Player.getMovementEmission`: `NONE` only when flying, or on the ground and `isDiscrete()` - `Entity.isDiscrete`: `isShiftKeyDown()` - `Player.updatePlayerPose`: forced `CROUCHING` when the player does not fit standing ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:16:43 +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#4378
No description provided.