Voice Command Mod
说出不该说的话。看着某些东西生成。由 Xeroh 展示最佳效果。
Voice Command Mod 会在你游玩 Minecraft 时监听你的麦克风。当它检测到语音中的触发词时,会随机选择一个生物并在你附近生成。无需 Python,无需外部程序,只需将 JAR 文件放入 mods 文件夹即可。
专为主播设计,但任何希望有人提醒自己管住嘴的玩家也能使用。
工作原理
该模组使用 Vosk 进行离线语音识别。所有内容均在你的计算机本地运行。首次启动时,一个小型语音模型(约 40MB)会自动提取到你的 .minecraft 文件夹中。语音检测不需要网络连接,且永远不会发送任何音频数据。
要求
- Minecraft 1.20.1
- Forge 47.3.0 或更高版本
- wonderland.jar(用于生成预设生物所必需,然而,这可以在配置文件中更改为你想要的任何生物 ID)
- 在 Windows 中设置为默认录音设备的工作麦克风
功能
- 语音触发生物生成:说出一个触发词(可在配置中更改),该词对应的生物池中的一个生物就会生成。每个词组都有一个生物列表,每次都会随机选择一个。
- 子串检测:模组会捕捉更长单词内的触发词。如果没有此功能,模组会有些无聊。添加此功能是为了增加一些混乱。
- 诅咒彩票:每第 10 个词会激活“诅咒彩票”。此时不是生成一个生物,而是从整个池中快速生成 3 到 5 个随机生物。
- 羞耻标题:每次触发词时,聊天栏会出现一条消息,显示你的总脏话次数和你所说的词。
- 清洁连击追踪器:每次触发后,距离上次触发词的时间会显示在你的快捷栏上方,以便你和观众可以看到你保持了多久的良好行为。
- 完全可配置的词和生物列表(截至 2.1.1 版本,游戏内有一个配置菜单)首次启动时,模组会在以下位置创建一个纯文本配置文件:
.minecraft/config/voicecommand_words.txt
用记事本打开它,可以添加词、移除词、更改每个词生成的生物,以及控制哪些生物生成在你头顶而不是你面前。无需 JSON,无需特殊语法,只需纯文本。 添加新触发词的示例:
chicken = the_wonderland:carrier_aggro, the_wonderland:eyeless
- 游戏内设置:更多设置可通过 Forge 模组配置屏幕下的 Mods -> Voice Command Mod -> Config 获得:
- 启用或禁用整个模组
- 触发冷却时间(秒)
- 彩票频率
- 切换脏话计数显示
- 切换连击显示
首次启动
安装模组后首次启动时,Vosk 语音模型会自动提取到你的 .minecraft 文件夹中。这在后台发生,需要几秒钟。准备就绪时,你会在游戏日志中看到此消息:
[VoiceMod] Microphone started - listening for trigger words!
对于主播
该模组的设计考虑了直播需求。羞耻标题出现在聊天栏中,以便观众在直播中看到它们。连击追踪器给观众提供了一个可以观看其累积的目标。“诅咒彩票”随着脏话次数接近下一个大奖,创造了自然的紧张时刻。
词和生物配置文件使得无需重新编译任何东西即可轻松为你的特定整合包定制模组变得容易。
故障排除
我说话时没有任何反应
- 确保你的麦克风在 Windows 声音设置中设置为默认录音设备
- 检查游戏日志中是否有 “[VoiceMod] Microphone started” 这一行
- 确保你已完全加载进入世界,而不仅仅是在标题屏幕上
生物没有生成
- 确保安装了 wonderland.jar(除非在配置中更改)
- 检查配置文件以确认生物 ID 正确
- 检查游戏日志中是否有任何以 [VoiceMod] ERROR 开头的行
- 确保你有权限生成生物(仅在 2.0.0 版本中)
我想使用来自其他模组的生物
- 打开 .minecraft/config/voicecommand_words.txt
- 用整合包中的任何有效实体 ID 替换生物 ID
- 格式为 modid:entityname,与 /summon 命令相同
隐私
该模组使用 Vosk 语音识别库,完全离线运行。没有音频被记录到磁盘。没有任何音频或转录数据发送到任何服务器。所有内容都保留在你的机器上。
错误
错误报告可以在我的 discord 提交,同时也可以在 Discord 中提出对模组的建议。
鸣谢
语音识别由 Alpha Cephei 的 Vosk 提供动力。模组化生物来自 wonderland.jar
Voice Command Mod
Say something you shouldn't. Watch something spawn. Shown best by Xeroh.
Voice Command Mod listens to your microphone while you play Minecraft. When it detects a trigger word in your speech, it randomly selects a mob and spawns it near you. No Python, no external programs, no setup beyond dropping the JAR in your mods folder.
Built for streamers, but works for anyone who wants a reason to watch their mouth.
How It Works
The mod uses Vosk for offline speech recognition. Everything runs locally on your computer. A small voice model(around 40MB) is extracted to your .minecraft folder on first launch automatically. No internet connection required for voice detection, and no audio data is ever sent anywhere.
Requirements
- Minecraft 1.20.1
- Forge 47.3.0 or higher
- wonderland.jar (required to spawn preset mobs, HOWEVER, this can be changed in the config to any mob id you want)
- A working microphone set as your default recording device in Windows
Features
- Voice Triggered Mob Spawns say a trigger word(changeable in config) and a mob from that word's pool spawns. Each word group has a list of mobs and one is chosen at random every time.
- Substring Detection the mod catches trigger words inside longer words. Without this, the mod was a bit boring. This was added for some extra chaos.
- Cursed Lottery every 10th word activates the Cursed Lottery. Instead of one mob, 3 to 5 random mobs from the entire pool spawn rapidly.
- Shame Title every time a word triggers a message appears in chat showing your total swear count and the word you said.
- Clean Streak Tracker after each trigger the time since your last trigger word is displayed above your hotbar so you and your viewers can see how long you managed to behave.
- Fully Configurable Word and Mob Lists (As of version 2.1.1 there is an in game config menu) On first launch the mod creates a plain text config file at
.minecraft/config/voicecommand_words.txt
Open it in Notepad to add words, remove words, change which mobs each word spawns, and control which mobs spawn on top of you verus in front of you. No JSON, no special syntax, just plain text. Example of adding a new trigger word:
chicken = the_wonderland:carrier_aggro, the_wonderland:eyeless
- In Game Settings additional settings are avaiable through the Forge mod config screen under Mods -> Voice Command Mod -> Config:
- Enable or disable mod entirely
- Trigger cooldown in seconds
- Lottery frequency
- Toggle swear count display
- Toggle streak display
First Launch
On your very first launch with the mod installed, the Vosk voice model will be automatically extracted to your .minecraft folder. This happens in the background and takes a few seconds. You will see this message in your game log when it is ready:
[VoiceMod] Microphone started - listening for trigger words!
For Streamers
This mod was designed with streaming in mind. The shame title appears in chat so viewers can see them in stream. The streak tracker gives viewers something to watch build up. The Cursed Lottery creates natural moments of tension as the swear count climbs toward the next jackpot.
The word and mob config file makes it easy to customise the mod for your specific modpack without needing to recompile anything.
Troubleshooting
Nothing happens when I speak
- Make sure your microphone is set as default recording device in Windows Sound Settings
- Check the game log for the line "[VoiceMod] Microphone started"
- Make sure you are fully loaded into a world, not just on the title screen
Mobs are not spawning
- Make sure the wonderland.jar is installed(unless changed in configs)
- Check the config file to confirm the mob IDs are correct
- Check the game log for any lines starting with [VoiceMod] ERROR
- Make sure you have permissions to spawn mobs (only in version 2.0.0)
I want to use mobs from a different mod
- Open .minecraft/config/voicecommand_words.txt
- Replace the mob IDs with any valid entity ID from your modpack
- The format is modid:entityname, the same as the /summon command
Privacy
This mod uses the Vosk speech recognition library which runs entirely offline. No audio is recorded to disk. No audio or transciption data is ever sent to any server. Everything stays on your machine.
Bugs
Bug reports can be submitted in my discord, along with suggestions for the mod.
Credits
Speech recognition powered by Vosk by Alpha Cephei. Modded mobs from wonderland.jar
下载 Voice Command Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Voice Command Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Voice Command Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Voice Command Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Voice Command Mod
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Voice Command Mod
下载 Voice Command Mod
下载 Voice Command Mod
下载 Voice Command Mod
下载 Voice Command Mod
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧