0xAI
ModMinecraft mod that adds AI chat via Ollama. Type `@ai` in chat to ask questions.
Type
Mod
Modrinth Downloads
177
Modrinth ID
Qqd7ogyY
Last Updated
Apr 13, 2026
Description
0xAI
Minecraft mod that adds AI chat via Ollama. Type @ai in chat to ask questions.
Install
- Put the mod JAR in your mods folder
- Run Ollama: ollama pull llama3.2 ollama serve
- Launch Minecraft
Usage
In chat:
@ai how do i find diamonds @ai what's the best food @ai how to make a nether portalConfig
Edit config/oxai.json:
{ "enabled": true, "trigger": "@ai", "ollamaUrl": "http://localhost:11434", "model": "llama3.2", "systemPrompt": "You are a helpful AI assistant in Minecraft.", "maxTokens": 150, "temperature": 0.7, "responsePrefix": "[AI] ", "maxMessageLength": 256, "showErrors": true, "requestTimeout": 30000, "contextMessages": 5 } Option What it does enabled Turn mod on/off trigger Text to trigger AI (default: @ai) ollamaUrl Ollama server address model Which model to use maxTokens Max response length temperature How creative the AI is (0-1) responsePrefix Text before AI messages maxMessageLength Max characters per chat line showErrors Show errors in chat requestTimeout Timeout in ms contextMessages How many past messages to rememberModels
Works with any Ollama model. Common ones:
- llama3.2
- llama3.2:1b (faster, uses less memory)
- mistral
- phi3
Build
git clone <repo> cd oxai ./gradlew buildJAR ends up in build/libs/.
Troubleshooting
Mod doesn't respond:
- Check Ollama is running: ollama serve
- Check model is installed: ollama list
- Verify config file
Slow:
- Use smaller model (llama3.2:1b)
- Lower maxTokens
- Lower contextMessages
Connection refused:
- Check ollamaUrl in config
- Make sure Ollama is running on correct port
Compatibility
Mod Loaders
Game Versions
Similar Mods
Coolest Hardcore
Better hardcore
Mc122477Fix-Updated
A simple mod that fixes MC-122477, the random extra chat character on Unix-based systems.
Better Crafts: Enchanted Golden Apple
Better Crafts: Enchanted Golden Apple is a data pack that allows you to craft enchanted golden apple [1.21.4 - 26.1.2]
Wood Sawmill
A simple mod that adds one block — Sawmill. It allows you to save wood and functions similarly to a Stonecutter.
Solomons Rod [unofficial]
Solomons Rod Reproduction
Material Beacons
Changes the effect of beacons to be based on the material used to construct them.