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文件的路径
No gallery available for this project.
| Version | Minecraft | Loader | Download |
|---|---|---|---|
|
JavaScriptJS 2001-1.0.1 2001-1.0.1 |
1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6
|
forge
|
Download |