HomeJavaModsBafchat
Bafchat

Bafchat

While there are already plenty of mods around which bring OpenAI's API into Minecraft, there hasn't yet been the same abundance of mods seeking to bring local LLMs into the game. Bafchat is here to save the day! Ask your new AI buddy questions, or maybe get some help when you've forgotten a command or crafting recipe. If your model can do it, Bafchat can do it too (provided you have the prompt correctly configured in Bafmod3Config.json).

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 local.ai's server, but I believe it should work with others such as those provided by Kobold and Oobabooga. The recommended model as of right now is RedPajama-INCITE-Chat-3B-v1 because it is a small model that processes prompts relatively fast on CPU, however as a trade-off, its responses leave much to be desired.

NOTE: If you do elect to choose a different model, you will have to modify the prompting style in Bafmod3Config.json, otherwise you may get unexpected results.

OTHER NOTE: When editing the prompt in Bafmod3Config.json, please ensure you keep the placeholder {{message}} in the prompt, placing it where you want your in-game messages to go in the template.

Features

Requirements

Slight issues

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more