ModsFinder

ollamachat

by xingwangzhe

With ollamachat installed, players can talk to a language model that runs on their own computer through the Ollama service, using in-game commands.

FabricClient-side onlyMIT LicenseOpen source1.20.1

What it does

The mod lets players chat with a model deployed locally through Ollama, from inside Minecraft. Ollama must be on the computer with at least one model available, for example llama3 added with the ollama pull command, and the local service must be started with ollama serve before chat works. Replies arrive as dynamic, AI-generated conversation in the game.

ollamachat is a Fabric mod for Minecraft 1.20.1 and runs on the client only, so a server does not need it and players join without installing anything. The code is open source under the MIT License, and its files are published for 1.20.1, with 1.0.1-1.20.1 as the latest build from 2025-02-04. Source code and an issue tracker are publicly available.

Key features

  1. Real-time chat

    Messages sent in game are passed to the local model and the answers appear in the chat window as they come back.

  2. Model switching

    A command selects which locally deployed model answers, so different models can be tried without restarting the game.

  3. Set model command

    The chosen model is stored with a set model command, letting players keep a preferred model for later sessions.

  4. Service control

    In-game commands check and manage the connection to the local Ollama service, so the game can recover if it is stopped.

Compatibility

Latest build for each game version and loader.

1.20.11.0.1-1.20.1
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Roleplay and quests

Players can give a chat character a role in an adventure or a storyline and let the model respond in that voice.

Experiments with local models

Anyone who wants to compare models pulled into Ollama can switch between them from the game and see the answers side by side.

Who it’s for: The mod suits players who already run Ollama on their own machine and want a language model available in singleplayer chat. It is a client-side tool, so it fits personal play rather than server administration.

Questions

Does ollamachat need Ollama on the computer?

Yes. Ollama has to be on the player's machine with at least one model available, and ollama serve must be running before the mod can send requests.

Does a server need ollamachat?

No. Servers do not need it; each player installs it for their own game.

Which model can be used first?

Any model added with ollama pull can be used, for example llama3. The model is then chosen in game with the switching or set model commands.

In the catalog

ollamachat is one of 2,135 Minigame mods on ModsFinder, and one of 1,454 Minigame mods for Fabric. 34,764 mods support Minecraft 1.20.1.

More from xingwangzhe

All projects

Similar mods

What the author says

Empower Minecraft players to interact with locally deployed AI(Free for use) models through in-game commands! Built on Ollama, this mod enables dynamic AI-generated conversations. Thank DeepSeek Chat for helping me solve various problems and writing most of the network communication code and other code. ---
xingwangzhe, on the Modrinth page

Official listing

Owner
xingwangzhe
Published
2025-02-03
Updated on Modrinth
2025-02-04
Facts verified
2026-10-15

Tags