Back to mods
OxAI project artwork

Modrinth · Minecraft mod

OxAI

Minecraft mod that adds AI chat via Ollama. Type `@ai` in chat to ask questions.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which OxAI release matches 26.1.2?

Updated 2 months ago
Best match for your filters 0.1.5
Game version 26.1, 26.1.1, 26.1.2
Loader Fabric, Quilt

OxAI 0.1.5 targets 26.1, 26.1.1, 26.1.2 with Fabric, Quilt. It must be installed on the client. Do not install it on the dedicated server. All 1 required mods have matching files.

Where it goes

Is OxAI required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release Fabric, Quilt
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does OxAI 0.1.5 need?

0.1.5 on 26.1.2. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

2 listed on this file 1 pulled in by one of those mods
Fabric API Needed by OxAI 0.1.5
required
Matching file found Matched file: 0.155.3+26.1.2
Mod Menu Optional for OxAI 0.1.5
optional
Matching file found Matched file: 18.0.2

1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add OxAI without breaking your instance.

Built for OxAI 0.1.5 on 26.1.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 0.1.5. It targets 26.1, 26.1.1, 26.1.2 with Fabric, Quilt; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 0.1.5. It opens that exact file at the source.

About this project

What does OxAI add?

oxai

oxai is a Fabric client mod that adds an Ollama-powered chat companion to Minecraft. Type @ai in chat and the mod sends the prompt to your local Ollama server, then replies in chat.

Support

  • Mod version: 0.1.5
  • Minecraft: 26.1.x
  • Fabric Loader: 0.17.3+
  • Fabric API: required
  • Java: 25+
  • Mod Menu: optional, supported

Mod Menu adds an in-game config screen for the same settings stored in config/oxai.json.

Install

  1. Install Fabric Loader and Fabric API for Minecraft 26.1.x.
  2. Put the 0xAI JAR in your mods folder.
  3. Optional: install Mod Menu to configure 0xAI in-game.
  4. Start Ollama:
ollama pull llama3.2
ollama serve
  1. Launch Minecraft.

Usage

In chat:

@ai how do i find diamonds
@ai what's the best food
@ai how do i make a nether portal

The default trigger is @ai. You can change it in Mod Menu or in config/oxai.json.

Configuration

With Mod Menu installed:

  1. Open Mods.
  2. Select 0xAI.
  3. Open the config screen.
  4. Change settings and press Done.

Without Mod Menu, edit config/oxai.json:

{
  "enabled": true,
  "trigger": "@ai",
  "ollamaUrl": "http://localhost:11434",
  "model": "llama3.2:3b",
  "systemPrompt": "You are a helpful AI assistant in a Minecraft server. Keep responses concise and friendly.",
  "maxTokens": 150,
  "temperature": 0.7,
  "responsePrefix": "[AI] ",
  "maxMessageLength": 256,
  "showErrors": true,
  "requestTimeout": 60000,
  "contextMessages": 5
}
Option What it does
enabled Turns AI replies on or off
trigger Chat text that triggers the AI
ollamaUrl Ollama server address
model Ollama model name
systemPrompt System message sent with each request
maxTokens Maximum generated response length
temperature Response randomness from 0.0 to 1.0
responsePrefix Prefix added before AI chat messages
maxMessageLength Maximum characters per chat line
showErrors Shows request errors in chat
requestTimeout Ollama request timeout in milliseconds
contextMessages Number of recent chat turns to keep as context

Models

0xAI works with any Ollama chat model. Common choices:

  • llama3.2:3b
  • llama3.2:1b
  • mistral
  • phi3

Use smaller models for faster replies or lower-end hardware.

Build

Install JDK 25+, then build with Gradle:

./gradlew build

On Windows PowerShell, if the Unix wrapper script is not executable, run:

java -classpath gradle\wrapper\gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain build

The built JAR is written to build/libs/.

Troubleshooting

Build says release version 25 not supported

Gradle is using an older JDK. Install JDK 25 and make sure JAVA_HOME or your IDE Gradle JVM points to it.

The mod does not respond

  • Make sure 0xAI is enabled in Mod Menu or config/oxai.json.
  • Check that Ollama is running with ollama serve.
  • Check that the configured model is installed with ollama list.
  • Verify that your message contains the configured trigger.

Replies are slow

  • Use a smaller model such as llama3.2:1b.
  • Lower maxTokens.
  • Lower contextMessages.

Connection refused

  • Check ollamaUrl.
  • Make sure Ollama is running on the configured host and port.

Project description from Modrinth.

Pick your setup

OxAI by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

11 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

OxAI versions and loaders

3 of 7 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.