Back to mods
AutoJS project artwork

CurseForge · Minecraft mod

AutoJS

Provide a MCP for AI to debug Minecraft like REPL (JShell) with almost no limit.

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

Quick answer

Which AutoJS release matches 1.19.2 Forge?

Updated 11 days ago
Best match for your filters AutoJS-forge-1.19.2 1.0.0
Game version 1.19.2
Loader Forge

AutoJS-forge-1.19.2 1.0.0 targets 1.19.2 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

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

The project page does not say whether this file belongs on the client, dedicated server, or both.

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

The source does not explicitly classify this release as client-only or server-only.

What else does AutoJS-forge-1.19.2 1.0.0 need?

AutoJS-forge-1.19.2 1.0.0 on 1.19.2 Forge. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Rhino 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
KubeJS Optional for AutoJS-forge-1.19.2 1.0.0
optional
Matching file found Matched file: KubeJS Forge 1902.6.2-build.73
Rhino Needed by AutoJS-forge-1.19.2 1.0.0
required
Matching file found Matched file: Rhino Forge 1902.2.3-build.284
Architectury API Needed by KubeJS
pulled in
Matching file found Matched file: [Forge 1.19.2] v6.6.92

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 AutoJS without breaking your instance.

Built for AutoJS-forge-1.19.2 1.0.0 on 1.19.2 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use AutoJS-forge-1.19.2 1.0.0. It targets 1.19.2 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Rhino 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

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside AutoJS-forge-1.19.2 1.0.0. It opens that exact file at the source.

About this project

What does AutoJS add?

AutoJS

Once a mod's content is built, you end up doing most of the acceptance work yourself, then testing each feature one by one.

Have you thought about letting an AI do that testing, only to find that computer use is too brittle, that data packs only cover the server side, that JUnit never covers enough, and that script-based testing is too slow to iterate on?

This mod provides an interactive programming environment in the spirit of JShell: it lets you send scripts straight into a running game over a local port and have them executed immediately, and those scripts can call nearly any Java class in the game process.

An AI can use it to read any data from the game and simulate any behaviour in it, almost without limit — including, but not limited to, GUI interaction tests, mob behaviour, terrain generation, multiplayer simulation, and full playthroughs.

What it is made of

KubeJS needs little introduction: it ships a large set of events and utility classes, and uses Rhino to evaluate scripts at three points — client reload, server reload, and startup.

In fact, back in mid-2025 some modpack developers were already debugging by listening for chat messages and executing the JavaScript typed into them. That trick is the ancestor of this tool.

This tool depends on Rhino; KubeJS is optional. Every type filter, guard and path restriction is disabled on this debug channel: dangerous tools such as HttpURLConnection or Files can be called, and because the channel is a local port, an AI can call them from outside the game.

In short: the AI generates a piece of JavaScript, sends it to the tool's port, and Rhino executes it immediately, turning it into Java calls.

KubeJS pre-registers a great many bindings — Item, Text, NBT, Registry, Ingredient, Utils, Platform, Fluid, Client, GLFWInput — and a large set of common events such as ServerEvents.tick, PlayerEvents, BlockEvents, ItemEvents, EntityEvents, LevelEvents, NetworkEvents, ClientEvents, StartupEvents and KeyBindEvents. When what you need is hot execution and hot reloading, those are very convenient; if a KubeJS build exists for the game version you are on, install it alongside.

On top of that, the tool pre-registers several dozen debugging helpers — read the current game state, inspect the terrain around you, and so on. AutoJS.help() lists everything it registers.

Official Maven:

repositories {
    maven {
        url "https://maven.sighs.cc/repository/maven-public/"
    }
}
dependencies {
    implementation 'com.sighs:AutoJS-forge-1.20.1:1.0.0'
}

Notes

  • Modpacks must not include this mod.
  • For now it covers the game versions KubeJS supports; Rhino reaches many more, and those will follow. Ask if you need one urgently.
  • Some developers maintain their own hardened Rhino forks, or keep a close eye on Rhino releases, so this tool does not bundle Rhino.
  • One downside of this much freedom is that results vary when an AI improvises. Once a debugging flow works, have the AI turn it into a stable test script: that makes repeat runs easy, and it can also feed GitHub workflow tests.
  • The jar already contains the SKILL, so an AI can read it straight out of the jar. It is still worth adapting the SKILL to your situation. Making an AI play the game like an ordinary player is possible too — try SKILL-GAMEPLAY from the repository.
  • Contributions of SKILLs for other scenarios are welcome.

cover

Project description from CurseForge.

Pick your setup

AutoJS by Minecraft version and loader

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

6 available setups

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

Recent files

AutoJS versions and loaders

1 of 6 releases match
Clear filters

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