这是一个我在几天内开发完成的 Fabric 模组。
我最初在几个 YouTube 视频中看到了这个概念,但它们都没有提供安装方法,所以我制作了这款模组!
它使用本地离线 AI 模型来处理你的语音,因此数据不会离开你的电脑。它速度快、隐私性好,即使你的网络连接中断也能正常工作(除非你已连接到服务器)。
玩得开心!=)
要求
我编写此模组时针对的是 1.21.2 版本,因为我不知道如何处理版本兼容问题。
你只需要 Fabric API 和 Mod Menu 作为依赖项即可(Mod Menu 用于下载本地 AI 模型)。
设置指南
此模组必须安装在客户端和服务端。
安装模组后,你需要进入模组的 Mod Menu 设置中安装大小为 1.8G 的本地 AI 模型。
配置
配置文件位于 config/speak-no-blocks.json。
{
"radius": 16,
"voiceCommands": [...]
}
radius 用于确定方块距离玩家多远才会被破坏。
voiceCommands 用于确定当玩家说出某个词时,哪些方块会被破坏。
使用方法
- 确保你的麦克风已设置为操作系统的默认输入设备。
- 加入服务器。
- 说出一个方块的名字(例如,“wood”会摧毁所有类型的木头)。
- 半径范围内的有效方块将被破坏。
许可证
MIT
This is a Fabric mod I cooked up in a span of a few days
I originally saw this concept on a few YouTube videos, but none of them had any way to install them, so I made this!
It uses a local offline AI model to process your voice, so no data leaves your computer. It’s fast, private, and works even if your internet dies (unless you were connected to a server).
Enjoy! =)
Requirements
I coded this to work for 1.21.2 because I have no idea how to do versioning
You just need Fabric API and Mod Menu as dependencies (mod menu is for downloading the local AI model)
Setup Guide
This mod must be installed on both the Client and the Server.
After installing the mod, you must go into the mod's mod menu settings and install the 1.8G local AI model
Configuration
The config file is located at config/speak-no-blocks.json.
{
"radius": 16,
"voiceCommands": [...]
}
radius is used to determine how far away blocks will break from players.
voiceCommands is used to determine what blocks will break when players say what word.
Usage
- Ensure your microphone is set as the default input device in your OS.
- Join the server.
- Speak the name of a block ("wood" destroys all types of wood for example).
- Valid blocks within the radius will be destroyed.
License
MIT
评论 0
登录后参与评分
还没有评论,来抢沙发吧