介绍
中文介绍正在准备中,下面暂时显示原文。
🎙️ VoskLib
VoskLib is a high-performance, offline voice recognition library for Minecraft Forge 1.20.1. It provides a seamless bridge between the Vosk Speech Recognition Engine and the Minecraft event bus, allowing developers to create voice-activated gameplay, magic spells, or accessibility tools with minimal boilerplate.
✨ Features
- 100% Offline: No API keys or internet connection required for recognition.
- Dual Modes: Switch between Literal Mode (wide vocabulary) and Grammar Mode (constrained lists).
- In-Game Model Manager: Download and manage Vosk models directly from the mod config menu with a built-in progress bar.
- Thread Safe: Background audio processing automatically synchronized with the Minecraft main thread.
- Developer Friendly: Easy-to-use events for partial and final speech results.
🛠️ Installation for Users
- Install Minecraft Forge 1.20.1.
- Drop the jar file into your
modsfolder. - Download a Model:
- Open the game and go to Mods -> VoskLib -> Config.
- Select a model (Small, Medium, or Large) and click Download.
- VoskLib will handle the download and extraction automatically.
⌨️ Keybinds
- V (Default): Toggles voice recognition on/off.
- Configurable in the standard Controls menu under the “Vosk Voice Library” category.
📜 Credits
- Vosk API: Developed by Alpha Cephei.
- Mod Author: Infinity Two.
More Info: Github page.
常见问题
VoskLib 支持哪些 Minecraft 版本?
VoskLib 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
VoskLib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分