SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
✓ VerifiedGameplay & overhauls

AI Player

by shasankp000 · for Minecraft

A minecraft mod which aims to add a "second player" into the game which will actually be intelligent.

164KDownloads
53d agoLast updated
GPL-2.0-or-laterLicense
FabricLoaders

About AI Player

From Modrinth

A minecraft mod which aims to add a "second player" into the game which will actually be intelligent.

Read this section please.

This project so far is the result of thousands of hours of endless reasearch, trials and errors, and just the simple goal of eliminating loneliness from minecraft as much as possible. If you liked my work, please consider donating so that I can continue to work on this project in peace and can actually prove to my parents that my work is making a difference. (Also not having to ask for pocket money from mom).

Just know that I won't ever give up on this project.

Buy me a coffee

https://buymeacoffee.com/shasankp000

Paypal

https://paypal.me/shasankp000


Current stage of the mod

Since the new semester in my college has started this month, I am gonna be under really heavy pressure, since I have to study 11 subjects in total (Machine learning, Linear Algebra, Physics, CyberSecurity, and a lot more lol). Don't worry though I won't stop working on this project, it's just that the updates will be quite slower.

It's understandable if y'all leave by then or give up on this project, so, I won't mind. :))

Thank you all from the core of my heart for the support so far. I never imagined we would come this far.

Latest Update: 21/8/2025 at 04:08 AM IST (Indian Standard Time)

Please have patience while waiting for updates. Since I am the only guy working on this project, it does take me time to address all the issues/add in new features.


Changelog v1.0.5.2-release+1.21.1

Important: Earlier proposed second part features will be added in the next patch and this new update marks the end of support for 1.20.6 and below.

Thanks to https://github.com/arichornlover AI Player has now been updated to version 1.21.1

This minor update of AI player updates the mod to version 1.21.1 and also brings support for other custom API providers.

Custom OpenAI-Compatible Provider Support

This feature allows you to use alternative AI providers that are compatible with the OpenAI API standard, such as OpenRouter, TogetherAI, Perplexity, and others.

How to Use

1. Enable Custom Provider Mode

Set the system property(JVM argument) when launching the game:

-Daiplayer.llmMode=custom

2. Configure API Settings

  1. Firstly, delete the existing settings.json5 in the config folder (save any api keys elsewhere for the meantime)
  2. Open the in-game API Keys configuration screen (/configMan) and then click the API Keys button.
  3. Set the following fields:
  • Custom API URL: The base URL of your provider (e.g., https://openrouter.ai/api/v1)
  • Custom API Key: Your API key for the provider
  1. Hit save. In case you don't see the list of models immediately hit the "Refresh Models" button once or twice.
  2. If you still don't see the list of models, close the config manager, type /configMan again and you should see the list of models available.
  3. ollama is still required to be open in the background because of the embedding model being used, but I will separate this entirely in the next mini patch, by adding an embedding api endpoint from the providers, and also upgrading to the embedddinggemma model from nomic-embed-text

3. Select a Model

The system will automatically fetch available models from your provider's /models endpoint and display them in the model selection interface.

Supported Providers

Any provider that implements the OpenAI API standard should work. Some examples:

  • OpenRouter: https://openrouter.ai/api/v1
  • TogetherAI: https://api.together.xyz/v1
  • Perplexity: https://api.perplexity.ai/
  • Groq: https://api.groq.com/openai/v1
  • Local LM Studio: http://localhost:1234/v1

API Compatibility

The custom provider implementation uses the following OpenAI API endpoints:

  • GET /models - For fetching available models
  • POST /chat/completions - For sending chat completion requests

Your provider must support these endpoints with the same request/response format as OpenAI's API.

Troubleshooting

  • "Custom provider selected but no API URL configured": Make sure you've set the Custom API URL field
  • "Custom API key not set in config!": Make sure you've set the Custom API Key field
  • Empty model list: Check that your API key is valid and the URL is correct
  • Connection errors: Verify that the provider URL is accessible and supports the OpenAI API format

Changelog v1.0.5.1-release+1.20.6-bugfix-2

  • Fixed a lot of bugs that got overlooked in the previous testing phase.

Changelog v1.0.5.1-release+1.20.6

I realized that many of the commitments made in the previous announcement were too ambitious to implement in a single update. To keep development smooth, this release is the first part of a two-part update.

This update focuses on core system rewrites and better AI decision-making, laying the foundation for the next wave of features.

Also support for versions below 1.20.6 has been dropped due to codebase changes that I simply can't handle migrating by myself. However others are free to port to lower versions.

Upcoming second part will have the update in 1.20.6 as the final update for 1.20.6 and also will have a new update to directly 1.21.6 where hence the future versions will continue onwards.


What's New in 1.0.5.1

Revamped NLP System

  • Fully redesigned Natural Language Processing (NLP) — no more "I couldn’t understand you."
  • This is a new and experimental system I’ve been designing and rigorously testing over the last month.
  • Results are promising, but not yet up to my personal standards — expect further refinements in future updates.

Read the full description on Modrinth →

Highlights

From source data

Game versions

Supports 8 Minecraft versions, the newest being 26.2.

Loaders

Runs on Fabric.

Footprint

Rated a light load on a server.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Gameplay & overhauls

New mechanics, content and overhauls that change how the game plays.

Works on a server

From source side support

Modrinth lists server-side support for AI Player as optional: it can run on a server, but isn’t required there.

Compatibility

Game
Minecraft
Loaders
Fabric
Runs on
Serveroptional on the server
Game versions
26.2 and 7 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-01Open ↗
  • ✓Authorshasankp000, as published on Modrinth
  • ✓LicenseGPL-2.0-or-laterFree

AI Player, answered

Generated from the mod’s own source data.

Do my players need to install AI Player?

Modrinth lists server-side support for AI Player as optional: it can run on a server, but isn’t required there.

Which loaders does it support?

Fabric.

Is it free?

Yes. AI Player is free to download from Modrinth. Its license is GPL-2.0-or-later.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run AI Player on a Minecraft server.

Deploy in about a minute from $4.20 a month, then add AI Player in one click.