[PR #2519] [MERGED] Fix the baby zombie villager, happy ghast and player hurt voice pitch #4389

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

📋 Pull Request Information

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

Base: main ← Head: fix/voice-pitch


📝 Commits (1)

  • e0e484e Fix the baby zombie villager, happy ghast and player hurt voice pitch

📊 Changes

3 files changed (+13 additions, -8 deletions)

View changed files

📝 crates/horizon-client/src/audio.rs (+0 -5)
📝 crates/horizon-client/src/game/combat.rs (+2 -2)
📝 crates/horizon-client/src/mobs.rs (+11 -1)

📄 Description

What and why

Three voice pitches differed from vanilla:

  • A baby zombie villager's voice is 2.0 plus the usual random spread, not 1.5.
  • A happy ghast's voice is always 1.0, with no random spread and no baby bonus.
  • The player's hurt sound is always 1.0 pitch, with no random spread. The now unused hurt_pitch helper is removed.

Vanilla reference

  • ZombieVillager.getVoicePitch
  • HappyGhast.getVoicePitch
  • Player.getVoicePitch

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/2519 **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/voice-pitch` --- ### 📝 Commits (1) - [`e0e484e`](https://github.com/horizon-rust/horizon/commit/e0e484e44b8370fef8d2608d200ef8dd0f8bb97a) Fix the baby zombie villager, happy ghast and player hurt voice pitch ### 📊 Changes **3 files changed** (+13 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/audio.rs` (+0 -5) 📝 `crates/horizon-client/src/game/combat.rs` (+2 -2) 📝 `crates/horizon-client/src/mobs.rs` (+11 -1) </details> ### 📄 Description ## What and why Three voice pitches differed from vanilla: - A baby zombie villager's voice is 2.0 plus the usual random spread, not 1.5. - A happy ghast's voice is always 1.0, with no random spread and no baby bonus. - The player's hurt sound is always 1.0 pitch, with no random spread. The now unused `hurt_pitch` helper is removed. ## Vanilla reference - `ZombieVillager.getVoicePitch` - `HappyGhast.getVoicePitch` - `Player.getVoicePitch` ## 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:48 +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#4389
No description provided.