[PR #2994] [MERGED] Match vanilla mob and arrow sounds: horses, hostile fall and swim, hurt and death variants, crossbow hits #4745

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

📋 Pull Request Information

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

Base: main ← Head: fix/particles-sounds-parity


📝 Commits (10+)

  • 482444a Roll vanilla's donkey, mule and zombie horse attributes on spawn
  • 6f0d565 Stop mules from breeding
  • 830a9d3 Give the skeleton horse vanilla's water drag
  • b77301b Let an allay wander up to 16 blocks from its player
  • f164427 Use the full not_scary_for_pufferfish list for the puff trigger
  • 28c3092 Play the sound variant of pigs, cows, chickens, wolves and cats
  • 94e8c85 Roll a natural salmon's size
  • dc75e77 Pick a parent's variant at random for pig, cow and chicken babies
  • 154aaa2 Fix clippy and format the passive mob fixes
  • 73ad5f1 Play the hostile swim sound for swimming monsters and hoglins

📊 Changes

14 files changed (+362 additions, -65 deletions)

View changed files

📝 crates/horizon-client/examples/probe/arrow_probe.rs (+1 -0)
📝 crates/horizon-client/src/arrows.rs (+10 -0)
📝 crates/horizon-client/src/game/creatures.rs (+10 -3)
📝 crates/horizon-client/src/game/mounts.rs (+11 -1)
📝 crates/horizon-client/src/mobs/ai.rs (+93 -29)
📝 crates/horizon-client/src/mobs/allay.rs (+3 -2)
📝 crates/horizon-client/src/mobs/aquatic.rs (+8 -2)
📝 crates/horizon-client/src/mobs/equine.rs (+144 -21)
📝 crates/horizon-client/src/mobs/finalize.rs (+40 -0)
📝 crates/horizon-client/src/mobs/goals.rs (+4 -0)
📝 crates/horizon-client/src/mobs/living.rs (+15 -5)
📝 crates/horizon-client/src/mobs/spawning.rs (+17 -0)
📝 crates/horizon-client/src/mobs/species.rs (+2 -0)
📝 crates/horizon-client/src/mobs/tame.rs (+4 -2)

📄 Description

Depends on #2984 (its cat, wolf and variant sounds); review after it.

What and why

  • Drowned and guardians use their water or land hurt and death sounds, tiny slimes and magma cubes the small ones, a closed shulker hurt_closed, a baby turtle the baby ones.
  • Horses play the right standing, angry, ambient, jump, eating and step sounds (hoof, wood, gallop, breathing), by age, type and water.
  • Monsters and hoglins play the hostile fall and swim sounds.
  • An arrow shot from a crossbow hits with item.crossbow.hit instead of entity.arrow.hit.

Vanilla reference

  • Drowned/Guardian/ElderGuardian/Slime/MagmaCube/Shulker/Turtle hurt and death sounds
  • AbstractHorse.java, Horse.java, Donkey/Mule jump sounds, RandomStandGoal
  • Monster.java getFallSounds, Hoglin.java getSwimSound
  • CrossbowItem.java:159 (setSoundEvent), AbstractArrow.getHitGroundSoundEvent

Self-check

clippy and fmt pass for horizon-client. Not run in game.


🔄 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/2994 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/28/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/particles-sounds-parity` --- ### 📝 Commits (10+) - [`482444a`](https://github.com/horizon-rust/horizon/commit/482444afc4bedf8c9a7aee313fd9f7a3393a9d79) Roll vanilla's donkey, mule and zombie horse attributes on spawn - [`6f0d565`](https://github.com/horizon-rust/horizon/commit/6f0d56512d5abae6bfb424a58bbf4c4a7447b7f0) Stop mules from breeding - [`830a9d3`](https://github.com/horizon-rust/horizon/commit/830a9d3d84b3be02ed6893bbb46ef37c423b4ec5) Give the skeleton horse vanilla's water drag - [`b77301b`](https://github.com/horizon-rust/horizon/commit/b77301b6ebe718ef9a595555c5939bfff9710d36) Let an allay wander up to 16 blocks from its player - [`f164427`](https://github.com/horizon-rust/horizon/commit/f164427cba63927719ea17ac73ca688572631a1a) Use the full not_scary_for_pufferfish list for the puff trigger - [`28c3092`](https://github.com/horizon-rust/horizon/commit/28c30923f4d7bc8a2a9dd2ce7fa4edc1bd7c75f3) Play the sound variant of pigs, cows, chickens, wolves and cats - [`94e8c85`](https://github.com/horizon-rust/horizon/commit/94e8c85fd020014cf660800dcad308c941a81a03) Roll a natural salmon's size - [`dc75e77`](https://github.com/horizon-rust/horizon/commit/dc75e77eb1b9caa62224770e273c3668935fff96) Pick a parent's variant at random for pig, cow and chicken babies - [`154aaa2`](https://github.com/horizon-rust/horizon/commit/154aaa2051c76ca90e86cb8ffbab2a3670c6f138) Fix clippy and format the passive mob fixes - [`73ad5f1`](https://github.com/horizon-rust/horizon/commit/73ad5f1dbbdfd2f366399f071817ee9e346adccc) Play the hostile swim sound for swimming monsters and hoglins ### 📊 Changes **14 files changed** (+362 additions, -65 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/examples/probe/arrow_probe.rs` (+1 -0) 📝 `crates/horizon-client/src/arrows.rs` (+10 -0) 📝 `crates/horizon-client/src/game/creatures.rs` (+10 -3) 📝 `crates/horizon-client/src/game/mounts.rs` (+11 -1) 📝 `crates/horizon-client/src/mobs/ai.rs` (+93 -29) 📝 `crates/horizon-client/src/mobs/allay.rs` (+3 -2) 📝 `crates/horizon-client/src/mobs/aquatic.rs` (+8 -2) 📝 `crates/horizon-client/src/mobs/equine.rs` (+144 -21) 📝 `crates/horizon-client/src/mobs/finalize.rs` (+40 -0) 📝 `crates/horizon-client/src/mobs/goals.rs` (+4 -0) 📝 `crates/horizon-client/src/mobs/living.rs` (+15 -5) 📝 `crates/horizon-client/src/mobs/spawning.rs` (+17 -0) 📝 `crates/horizon-client/src/mobs/species.rs` (+2 -0) 📝 `crates/horizon-client/src/mobs/tame.rs` (+4 -2) </details> ### 📄 Description Depends on #2984 (its cat, wolf and variant sounds); review after it. ## What and why - Drowned and guardians use their water or land hurt and death sounds, tiny slimes and magma cubes the small ones, a closed shulker hurt_closed, a baby turtle the baby ones. - Horses play the right standing, angry, ambient, jump, eating and step sounds (hoof, wood, gallop, breathing), by age, type and water. - Monsters and hoglins play the hostile fall and swim sounds. - An arrow shot from a crossbow hits with item.crossbow.hit instead of entity.arrow.hit. ## Vanilla reference - Drowned/Guardian/ElderGuardian/Slime/MagmaCube/Shulker/Turtle hurt and death sounds - AbstractHorse.java, Horse.java, Donkey/Mule jump sounds, RandomStandGoal - Monster.java getFallSounds, Hoglin.java getSwimSound - CrossbowItem.java:159 (setSoundEvent), AbstractArrow.getHitGroundSoundEvent ## Self-check clippy and fmt pass for horizon-client. Not run in game. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:07:38 +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#4745
No description provided.