Death Sound Mod
本模组改变了 Minecraft 中死亡事件的视觉和听觉表现,借鉴极限模式机制,将通知标准化为一种高可见度的格式。现已增强全球音频广播功能,并提升了稳定性。
主要特性
全局音频事件
与仅客户端的实现不同,此版本利用服务器端事件处理(LivingDeathEvent)将放大的极限模式死亡音效广播给所有已连接的玩家。
- 跨维度: 无论玩家位于主世界、下界还是末地,所有人都能听到该声音。
- 并发安全: 经过优化以安全处理玩家列表,即使事件期间有玩家断开连接也不会导致崩溃。
严格的聊天格式
该模组拦截聊天流(ClientChatReceivedEvent),以强制实现戏剧性的视觉效果:
- 视觉效果: 强制所有死亡消息以粗体红色渲染,两侧带有骷髅符号(☠)。
- 增强检测: 现在包含基于文本内容检测死亡消息的回退机制,确保与不使用标准 "death.*" 翻译键的模组兼容。
- 误报保护: 智能过滤掉标准聊天消息(例如包含 ":" 的玩家消息),以避免错误的格式设置。
图形界面修改
利用安全的 Java 反射,该模组访问 DeathScreen 类中的私有变量,将相同的红色粗体格式注入到表示死亡原因的副标题中。
- 崩溃保护: 反射逻辑包裹在健壮的错误处理程序中,以确保游戏永远不会因 UI 修改而崩溃,即使在模组环境中也是如此。
实用命令
- /testsound:在不触发实际死亡事件的情况下,审核声音资源及其音量级别的正确加载情况(针对执行命令的玩家)。
需求与兼容性
- Minecraft: 1.20.1
- 加载器: Minecraft Forge (47.2.0 或更高版本)
- 侧边: 客户端和服务端均需安装。
安装方法
将 .jar 文件放入你的 Minecraft 客户端和服务器的 mods 文件夹中。
由 Tontoque28 开发
Death Sound Mod
This mod alters the visual and auditory behavior of death events in Minecraft, standardizing notifications under a highly visible format inspired by Hardcore mode mechanics. Now enhanced with global audio broadcasting and robust stability improvements.
Key Features
Global Audio Event
Unlike client-side only implementations, this version utilizes server-side event handling (LivingDeathEvent) to broadcast the amplified hardcore death sound to all connected players.
- Cross-Dimension: The sound is audible to everyone, regardless of whether they are in the Overworld, Nether, or End.
- Concurrent Safety: Optimized to handle player lists safely, preventing crashes even if players disconnect during the event.
Strict Chat Formatting
The mod intercepts the chat stream (ClientChatReceivedEvent) to enforce a dramatic aesthetic:
- Visuals: Forces all death messages to render in BOLD RED, flanked by skull symbols (☠).
- Enhanced Detection: Now includes a fallback mechanism to detect death messages by text content, ensuring compatibility with mods that do not use standard "death.*" translation keys.
- False Positive Protection: Intelligently filters out standard chat messages (e.g., player messages containing ":") to avoid incorrect formatting.
Graphical Interface Modification
Utilizing Safe Java Reflection, the mod accesses private variables within the DeathScreen class to inject the same red and bold formatting into the subtitle indicating the cause of death.
- Crash Protection: The reflection logic is wrapped in robust error handling to ensure the game never crashes due to UI modifications, even in modded environments.
Utility Commands
- /testsound: Audits the correct loading of the sound resource and its volume level for the executing player, without requiring an actual death event.
Requirements and Compatibility
- Minecraft: 1.20.1
- Loader: Minecraft Forge (47.2.0 or higher)
- Side: Required on both Client and Server.
Installation
Drop the .jar file into the mods folder of both your Minecraft client and your server.
Developed by Tontoque28
下载 MC Extremo DeathSound
下载 MC Extremo DeathSound
下载 MC Extremo DeathSound
下载 MC Extremo DeathSound
下载 MC Extremo DeathSound
下载 MC Extremo DeathSound
下载 MC Extremo DeathSound
下载 MC Extremo DeathSound
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MC Extremo DeathSound
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MC Extremo DeathSound
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
版本 1.0.1
发布日期:2026-11-09
更新内容:
- 移植至 Minecraft 26.3(Forge)
- 许可证更改为“保留所有权利”
修复内容:
- 无
备注:
- 代码与 1.0.0 相同;服务端行为已在专用服务器上测试,纯客户端部分(GUI、音效、渲染)未经过测试
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧