Mineuniverse
Mods
JavaScriptJS

JavaScriptJS

MOD
allow kubejs write js file
by yiran1457
Download Claim this project
Add a badge to your pageLink to JavaScriptJS from a README, website or forum post.
Preview: Badge

Badges update automatically and link to the mod page on MineUniverse.

96,978 downloads
0 likes
0 followers
Updated Oct 14, 2026
0 hypes
Follow0
KubeJS
Advertisement Remove ads with Premium →

English

Added the following to KubeJS's JsonIO:

  • writeAndCreateDirectories - Creates parent directories when writing a JSON file
  • findJsonInDirectory - Can be used to find paths of all JSON files in a directory
  • read(path,reader) - Get all files under the path directory and execute the reader function.
    reader:(path,file,json)=>{}

Added JSIO:

  • getAllowSuffix - Check allowed file suffixes for operations
  • read - Read a file and return a List<String>
  • exists - Check if a file exists
  • write - Write to a file and create parent directories
  • delete - Delete a file
  • findJSInDirectory - Can be used to find paths of all JS files in a directory

中文

向KubeJS的JsonIO里面添加了

  • writeAndCreateDirectories - 在写json文件的时候创建其所属的文件夹
  • findJsonInDirectory - 可以查询一个目录下面的所有json文件的路径
  • read(path,reader) - 获取path文件夹下面的全部文件,并执行reader函数
    reader:(path,file,json)=>{}

添加了JSIO

  • getAllowSuffix - 查询允许操作的文件后缀名
  • read - 读取一个文件返回List<String>
  • exists - 检测一个文件是否存在
  • write - 写入一个文件,并创建其所属的文件夹
  • delete - 删除文件
  • findJSInDirectory - 可以查询一个目录下面的所有js文件的路径
JavaScriptJS-2101-1.0.1.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-06-19 Get
JavaScriptJS-2101-1.0.1-fix.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-06-19 Get
javascriptjs-2101-1.0.0.jar
MC Client, NeoForge, 1.21.1, Server
Release 2025-08-06 Get
JavaScriptJS-2001-1.0.3.jar
MC Client, 1.20.1, Forge, Server
Release 2025-08-01 Get
JavaScriptJS-2001-1.0.2.jar
MC Client, 1.20.1, Forge, Server
Release 2025-07-26 Get
JavaScriptJS-2001-1.0.1.jar
MC 1.19.3, 1.20.2, 1.20.5, 1.19.4, Client, 1.19.2, 1.20.3, 1.20.1, Forge, 1.20, 1.20.6, 1.19.1, 1.20.4, Server, 1.19
Release 2025-04-09 Get
JavaScriptJS-2001-1.0.jar
MC 1.20.2, 1.20.5, Client, 1.20.3, 1.20.1, Forge, 1.20, 1.20.6, 1.20.4, Server
Alpha 2025-04-08 Get

More from yiran1457

Advertisement Remove ads with Premium →

You Might Also Like