Compatibility
Minecraft: Java Edition
1.20.x
1.19.x
Platforms
Supported environments
Links
Creators
Details
Licensed GPL-3.0-or-later
Published 10 months ago
Updated 10 months ago
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ęä»¶ēč·Æå¾



