From 73ad5f1dbbdfd2f366399f071817ee9e346adccc Mon Sep 17 00:00:00 2001 From: Kacpherek Date: Tue, 27 Oct 2026 22:21:28 +0100 Subject: [PATCH] Play the hostile swim sound for swimming monsters and hoglins Monster and Hoglin override getSwimSound with entity.hostile.swim; Horizon played the generic swim sound for them. --- crates/horizon-client/src/mobs/ai.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/horizon-client/src/mobs/ai.rs b/crates/horizon-client/src/mobs/ai.rs index 5ed5fa0e1..49e5e2ffa 100644 --- a/crates/horizon-client/src/mobs/ai.rs +++ b/crates/horizon-client/src/mobs/ai.rs @@ -2113,6 +2113,8 @@ pub fn swim_sound(m: &Mob) -> &'static str { Species::Nautilus => "entity.nautilus.swim", Species::ZombieNautilus => "entity.zombie_nautilus.swim", Species::Turtle => "entity.turtle.swim", + // Monster.getSwimSound, and Hoglin's own override of it. + s if s == Species::Hoglin || is_monster(s) => "entity.hostile.swim", _ => "entity.generic.swim", } }