Beta — APIs may change during early development. Feedback is welcome.
No Java, just TypeScript. Build Minecraft minigames, RPG systems, and world mechanics with scripts that hot-reload in seconds.
Built on Mozilla Rhino, Box3JS brings the Box3 coding style to Minecraft servers. Write TypeScript, run it instantly — no JDK, no Gradle, no server restarts.
.d.ts) with bilingual JSDoc, auto-complete in any editor/box3script compile packages your script into a distributable JAR/box3script create mygame
npm install && npm run build
/box3script sandbox mygame
/box3script start mygame
Full guide: https://docs.box3lab.com/box3js-mc
Apache License 2.0
Beta — 早期测试阶段,API 可能变动,欢迎反馈。
不写 Java,只用 TypeScript。 在 Minecraft 里用脚本开发小游戏、RPG 玩法、世界机制,热重载秒级生效。
Box3JS 基于 Mozilla Rhino 引擎,延续了神奇代码岛的 API 风格。无需 JDK、无需 Gradle、无需重启服务器,写 TypeScript 即写即跑。
.d.ts),双语 JSDoc,任意编辑器均有自动补全/box3script compile 一键打包为可分发 JAR/box3script create mygame
npm install && npm run build
/box3script sandbox mygame
/box3script start mygame
完整教程:https://docs.box3lab.com/box3js-mc
Apache License 2.0