Compatibility layer for VoiceMessages and ChatAnimation

模组

· 作者 konstasiil

使 VoiceMessages 和 ChatAnimation 模组兼容

0 本站下载 0 关注 更新于 6 个月前
一键开服(送7天)

修复了当 Chat Animation [Smooth Chat] 启用 removeMessageIndicator 时,语音消息无法在聊天栏中显示的问题。没有此修复的情况下,语音消息仅会显示玩家名称,而不是播放控件。

工作原理: ChatAnimation 会对每条聊天行清空 GuiMessageTag,而 VoiceMessages 依赖该标签来识别和渲染语音消息。本模组拦截了 GuiMessage.Line.tag(),并保留 VoiceMessage 的标签,从而使播放界面能够正确渲染。

前置要求:

  • Fabric API
  • VoiceMessages
  • Chat Animation [Smooth Chat]

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源