Shriek: Speech-to-Text Voice Recognition for Minecraft
Imagine talking to your Minecraft world and having it actually listen. That is exactly what Shriek delivers. Shriek is a maintained fork of VoiceLib by Volcano Bay Studios, and it is a speech-to-text library that taps into your microphone, understands what you are saying, and hands that text to mod developers so they can build voice-driven gameplay. Whether you want to shout a command, whisper a secret, or trigger a trap by saying a single word, Shriek makes it possible.
What Shriek Actually Does
At its core, Shriek uses Vosk, an offline speech recognition engine, to convert spoken audio into text. The mod listens to your microphone, runs the audio through a language model, and fires events whenever speech is detected. Developers can then hook into those events and react however they like. A server-side listener can make a player catch fire when they say "ouch," while a client-side listener can log what you said or display it in chat.
This is not a gimmick mod that plays a sound when you yell. Shriek is a genuine API layer, and its whole purpose is to give other mods a reliable way to react to the human voice inside Minecraft.
Supported Versions and Loaders
Shriek is built for the Fabric loader, and the published builds target modern Minecraft releases with Fabric API installed alongside it. If you are running a Fabric profile, you are in the right place. Check the project page for the exact Minecraft version matched to each Shriek build before you commit, since the bundled Vosk model and dependency chain can shift between releases.
Installation Requirements
- Fabric Loader installed for your chosen Minecraft version
- Fabric API in your mods folder
- A working microphone that Minecraft is allowed to access
- Roughly 40 MB of free space for the default language model download
How to Install Shriek
Learning how to install Shriek is straightforward, but the first launch deserves a heads-up. Here is the process:
- Install Fabric Loader and place Fabric API in your mods folder
- Download Shriek for Minecraft from the official project page and drop the jar into the same mods folder
- Launch the game once and wait while the default Vosk model downloads
- Grant microphone permission if your operating system asks for it
- Test your setup by enabling chat printing through the API or a companion mod
That first launch can freeze the game for a few seconds while the model is set up. The default model, vosk-model-small-en-us-0.15, is about 40 MB compressed. Larger models such as vosk-model-ru-0.10 weigh in around 2.5 GB compressed, so switching languages is a real download commitment. Changing models triggers a restart or a manual call to refresh the model path.
If you would rather skip the manual jar shuffling, the foxygame.net launcher handles the whole process in a single click, pulling Shriek and its dependencies into a ready-to-run Fabric profile without any folder hunting.
Using the Shriek API
ShriekApi is the class developers interact with. The core methods are simple to reason about:
- EventHandler.setModel() sets the language model used for recognition
- ShriekApi.registerServerPlayerSpeechListener() fires a ServerPlayerTalkEvent whenever any player speaks, exposing the player and the recognized text
- ShriekApi.registerClientSpeechListener() fires a ClientTalkEvent on the client only, for the local user's speech
- ShriekApi.setPrintToChat() toggles printing client speech events to chat
- ShriekApi.setPrintToConsole() does the same for the console
A quick example: register a server listener, check whether the recognized text contains "ouch," and ignite the speaking player for two seconds. That is a complete voice-triggered mechanic in a handful of lines. A ShriekExample repository on GitHub shows the pattern in full.
Privacy and Security Considerations
This is the part you should read carefully. By default, Shriek constantly records and sends all recognized text data to the server. On a server running a modified version of the mod, operators can effectively listen in on what you say. Treat voice input the way you would treat open chat. The push-to-mute key disables your microphone while held, and other mods can toggle recording on or off, but the default behavior is worth understanding before you join a public server.
Final Thoughts
Shriek is a niche but genuinely exciting piece of Minecraft modding infrastructure. It lowers the barrier for voice-controlled gameplay, ships with a working offline recognition engine, and gives developers a clean event-driven API. If you are building a voice feature or just curious what speaking to your world feels like, download Shriek, mind the model download on first launch, and keep an eye on that microphone indicator. The result is one of the more unusual and memorable ways to play Minecraft with Fabric.