{"id":167685,"date":"2026-06-09T22:10:55","date_gmt":"2026-06-09T19:10:55","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/vosklib\/"},"modified":"2026-06-09T22:10:55","modified_gmt":"2026-06-09T19:10:55","slug":"vosklib","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/vosklib\/","title":{"rendered":"VoskLib"},"content":{"rendered":"<p># \ud83c\udf99\ufe0f VoskLib<\/p>\n<p>**VoskLib** is a high-performance, offline voice recognition library for **Minecraft Forge 1.20.1**<\/p>\n<p>&#8212;<\/p>\n<p>## \u2728 Features<\/p>\n<p>*   **100% Offline:** No API keys or internet connection required for recognition.<br \/>\n*   **Dual Modes:** Switch between **Literal Mode** (wide vocabulary) and **Grammar Mode** (constrained lists).<br \/>\n*   **In-Game Model Manager:** Download and manage Vosk models directly from the mod config menu with a built-in progress bar.<br \/>\n*   **Thread Safe:** Background audio processing automatically synchronized with the Minecraft main thread.<br \/>\n*   **Developer Friendly:** Easy-to-use events for partial and final speech results.<\/p>\n<p>***<\/p>\n<p>## \ud83d\udee0\ufe0f Installation for Users<\/p>\n<p>1.  Install **Minecraft Forge 1.20.1**.<br \/>\n2.  Drop the jar file into your `mods` folder.<br \/>\n3.  **Download a Model:**<\/p>\n<p>*   Open the game and go to **Mods** -> **VoskLib** -> **Config**.<br \/>\n*   Select a model (Small, Medium, or Large) and click **Download**.<br \/>\n*   VoskLib will handle the download and extraction automatically.<\/p>\n<p>***<\/p>\n<p>## \u2328\ufe0f Keybinds<\/p>\n<p>*   **V (Default):** Toggles voice recognition on\/off.<br \/>\n*   _Configurable in the standard Controls menu under the &#8220;Vosk Voice Library&#8221; category._<\/p>\n<p>***<\/p>\n<p>## \ud83d\udcbb Developer API<\/p>\n<p>To use VoskLib in your project, add it to your `build.gradle` and start listening for events.<\/p>\n<p>### 1. Handling Speech Results<\/p>\n<p>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.<\/p>\n<p>&#8220;`<br \/>\n@SubscribeEvent<br \/>\npublic void onVoiceResult(VoskVoiceEvent.Result event) {<br \/>\n    String text = event.getResult().toLowerCase();<\/p>\n<p>    if (text.contains(&#8220;fireball&#8221;)) {<br \/>\n        \/\/ Your logic: Summon a fireball in front of the player<br \/>\n    }<br \/>\n}<\/p>\n<p>@SubscribeEvent<br \/>\npublic void onPartialSpeech(VoskVoiceEvent.Partial event) {<br \/>\n    \/\/ Useful for real-time UI subtitles<br \/>\n    String partial = event.getResult();<br \/>\n}<br \/>\n&#8220;`<\/p>\n<p>### 2. Controlling the State<\/p>\n<p>You can request VoskLib to start or stop listening by using:<\/p>\n<p>&#8220;`<br \/>\nString[] spells = {&#8220;ignite&#8221;, &#8220;freeze&#8221;, &#8220;thunder&#8221;, &#8220;heal&#8221;};<br \/>\nVoskManager.createRecognition(spells); \/\/ Create Recognition for Grammar Mode (High Accuracy for specific words)<br \/>\nVoskManager.createRecognition(); \/\/ Create Recognition for Literal Mode (General Dictation)<\/p>\n<p>VoskManager.startListening(); \/\/ Start Listening<br \/>\nVoskManager.stopListening(); \/\/ Stop Listening<br \/>\n&#8220;`<\/p>\n<p>&#8212;<\/p>\n<p>## \ud83d\udcdc Credits<\/p>\n<p>*   **Vosk API:** Developed by Alpha Cephei.<br \/>\n*   **Mod Author:** Infinity Two.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A library mod that ports VOSK to Minecraft<\/p>\n","protected":false},"featured_media":167686,"template":"","meta":{"_minecraft_slug":"vosklib","_minecraft_project_id":"XnPcX7yP","_minecraft_author":"InfinityTwoGames","_minecraft_license":"GPL-3.0-only","_minecraft_downloads":11,"_minecraft_follows":0,"_minecraft_client_side":"required","_minecraft_server_side":"unsupported","_minecraft_storage_type":"zip","_minecraft_archive_name":"vosklib.zip","_minecraft_size_bytes":25818345,"_minecraft_version_count":2,"_minecraft_updated_at":"2026-05-16T12:20:38.141968Z","_minecraft_date_created":"2026-05-12T06:16:39.642811Z","_minecraft_date_modified":"2026-03-02T01:05:40.022804Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/vosklib","_minecraft_icon_attachment_id":167686,"_minecraft_imported_at":"2026-06-09T19:10:55+00:00","_minecraft_import_hash":"cd2554bec0a3e8db125115039c617f39","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[104,873],"mod_loader":[106],"minecraft_version":[36],"class_list":["post-167685","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-forge","mod_category-library","mod_loader-forge","minecraft_version-1-20-1"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>VoskLib - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/vosklib\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"VoskLib - Minecraft\" \/>\n<meta property=\"og:description\" content=\"A library mod that ports VOSK to Minecraft\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/vosklib\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/vosklib\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/vosklib\\\/\",\"name\":\"VoskLib - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/vosklib\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/vosklib\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/vosklib-icon-b226cae1a5aac1b54efde978cd6c3b6eb08c97f6_96.webp\",\"datePublished\":\"2026-06-09T19:10:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/vosklib\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/vosklib\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/vosklib\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/vosklib-icon-b226cae1a5aac1b54efde978cd6c3b6eb08c97f6_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/vosklib-icon-b226cae1a5aac1b54efde978cd6c3b6eb08c97f6_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/vosklib\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"VoskLib\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"VoskLib - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/vosklib\/","og_locale":"en_US","og_type":"article","og_title":"VoskLib - Minecraft","og_description":"A library mod that ports VOSK to Minecraft","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/vosklib\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/vosklib\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/vosklib\/","name":"VoskLib - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/vosklib\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/vosklib\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/vosklib-icon-b226cae1a5aac1b54efde978cd6c3b6eb08c97f6_96.webp","datePublished":"2026-06-09T19:10:55+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/vosklib\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/vosklib\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/vosklib\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/vosklib-icon-b226cae1a5aac1b54efde978cd6c3b6eb08c97f6_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/vosklib-icon-b226cae1a5aac1b54efde978cd6c3b6eb08c97f6_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/vosklib\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"VoskLib"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/167685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/167686"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=167685"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=167685"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=167685"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=167685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}