ModsFinder

Bafchat

by Regular-Baf

Bafchat connects Minecraft chat to a large language model through commands, and the model can run on the player's own computer or local network instead of a paid cloud service.

FabricClient or server, optionalGNU General Public License v3.0 onlyOpen source1.20 – 1.20.1

What it does

Bafchat sends messages from the game to an LLM through the llm command. The model is reached at an API URL set in the Bafmod3Config.json file, found in the config folder of the game directory. The default configuration is pre-configured to work with the local.ai server, and the author states it should also work with other locally hosted APIs such as Kobold and Oobabooga. Because the model runs locally, usage is not charged per request, unlike OpenAI's API, which stops being free once credits run out.

The author recommends the RedPajama-INCITE-Chat-3B-v1 model, which is small enough to process prompts at a reasonable speed on a CPU. The author notes that responses from this model can be weaker than those of larger ones. Players who want a different model or prompting style can change the prompt settings in the same config file, since otherwise the output may be unexpected.

The mod is published for Fabric only, for 1.20 and 1.20.1, and requires Fabric API and Fabric Language Kotlin. It is open source under the GNU General Public License v3.0 only. Either side can run it, and neither needs it. The latest file, 23.06.2 for 1.20.1, was published on 2023-06-14.

Key features

  1. Chat commands for the LLM

    Players send prompts and read replies through in-game commands, without leaving the game window.

  2. Configurable API endpoint

    The URL of the language model server is set in a JSON file, so the mod can point at any compatible local host.

  3. Local model hosting

    The language model runs on a home computer or within a local network, so conversations are not sent to an outside service.

  4. Editable prompting style

    The prompt template and model choice live in the config file and can be replaced for different results.

Compatibility

Latest build for each game version and loader.

1.20.123.06.2
1.2023.06.2
ReleaseBetaAlphaNot available

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

Requirements

Dependencies declared by the latest file for each loader.

Required 2

Fabric Language KotlinThis is a mod that enables usage of the Kotlin programming language for Fabric mods.
Required
Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

How it compares

Full comparison

Chat LLM Translation is a client-side only Fabric mod for 1.21 – 1.21.11 under the MIT License, so it works in a different version range and environment. Better Local Chat is a server-side only Fabric mod for 1.21 – 26.3, also under the MIT License and not open source, so players join it without installing anything. Bafchat differs from both by targeting only 1.20 and 1.20.1 and by running on either side.

ModLoadersGame versionsEnvironmentUpdated
BafchatFabric1.20 – 1.20.1Client or server, optional2023-06-14
Chat LLM TranslationFabric1.21 – 1.21.11Client-side only2026-02-18
Better Local ChatFabric1.21 – 26.3Server-side only2026-09-20

Questions

Does Bafchat need Fabric API to run?

Yes. Fabric API and Fabric Language Kotlin are both required, and both must be installed next to Bafchat on Fabric 1.20 or 1.20.1.

Which game versions does Bafchat support?

The mod has files for 1.20 and 1.20.1, and the latest file, 23.06.2, targets 1.20.1.

Where is the model server address set?

The API URL is set in Bafmod3Config.json in the config folder of the Minecraft directory.

In the catalog

Bafchat is one of 5,392 Social mods on ModsFinder, and one of 4,084 Social mods for Fabric. 34,764 mods support Minecraft 1.20.1.

More from Regular-Baf

All projects

Similar mods

What the author says

Also, OpenAI's API doesn't have unlimited free use, so once you run out of credits you have to pay. Bafchat is powered by LLMs hosted on your own computer (or local network), so you can experiment without worry of racking up charges. ## Default Configuration By default, Bafchat is pre-configured to work with…
Regular-Baf, on the Modrinth page

Official listing

Owner
Regular-Baf
Published
2023-06-14
Updated on Modrinth
2023-06-14
Facts verified
2026-10-15

Tags