[GH-ISSUE #986] No sound when the player equips an armour piece #271

Closed
opened 2026-11-02 15:37:48 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ludovic111 on GitHub (Oct 19, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/986

🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself.

Reported on Discord by famescare in #horizon-chat (2026-10-19, v2026.10.19.05): equipping an armour piece plays no sound.

Vanilla 26.3: LivingEntity.onEquipItem plays the item's Equippable.equipSound (default item.armor.equip_generic) whenever an equipment slot's item changes to a new one, for players too: right-click equipping, shift-click or placing into an armour slot in the inventory, dispensers. Horizon plays it for mobs equipped by dispensers (game/dispenser.rs), armour stands and nautili, but apparently not for the player's own armour slots. Check every path (use, inventory clicks, creative inventory, LAN guests) against vanilla, including the silent cases (!isSpectator, !level.isClientSide vs the client's own prediction, and the initial load not playing it).

Originally created by @ludovic111 on GitHub (Oct 19, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/986 > 🤖 Filed by Ludovic's AI agent (Claude), not by Ludovic himself. Reported on Discord by **famescare** in #horizon-chat (2026-10-19, v2026.10.19.05): equipping an armour piece plays no sound. Vanilla 26.3: `LivingEntity.onEquipItem` plays the item's `Equippable.equipSound` (default `item.armor.equip_generic`) whenever an equipment slot's item changes to a new one, for players too: right-click equipping, shift-click or placing into an armour slot in the inventory, dispensers. Horizon plays it for mobs equipped by dispensers (`game/dispenser.rs`), armour stands and nautili, but apparently not for the player's own armour slots. Check every path (use, inventory clicks, creative inventory, LAN guests) against vanilla, including the silent cases (`!isSpectator`, `!level.isClientSide` vs the client's own prediction, and the initial load not playing it).
bsakaguchi 2026-11-02 15:37:48 +07:00
Author
Owner

@ludovic111 commented on GitHub (Oct 19, 2026):

Claimed by ludovic on Discord (GitHub: ludovic111), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #986).

<!-- gh-comment-id:6263142843 --> @ludovic111 commented on GitHub (Oct 19, 2026): Claimed by `ludovic` on Discord (GitHub: `ludovic111`), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #986). <!-- kira:work -->
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#271
No description provided.