Back to mods
Shriek project artwork

CurseForge · Minecraft mod

Shriek

A Minecraft speech to text library; detect what your players say!

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Shriek release should I use?

Updated last month
Latest stable file shriek-neoforge-1.1.22.jar
Game version 1.21, 1.21.8, 1.21.5
Loader NeoForge

shriek-neoforge-1.1.22.jar targets 1.21, 1.21.8, 1.21.5 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is Shriek required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does shriek-neoforge-1.1.22.jar need?

shriek-neoforge-1.1.22.jar. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Architectury API first. We found matching files for this game-version and loader setup.

Architectury API Needed by shriek-neoforge-1.1.22.jar
required
Matching file found Matched file: 13.0.11+neoforge

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Shriek without breaking your instance.

Built for shriek-neoforge-1.1.22.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use shriek-neoforge-1.1.22.jar. It targets 1.21, 1.21.8, 1.21.5 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Architectury API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside shriek-neoforge-1.1.22.jar. It opens that exact file at the source.

About this project

What does Shriek add?

Shriek

A maintained version of VoiceLib by Volcano Bay Studios

Requires Architectury API

A speech to text library that can listen to your microphone and understand what you're saying! Using the power of Vosk, you can speak into your microphone and get an output, and even use multiple languages!

Implementation

repositories {
    maven {
        name = "Modrinth"
        url = "https://api.modrinth.com/maven"
    }
}

dependencies {
    modImplementation "maven.modrinth:shriek:1.1.01+fabric"
}

Usage

ShriekApi is the class for the API. The following are the methods you will be using

import com.pryzmm.client.event.EventHandler;
EventHandler.setModel();
// This will set the language model, defined in https://alphacephei.com/vosk/models
// Language models vary in size; the default is vosk-model-small-en-us-0.15, which is ~40 MB compressed, while others like vosk-model-ru-0.10 are ~2.5GB compressed
// Changing models will restart a restart to download, or a call from EventHandler.getOrCreatePath();

ShriekApi.registerServerPlayerSpeechListener(Consumer<ServerPlayerTalkEvent> consumer)
// This method registers a ServerPLayerTalkEvent Consumer. Whenever a player speaks,
// This event will be fired. The ServerPlayerTalkEvent provides the player, and a string of what they said.

ShriekApi.registerClientSpeechListener(Consumer<ClientTalkEvent> consumer)
// This method registers a ClientTalkEvent Consumer. This method is only fired on the client.
// Whenever the user speaks, this will be fired.

ShriekApi.setPrintToChat(boolean printToChat)
// This is only on the client. This sets whether or not to 
// print client speak events to chat. (Default False)

ShriekApi.setPrintToConsole(boolean printToConsole)
// Same as printToChat but for the console instead. (Default False)

Example

This method makes it so if any player on the server says "ouch" they light on fire

ShriekApi.registerServerPlayerSpeechListener((serverPlayerTalkEvent -> {
    if (serverPlayerTalkEvent.getText().contains("ouch"))
        serverPlayerTalkEvent.getPlayer().igniteForSeconds(2);
}));

You can also see this in ShriekExample through GitHub

Security

There are a few things to note with this mod:

  • The mod automatically downloads a vosk model from the internet on the first launch. The default model is ~40MB compressed and may freeze your game for a couple seconds while setting up the model.
  • This mod by default, constantly records and sends all text data to the server. This means if a server modification has set up their mod to, they can listen into your conversation. Please be weary of this.
  • The push to mute key will turn OFF your microphone whilst held
  • Other mods have the ability to toggle recording on/off

Project description from CurseForge.

Pick your setup

Shriek by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

24 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Shriek versions and loaders

10 of 10 releases match

Looking for an older file? The official CurseForge project page is in Resources.