NekoJS: Modern JavaScript Scripting Engine for Minecraft

Download NekoJS for Minecraft to script mods with TypeScript, JSX, and GraalVM speed on NeoForge. A fast, modern engine for pack makers and developers.

NekoJS

Scripting in Minecraft has come a long way, but most engines still feel stuck in the past. NekoJS changes that. Built on NeoForge and powered by GraalVM, this modern scripting runtime gives pack makers and mod developers a development experience that finally matches the tools they use outside the game. If you have ever wrestled with outdated Rhino or Nashorn engines, NekoJS is the breath of fresh air you have been waiting for.

Why NekoJS Stands Out

NekoJS is not just another JavaScript executor. It is a full runtime designed around modern standards, which means full ECMAScript support and none of the legacy baggage. Execution is blazing fast thanks to GraalVM, so your tick handlers and event logic keep up with even busy servers.

TypeScript and JSX Without the Headache

With the NekoSWC extension, you can write .ts and .tsx files directly. There is no complex build pipeline to configure. A Rust-powered compilation engine handles transpilation at millisecond speeds, so you spend your time building features instead of babysitting tooling.

A Real Module System

NekoJS supports CommonJS with full require() and module.exports, plus native Node.js-style module resolution. You can even use npm to install pure JavaScript libraries straight into your nekojs folder. Splitting logic across files finally feels natural.

Supported Versions and Loader

NekoJS targets Minecraft 1.21.1 and above and runs on NeoForge 26.1.2 or newer. It also requires the Graal Mod as a dependency, so make sure that is installed before you start scripting. Because the add-on tracks recent Minecraft releases, checking compatibility before you download NekoJS saves you a headache later.

Getting Started: How to Install

Setting up is straightforward for anyone comfortable with a mods folder.

  • Install NeoForge 26.1.2+ for your Minecraft 1.21.1+ instance.
  • Drop the Graal Mod into your mods folder first, since NekoJS depends on it.
  • Add the NekoJS jar alongside it and launch the game once to generate the nekojs directory.
  • Place your scripts in the server_scripts folder and start writing modules.

If you prefer a smoother path, the foxygame.net launcher bundles NekoJS directly in its add-on catalog, letting you add the engine and its Graal dependency to a NeoForge profile with a single click instead of hunting down jars manually.

Your First Module

A typical setup starts with a utility file exporting functions through module.exports, then a main script that requires it and hooks into events like ServerEvents.tickPre. Logging a message on load confirms everything is wired correctly. From there, the built-in code editor takes over: syntax highlighting, real-time error tracking with stack traces, and a file browser all live inside Minecraft, so you can iterate without leaving the game.

Tooling That Respects Your Time

NekoProbe adds type declarations that unlock intelligent code completion in your IDE, which pairs nicely with the in-game editor for quick fixes. Together with NekoSWC, the ecosystem covers the full loop from writing typed code to debugging it in-world. For developers used to modern frontend workflows, this feels immediately familiar.

Final Thoughts

NekoJS for Minecraft fills a gap that has existed for years: a scripting engine that treats developers like professionals. Fast execution, TypeScript and JSX support, a proper module system, and an integrated editor make it a compelling choice for anyone building packs or mods on NeoForge. Whether you grab it from the project page or through a launcher, NekoJS is worth adding to your toolkit.