From d878f3bed292938963e88687015ff5ca8fbf0c38 Mon Sep 17 00:00:00 2001 From: Kacpherek Date: Tue, 27 Oct 2026 22:24:14 +0100 Subject: [PATCH] Give donkeys, mules and baby horses their own jump and eating sounds playJumpSound is entity.donkey.jump or entity.mule.jump (skeleton_horse.jump_water in water); Horse.getEatingSound is entity.baby_horse.eat for a baby. Horizon played the horse's for all. --- crates/horizon-client/src/game/mounts.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/crates/horizon-client/src/game/mounts.rs b/crates/horizon-client/src/game/mounts.rs index 0084bfa2f..9a1df7963 100644 --- a/crates/horizon-client/src/game/mounts.rs +++ b/crates/horizon-client/src/game/mounts.rs @@ -259,6 +259,7 @@ impl Game<'_> { Species::CamelHusk => "minecraft:entity.camel_husk.eat", Species::Donkey => "minecraft:entity.donkey.eat", Species::Mule => "minecraft:entity.mule.eat", + Species::Horse if m.is_baby() => "minecraft:entity.baby_horse.eat", _ => "minecraft:entity.horse.eat", }; let pitch = (self.world.random.next_float() - self.world.random.next_float()) * 0.2 + 1.0; @@ -337,7 +338,16 @@ impl Game<'_> { } // The nautilus plays its dash sound itself. if equine::is_equine(m.species()) { - let sound = "minecraft:entity.horse.jump"; + // playJumpSound: Donkey and Mule have their own; a skeleton + // horse in water splashes. + let sound = match m.species() { + Species::Donkey => "minecraft:entity.donkey.jump", + Species::Mule => "minecraft:entity.mule.jump", + Species::SkeletonHorse if m.fluids.in_water => { + "minecraft:entity.skeleton_horse.jump_water" + } + _ => "minecraft:entity.horse.jump", + }; let at = m.center(); self.audio.play(sound, Some(at), 0.4, 1.0); }