介绍
中文介绍正在准备中,下面暂时显示原文。
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文件的路径
常见问题
JavaScriptJS 支持哪些 Minecraft 版本?
JavaScriptJS 支持 Minecraft Java 版 1.19–1.20.6,共 12 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
JavaScriptJS 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
yiran1457 的其他作品
查看全部 →
One Enough Lib
by Flechazo098, MerrySnow 等
用于简化OE系列开发的前置库
267.1万
5 个月前
Modrinth · CurseForge
One Enough Item
by zhenshiz, Flechazo098 等
使用OEI,你可以轻松将重复物品替换为单一指定代表物品。
227.4万
3 个月前
Modrinth · CurseForge
keybindjs
by yiran1457
一个 KubeJS 添加内容
214.2万
1 年前
Modrinth · CurseForge
JEI Tetra
by yiran1457
Added JEI & Tetra compat.
71.7万
2 个月前
CurseForge
评论
登录后评论和评分