
ChatJS
Java mod listed for Minecraft 1.20. Downloads from the MC Java Mods app on Android.
⬇ Download on Modrinth
ChatJS
Access large language models from KubeJS using an OpenAI-compatible API.
Config
Edit the chatjs.server.toml file to change the OpenAI compatible API you are using.
Use the /chatjs set_apikey <your API Key> command to set your API Key (requires OP permission).
If everything is set up correctly, executing /chatjs models can list all available models (requires OP permission).
Example
Death message

Send a message after the player dies.
example/server_scripts/death_message
Function Calling

Enter @ai <What you want to say to AI> in Chat, the AI will execute game commands based on what you enter.
For example @ai Kill all slimes.
example/server_scripts/function_calling
License
This mod is distributed under LGPL-3.0 license
⚠️WARNING⚠️
The mod files (.jar files) published on Modrinth and CurseForge contain icon files under an ARR (All Rights Reserved) license. You are not allowed to redistribute these files elsewhere. If you need to modify the mod, you can compile it yourself from the source code (the default compilation does not include ARR-licensed content).
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.20.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as chatjs-fabric-1.0.2-1.20.1.jar — drop this file into the mods folder
- Download size: 290 KB
- Download link checked 25 Nov 2026 — working
These come from our own check of the pack file, not from the source page.