
Modrinth · Minecraft mod
JavaScriptJS
allow kubejs write js file
Quick answer
Which JavaScriptJS release should I use?
JavaScriptJS 2001-1.0.1 targets 1.19, 1.19.1, 1.19.2 with Forge. Installation on the client is optional. Installation on the dedicated server is optional. All 3 required mods have matching files.
Where it goes
Is JavaScriptJS required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does JavaScriptJS 2001-1.0.1 need?
2001-1.0.1. Change the file and its required mods may change too.
Install KubeJS, Rhino, Architectury API first. We found matching files for this game-version and loader setup. 2 come through another mod in the chain.
2 extra mods were pulled in by other dependencies. 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 JavaScriptJS without breaking your instance.
Built for JavaScriptJS 2001-1.0.1. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 2001-1.0.1. It targets 1.19, 1.19.1, 1.19.2 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install KubeJS, Rhino, Architectury API first. We found matching files for this game-version and loader setup. 2 come through another mod in the chain.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 2001-1.0.1. It opens that exact file at the source.
About this project
What does JavaScriptJS add?
English
Added the following to KubeJS's JsonIO:
writeAndCreateDirectories- Creates parent directories when writing a JSON filefindJsonInDirectory- Can be used to find paths of all JSON files in a directory
Added JSIO:
getAllowSuffix- Check allowed file suffixes for operationsread- Read a file and return aList<String>exists- Check if a file existswrite- Write to a file and create parent directoriesdelete- Delete a filefindJSInDirectory- Can be used to find paths of all JS files in a directory
中文
向KubeJS的JsonIO里面添加了
writeAndCreateDirectories- 在写json文件的时候创建其所属的文件夹findJsonInDirectory- 可以查询一个目录下面的所有json文件的路径
添加了JSIO
getAllowSuffix- 查询允许操作的文件后缀名read- 读取一个文件返回List<String>exists- 检测一个文件是否存在write- 写入一个文件,并创建其所属的文件夹delete- 删除文件findJSInDirectory- 可以查询一个目录下面的所有js文件的路径
Project description from Modrinth.
Pick your setup
JavaScriptJS by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.6
1 loader build1.20.5
1 loader build1.20.4
1 loader build1.20.3
1 loader build1.20.2
1 loader build1.20.1
1 loader build1.20
1 loader build1.19.4
1 loader build1.19.3
1 loader build1.19.2
1 loader build1.19.1
1 loader build1.19
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
JavaScriptJS versions and loaders
2001-1.0.1
JavaScriptJS-2001-1.0.1.jar
17 Apr 2025
Looking for an older file? The official Modrinth project page is in Resources.