Back to mods
VoiceAttackAPI project artwork

Modrinth · Minecraft mod

VoiceAttackAPI

A Minecraft mod to integrate VoiceAttack with specific aspects of the game.

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

Quick answer

Which VoiceAttackAPI release should I use?

Updated 1 year ago
Latest stable file 1.7-1.20.4
Game version 1.20.4
Loader Fabric

VoiceAttackAPI 1.7-1.20.4 targets 1.20.4 with Fabric. It must be installed on the client. Do not install it on the dedicated server. 1 required mod needs a matching file.

Where it goes

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

It must be installed on the client. Do not install it on the dedicated server.

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

This file is marked client-only.

What else does VoiceAttackAPI 1.7-1.20.4 need?

1.7-1.20.4. Change the file and its required mods may change too.

1 required mod needs a matching file

Install Fabric API, Cloth Config API first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.

Fabric API Needed by VoiceAttackAPI 1.7-1.20.4
required
No matching file
Cloth Config API Needed by VoiceAttackAPI 1.7-1.20.4
required
Matching file found Matched file: 13.0.138+fabric

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

Before you install it

Add VoiceAttackAPI without breaking your instance.

Built for VoiceAttackAPI 1.7-1.20.4. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.7-1.20.4. It targets 1.20.4 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API, Cloth Config API first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.7-1.20.4. It opens that exact file at the source.

About this project

What does VoiceAttackAPI add?

Minecraft VoiceAttack Integration Mod

Important! This mod will not work without the companion plugin for VoiceAttack, which can be found here.

Overview

The Minecraft VoiceAttack Integration Mod is a client-side utility designed to enhance accessibility and gameplay experience by allowing VoiceAttack to communicate directly with Minecraft. This mod enables players to execute keybind actions using voice commands, making it easier to navigate the game without relying solely on traditional input methods. It is particularly beneficial for players using controller mods, as it eliminates the need to remember complex button combinations to access various mods and UIs.

Features

  • Seamless Integration: Works out of the box with controller mods, allowing for easy access to game functions without the need for complicated button combinations.
  • Voice Command Execution: Use VoiceAttack to trigger keybind actions in Minecraft, enhancing accessibility for players with different needs.
  • Automatic Port Configuration: The mod automatically establishes a connection to VoiceAttack on a specific static port, generating a unique port for communication during the handshake process.

How It Works

  1. Connection Establishment: Upon launching Minecraft with the mod, it attempts to connect to VoiceAttack on a predefined static port.

  2. Handshake Process: The mod sends a handshake request to VoiceAttack, along with a randomly generated port number for future communication.

  3. Key Command Execution: Once the handshake is successful, VoiceAttack will use the provided port to send key commands to the mod, allowing for real-time execution of keybind actions.

  4. Keybinds for Socket Management:

  • Restart Socket Server: A keybind to restart the socket server, ensuring a stable connection with VoiceAttack. Default key is R.
  • Update Mappings: A keybind to export a voiceattack_translation_keys.json file to the configs folder, which contains the translation keys for any bound key at the time of export. Default key is U.

Setup Instructions

Minecraft Mod

  • No Setup Required: Simply install the mod in your Minecraft client, and it will automatically handle the connection to VoiceAttack.

VoiceAttack Configuration

To set up VoiceAttack for use with this mod, you need to configure each command with the following parameters:

  1. Translation Key: Create a text variable named keybind that corresponds to the action you want to trigger in Minecraft. This variable should hold the translation key for the desired keybind.

  2. Execute Command: Use the Minecraft plugin for VoiceAttack to execute the command. Pass the context execute_keybind along with the keybind variable you created earlier.

Example Command Setup

  1. Create a new command in VoiceAttack.
  2. Add a text variable named keybind with the value of the desired Minecraft action (e.g., key.inventory).
  3. Add an action to execute the Minecraft plugin with the context execute_keybind and reference the keybind variable.

Exporting Translation Keys

To export the translation keys for any bound key:

  1. Use the designated keybind to export the voiceattack_translation_keys.json file.
  2. Locate the exported file in the configs folder.
  3. Reference this file to accurately send data to Minecraft via VoiceAttack.

Use Cases

  • Accessibility: Ideal for players with mobility challenges who may find traditional controls difficult to use.
  • Hands-Free Gameplay: Allows players to execute commands without needing to use their hands, making it easier to multitask or play in a more relaxed position.
  • Enhanced Gameplay: Streamlines the process of accessing various mods and UIs, improving overall gameplay efficiency.

Limitations

  • The mod does not support all keybind methods, including:
    • Player movement controls (e.g., walking, running).
    • Mouse look functionality.
    • Keybinds that require holding down a key (e.g., zooming into a world map).

VoiceAttack logo used with permission from owner.

Project description from Modrinth.

Pick your setup

VoiceAttackAPI by Minecraft version and loader

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

4 available setups

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

Recent files

VoiceAttackAPI versions and loaders

4 of 4 releases match

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