From b463f1c80a75471f1e5171f989dd3036d90d654e Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Tue, 27 Oct 2026 06:50:22 +0100 Subject: [PATCH] Waxed hanging signs play their own failed-interaction sound HangingSignBlockEntity.getSignInteractionFailedSoundEvent is block.hanging_sign.waxed_interact_fail, not the standing sign's. Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/game/sign_edit.rs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/crates/horizon-client/src/game/sign_edit.rs b/crates/horizon-client/src/game/sign_edit.rs index bdd2008f4..3d946ce7b 100644 --- a/crates/horizon-client/src/game/sign_edit.rs +++ b/crates/horizon-client/src/game/sign_edit.rs @@ -87,12 +87,14 @@ impl Game<'_> { return; }; if sign.waxed { - self.audio.play( - "minecraft:block.sign.waxed_interact_fail", - Some(pos.map(|v| f64::from(v) + 0.5)), - 1.0, - 1.0, - ); + // `getSignInteractionFailedSoundEvent`: a hanging sign has its own. + let sound = if sign.hanging { + "minecraft:block.hanging_sign.waxed_interact_fail" + } else { + "minecraft:block.sign.waxed_interact_fail" + }; + self.audio + .play(sound, Some(pos.map(|v| f64::from(v) + 0.5)), 1.0, 1.0); } else if self.may_build() { let front = self.facing_sign_front(key); self.open_sign_editor(key, front);