Speaking Villagers - ChatGPT and TTS

Speaking Villagers - ChatGPT and TTS

Brings villagers to life! Chat with them and much more

15 766 downloads 51 followers

Speaking Villagers โ€“ AI Conversations, Friendships & Quests

Talk to villagers in Minecraft with AI-generated responses, build friendships, and receive dynamic quests!

Now with Mistral API support! Free to use with your own API key ๐ŸŽ‰ Now with player speech recognition!

Read the full description or check the in-game ModMenu for setup instructions!

<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/utW82hROlCg" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

Video is kinda old, mod is better now than whats shown there.


Overview

Speaking Villagers enhances villager interactions in Minecraft by introducing AI-generated conversations, dynamic villager-player friendships and quests.
Villagers now recognize their surroundings, react to your actions, and remember past interactions.

Each villager is assigned one of 8000+ distinct personalities, making every interaction feel even more unique.

Some features (TTS & voice recognition) only work on Windows PCs.

Highly recommend to use with ModMenu!


๐Ÿ†• Version 0.6 โ€“ Another Major Update!

  • Player Voice Input: Talk to villagers directly with your microphone using speech-recognition. (setup below)
  • 23 Unique Voices: English, German, and Multilingual voices, selectable via ModMenu.
  • Overhauled Quest System: 176 different gather quests and 210 profession-based rewards with improved balance and scaling.
  • Expanded Personality Engine: Villagers now have over 8,000 unique personality combinations.
  • Improved Gift System: Villagers now drop gifted items on death and only pick up items dropped by players.
  • Experimental Language Settings: Villagers can auto-detect the player's language or use a set preferred language.
  • Redesigned ModMenu Config: Many new options to control TTS, memory, speech models, awareness, and more.
  • No more environment variables required, as API keys can be set via ModMenu
  • Important Bug Fixes: No more /speak crashes when API keys are missing, along with general stability improvements.

๐Ÿ‘‰ Full changelog under the file!


Features

โœ… AI Conversations โ€“ Talk to villagers with smart, contextual responses
โœ… Context Awareness โ€“ Villagers respond to:

  • Your player name, armor, held items, hotbar, health and hunger
  • Biome, weather, and time of day
  • Nearby mobs, blocks, and structures
  • Active potion effects and game mode
  • Reputation and friendship level
  • Whether they're indoors, in bed, swimming, or riding

โœ… Friendship System โ€“ Befriend villagers and theyโ€™ll follow you
โœ… Quest System โ€“ Villagers offer procedurally generated quests
โœ… Gift System โ€“ Villagers pick up items and comment on them (must be activated via ModMenu)
โœ… 8000+ different personalities โ€“ Each villager feels unique
โœ… Windows Voice Support โ€“ Villagers speak aloud using Windows Speech API
โœ… Works alongside the Talking Mobs Mod

๐Ÿ› ๏ธ Fully customizable via ModMenu: Choose AI model, set limits, toggle systems, and more!


API Setup (Mistral or OpenAI)

๐ŸŽ‰ Free Option โ€“ Mistral

  • Create a free account at mistral.ai
  • Generate an API key - you can find it under "La plateforme" on their site when you are logged in.
  • Add this to your system as an environment variable: MISTRAL_API_KEY=your_api_key
  • From version 0.6 on you don't need to set API keys as environment variables anymore, alternatively you can now set them via ModMenu!

Mistral usage is limited to 1.000.000.000 tokens/month, which you will not hit by only using this mod

๐Ÿ’ฐ Paid Option โ€“ OpenAI

  • Requires an OpenAI account and API key
  • Add this to your system as: OPENAI_API_KEY=your_api_key
  • From version 0.6 on you don't need to set API keys as environment variables anymore, alternatively you can now set it via ModMenu!
  • Billed per token

No API key = No AI responses = No charges. You decide which one to use via ModMenu.

Restart your PC after setting environment variables to take effect. Alternatively set 'em via ModMenu (no restart needed)


Installation

  1. ๐Ÿงฉ Install the Mod
    Drop the .jar into your mods folder.

  2. ๐Ÿ”Š Install Natural Voice SAPI Adapter for better villager speech (only works on Windows)
    Without it, voices will sound robotic.
    ๐Ÿ‘‰ Download Adapter

  3. ๐Ÿ” Set up your API key
    Choose OpenAI or/and Mistral โ€” both supported. From version 0.6 on you don't need to set API keys as environment variables anymore, alternatively you can now set them via ModMenu!

  4. ๐ŸŽค Setup Voice recognition (optional)

  • Run the mod once and enable voice recognition in ModMenu.
  • When you attempt to speak, the mod will display the required model path (usually under ./AppData/Local/SpeakingVillagers/vosk_model).
  • Download a Vosk model (e.g., fromย alphacephei.com/vosk/models) and extract its contents into the shown folder.
  • Restart the game and try speaking to a villager again.

๐Ÿ‘‰ Download Vosk models (recommended: vosk-model-small-en-us-0.15).

Larger models require high-end hardware.


Commands

  • /speak <message> โ€“ Say something to a nearby villager
  • /befriend โ€“ Manually start a friendship with the nearest villager
  • /unfriend โ€“ Manually end a friendship with the nearest villager
  • /quests - shows your active quests
  • /villagertraits - shows the personality traits of all villagers nearby
  • /tokens - shows how many tokens you have used, mainly for debugging/info, not relevant for gameplay

Compatibility

โœ… Compatible with most other mods
โš  Some features require Windows (uses Windows Speech API for TTS, Vosk natives for speech recognition)
โš  Tested in Singleplayer only โ€” should work on servers when installed on both server and client, but full multiplayer optimization is still pending.
โš ย Java 21 is required. Minecraft 1.20.x users must manually set the Java Executable in their launcher settings to point to Java 21 (javaw.exe), as it defaults to Java 17 otherwise and the game may crash on launch.ย 


๐Ÿ“š Need help? Check the wiki!

โ˜• Wanna support this project? Buy me aย coffee :)

๐ŸŽฎ Now go chat with your villagers and have fun!

ย 

Planned features for future updates

  • Full multiplayer compatibility
  • Support for other TTS APIs e.g. ElevenLabs - would bring support TTS support for more operating systems, more voices and languages.
  • GUI and visual improvements
  • Translating settings to more languages
Version Minecraft Loader Download

Speaking Villagers Mod v0.6.1

0.6.1

1.21
fabric
Download

Speaking Villagers Mod v0.6.1

0.6.1

1.21.5
fabric
Download

Speaking Villagers Mod v0.6.1

0.6.1

1.21.4
fabric
Download

Speaking Villagers Mod v0.6.1

0.6.1

1.21.3
fabric
Download

Speaking Villagers Mod v0.6.1

0.6.1

1.21.2
fabric
Download

Speaking Villagers Mod v0.6.1

0.6.1

1.21.1
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.5

0.5

1.21.5
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.5

0.5

1.21.3
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.5

0.5

1.21.2
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.5

0.5

1.21.1
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.5

0.5

1.21
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.5

0.5

1.21.4
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.4.1

0.4.1

1.21.4
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.4.1

0.4.1

1.21.3
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.4.1

0.4.1

1.21.2
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.4.1

0.4.1

1.21.1
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.4.1

0.4.1

1.21
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.4 The Big Update

0.4

1.21.4
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.4 The Big Update

0.4

1.21
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.3.3

0.3.3

1.21.4
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.3.2

0.3.2

1.21.2
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.3.2

0.3.2

1.21.1
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.3.2

0.3.2

1.21
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.3.3

0.3.3

1.21.3
fabric
Download

Speaking Villagers - ChatGPT and TTS 0.3

0.3

1.21.3
fabric
Download