Sounds v0.0.4 — “More Events, Smarter Mapping” Update
This update expands Sounds into a much more complete event-based sound engine and improves version safety across old and new servers.
✅ New sound events (more coverage)
- Block Break / Block Place support added
- Armor Equip detection added (right-click equip + inventory equip / shift-click)
- Armor Break + Item Break sounds (via durability break event)
- Health Decrease sound when taking damage
- Food Level Change sounds (hunger decrease + optional hunger increase)
Version safety improvements
- Added optional event hooks (reflection-based) so the plugin stays 1.8-safe, but still supports newer events when available (e.g. offhand swap, advancements, new pickup event).
- Improved the universal resolver fallback logic: it now selects the closest compatible mapping for your server version instead of accidentally using very old mappings.
Config & YAML upgrades
- Updated config.yml with the new toggles (block_break, block_place, armor_equip, armor_break, item_break, player_health_decrease, player_food_decrease, player_food_increase)
- Updated sounds.yml with clean defaults for the new events
- Extended sounds_map.yml with new universal keys like block.break, block.place, item.break, player.burp
Fixes
- Fixed a mapping fallback edge case where the resolver could choose the wrong version entry.
As always: everything is YAML-driven, so you can fully customize what plays, when it plays, and how loud it is — without touching code.