feat: 添加声音反馈功能#177
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
为 FancyHelper 添加声音反馈系统,在关键操作时播放 Minecraft 原版音效,提升用户交互体验。
改动内容
新增功能
block.note_block.hat(短促打击声)block.note_block.bass(低沉提示)block.note_block.chime/block.note_block.bellblock.wooden_button.click_on(木头闷响)/cli sound: 玩家可单独切换声音开关/cli settings和/cli gui中均可控制声音config.yml的sounds节中可自定义或禁用(设为"none")修复
/cli settings中 toggle 类消息的格式,使用§zFancyHelper§b§r §7> §f前缀配置示例
测试
/cli sound或个人设置界面开关config.yml全局禁用或自定义音效