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! =)
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)
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
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.
MIT

A Minecraft mod for destroying blocks by speaking their name