A Forge 1.20.1 modification that plays a custom sound effect upon death and alters the game's text components to display death messages in red, bold text with skull symbols in both the chat and the main death screen.
Death Sound Mod This mod alters the visual and auditory behavior of death events in Minecraft, standardizing the notifications under a highly visible format inspired by Hardcore mode mechanics. https://youtu.be/m-d0ArxLCos Key Features:
Custom Audio Event: Intercepts the loading of the death interface (DeathScreen) to simultaneously execute an amplified, custom sound file.
Strict Chat Formatting: The mod does not rely on overwriting native JSON translation files. Instead, it utilizes a Java event interceptor (ClientChatReceivedEvent) that reads translation variables (TranslatableContents) whose key begins with "death.". This bypasses the default color encapsulation of entities and forces the entire text string (player, action, and attacker) to render in red, with bold formatting, flanked by skull symbols.
Graphical Interface Modification: Utilizing Java Reflection, the mod accesses the private variables of the Minecraft death screen to inject the same red and bold formatting into the central subtitle indicating the cause of death.
Utility Commands: Includes the /testsound command to audit the correct loading of the sound resource and its respective volume level without requiring an actual death event in the server.
Requirements and Compatibility:
Minecraft 1.20.1
Minecraft Forge (Version 47.2.0 or higher)
Compatible with multiplayer environments.
Conversation