Mod

VoskLib

Quick rating

VoskLib

No reviews yet

A voice recognition library mod for Minecraft

API/Library
Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
GNU General Public License v3.0 only
Latest Version
vosklib-1.20.1-1.1.0.jar
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

🎙️ 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

  1. Install Minecraft Forge 1.20.1.
  2. Drop the jar file into your mods folder.
  3. 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

VoskLib is a high-performance, offline voice recognition library for Minecraft Forge 1.20.1


✨ 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

  1. Install Minecraft Forge 1.20.1.
  2. Drop the jar file into your mods folder.
  3. 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.

💻 Developer API

To use VoskLib in your project, add it to your build.gradle and start listening for events.

1. Handling Speech Results

VoskLib fires events on the Forge Event Bus. These events are already executed on the Main Thread, so you can safely interact with the player or world.

@SubscribeEvent
public void onVoiceResult(VoskVoiceEvent.Result event) {
    String text = event.getResult().toLowerCase();

    if (text.contains("fireball")) {
        // Your logic: Summon a fireball in front of the player
    }
}

@SubscribeEvent
public void onPartialSpeech(VoskVoiceEvent.Partial event) {
    // Useful for real-time UI subtitles
    String partial = event.getResult();
}

2. Controlling the State

You can request VoskLib to start or stop listening by using:

String[] spells = {"ignite", "freeze", "thunder", "heal"};
VoskManager.createRecognition(spells); // Create Recognition for Grammar Mode (High Accuracy for specific words)
VoskManager.createRecognition(); // Create Recognition for Literal Mode (General Dictation)

VoskManager.startListening(); // Start Listening
VoskManager.stopListening(); // Stop Listening

📜 Credits

  • Vosk API: Developed by Alpha Cephei.
  • Mod Author: Infinity Two.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync