AI Minecraft Mods: Companions, Bots and Mods Made With AI

By The Vibe Code Reviewer7 min readguidesAI mods
Cover image for AI Minecraft Mods: Companions, Bots and Mods Made With AI

"AI Minecraft mod" covers two different things in Mojang's Minecraft. Some mods put an AI player in your world that you talk to in chat and that mines, builds and fights for you. Others are ordinary mods that someone wrote with an AI coding tool. This guide covers the first kind in detail, then shows you how to make the second kind yourself.

One warning up front: almost every AI companion mod targets Minecraft 1.20 or 1.21. Minecraft moved to year-numbered versions in 2026 (26.1, 26.2 and now 26.3), and no mod built for 1.21.11 or older runs on 26.x. To use most of these, make a separate installation in the launcher on the version the mod asks for.

How AI companion mods work

The mod connects Minecraft to a language model. You type (or in some mods, say) "follow me", "get me 20 oak logs" or "build a hut by the river", the model turns that into a plan, and the mod carries it out through in-game actions. The model also talks back in chat, so a companion can tell you it ran out of food or that there's a creeper behind you.

The model has to run somewhere, and that's what decides the cost:

  • A hosted model through an API key (OpenAI, Anthropic, Google's Gemini and others). Smart and fast, and you pay per use. A busy companion sends a lot of requests.
  • A local model through Ollama or LM Studio by Element Labs. Free and private, but it needs a decent graphics card, and small local models make dumber companions.
  • Player2, a free desktop app that sits in between. Mods built on it use its free models plus daily credits for bigger ones, and Player2 pays the API cost.

Mindcraft: AI players that join your world

The Mindcraft GitHub repository page, a Minecraft AI project with LLMs and Mineflayer

Mindcraft by Kolby Nottingham, Max Robinson and the Mindcraft team, on GitHub.

Mindcraft, started by Kolby Nottingham and built with Max Robinson and a team of contributors, is the best-known project here, with about 6,000 stars on GitHub. It isn't a mod you drop into a mods folder. It's a free, open-source Node.js program that logs into your world as an extra player through Mineflayer, the bot library by the PrismarineJS team.

  • Minecraft version: Java Edition up to 1.21.11, with 1.21.6 recommended.
  • Setup: install Node.js (v18 or v20), add an API key or point it at Ollama, open your world to LAN, then run it from a terminal.
  • Models: OpenAI by default, plus Gemini, Anthropic, xAI, DeepSeek, Mistral, Groq, OpenRouter and others, or local models through Ollama with no key.
  • Cost: the software is free. You pay your API provider, or nothing with a local model.

Mindcraft can let the bot write and run its own code to get things done. That's off by default, and the project's own README warns you not to connect the bot to public servers with coding turned on. Leave it off unless you're on a private world.

It also comes out of research: the team behind it published a paper on bots that cooperate to build things together. If you want to watch two AI players argue over who fetches the stone, this is the one.

Player2NPC: companions with a body

Two Player2NPC companions working in a Minecraft meadow next to a crafting table

Player2NPC by Goodbird. Image: Modrinth page.

Player2NPC by Goodbird, now maintained by Zardov, adds companions that walk around your world, chat, mine, place blocks, use tools and fight. You summon one with a key press and give it orders in chat. It has about 362,000 downloads across CurseForge (255,903) and Modrinth (106,150), which makes it the most downloaded AI companion mod for Minecraft as of November 2026.

  • Minecraft version: 1.20.1 to 1.20.6 and 1.21 to 1.21.1.
  • Loader: the install steps cover Fabric. It needs Fabric API, Cardinal Components API and PlayerEngine, the framework underneath it, also by Goodbird.
  • The AI: runs through the free Player2 desktop app, which you install and leave running while you play.
  • Cost: free to start, using Player2's free models and daily credits.

PlayerEngine also lets you set an AI spending limit, which is worth doing before you leave a companion running overnight.

Other AI companion mods

An AI bot named Steve standing on a lake shore in Minecraft, with its chat replies in the chat log

AI Player by shasankp000. Image: Modrinth page.

Smaller mods come and go fast. These were on Modrinth or CurseForge when we checked on November 21, 2026. For how they compare with AI mods for other games, see the most popular AI mods of 2026. Read each one's file list for the exact versions before you install.

  • AI Player by shasankp000: an AI second player that acts on its own, on a local model. The second most downloaded, with 171,992 downloads on Modrinth and 43,047 on CurseForge.
  • Talking Colonists by sshcrack: an add-on for MineColonies by the ldtteam that lets you voice-chat with your colonists through Gemini Live. 112,494 downloads on CurseForge and 12,902 on Modrinth.
  • SecondBrain by sailex: companions for 1.20.1 and 1.21.1 that run on Ollama, an OpenAI key or Player2. 30,231 downloads on Modrinth.
  • Blockpal AI by error9998252: a Fabric companion for the 26.x versions. You can drive it from Claude, ChatGPT, Grok or Gemini over MCP, or from Ollama.
  • Open Companions (formerly VoxelMind AI Companions) by robbe2876: Fabric, from 1.21 up to 26.2.
  • CognitoCraft AI and Custom Chat Mobs, both by Terah: talking NPCs and mobs on a local Llama model through Ollama.
  • craftagent by prskid1000 and Ollama MC by GetCmdRolled: Fabric mods for local models through Ollama or LM Studio.

Expect rough edges with all of them. These are small projects, often by one person, wiring a language model into a game that was never built for it. Try any companion in a throwaway world before you bring it into a save you care about.

Is it allowed?

Yes, in single player and on servers that allow it. Minecraft's EULA says mods you make from scratch belong to you as long as you don't sell them. It doesn't mention AI. Mojang has said it won't use generative AI to make Minecraft itself, which is a statement about the game, not a rule for players.

Mod sites have their own rules. Since 2026, Modrinth labels projects whose function relies on generative AI, which covers every mod on this page.

How to make your own Minecraft mod with AI

You don't have to wait for someone else's mod. A coding agent like Anthropic's Claude Code or Anysphere's Cursor will write a Fabric or NeoForge mod with you, as long as you set it up right:

  1. Pick a loader. Fabric has the most new mods on the 26.x versions, about 10,700 on Modrinth for 26.3 against about 6,100 for NeoForge. NeoForge leads on 1.21.1.
  2. Start from the official template. Use the Fabric template generator or a NeoForge MDK and check it builds before the AI touches it.
  3. Tell the agent what changed. Minecraft 26.1 and later need Java 25 and ship unobfuscated with Mojang's official names. AI models trained on older tutorials will write 1.20-era code unless you say so.
  4. Build one feature at a time and test each one in the game.

Our full walkthrough is how to make a game mod with AI. Prefer not to write code? MCreator by Pylo is a free visual mod maker that exports NeoForge mods, data packs and Bedrock add-ons. It doesn't do Fabric.

On Bedrock Edition, mods are add-ons: JSON behavior and resource packs, plus a JavaScript or TypeScript Script API. AI tools write both well, since there's no build step to get wrong.

When your mod is ready, list it on VibeCodeReviewer so players can rate it, and see what's already listed on our AI mods page.

Questions

Is there an AI mod for Minecraft?

Yes, several. Mindcraft adds AI players that join your world as bots, and Player2NPC adds companions that chat, mine, build and fight. Both run on a language model, either a hosted one through an API key or a local one through Ollama or Player2.

Do AI Minecraft mods cost money?

The mods are free. The AI behind them may not be. A hosted model through an API key charges per use, a local model through Ollama is free if your graphics card can run it, and Player2 gives you free models plus daily credits.

Do AI companion mods work on Minecraft 26.x?

Most don't yet. Mindcraft supports up to 1.21.11 and Player2NPC up to 1.21.1. A few newer mods, like Blockpal and VoxelMind, list 26.x versions. Make a separate launcher installation on the version each mod asks for.

Can I use AI Minecraft mods on a server?

Mindcraft bots join any world you open to them, including servers, but don't connect one to a public server with its coding option on. Mods like Player2NPC have to be installed on the server too, and the server owner has to allow them.

Can ChatGPT or Claude make a Minecraft mod?

Yes. Coding agents built on these models write working Fabric and NeoForge mods when you start from the official template and tell them the exact Minecraft version, Java version and mappings. Without that context they tend to write code for older versions.

Comments

No comments yet. Start the conversation.

Sign in to comment

Made a vibe coded game?

List it for free and let players rate it.

More from the BlogAll posts →