1
0
Files
wheat-server-kubejs/README.md

36 lines
1.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# wheat-server-kubejs
## 相关链接
- [KubeJS - Official Website](https://kubejs.com/)
- [KubeJS - Mods - Modrinth](https://modrinth.com/mod/kubejs)
- [KubeJS Additions](https://www.curseforge.com/minecraft/mc-mods/kubejs-additions)
- [Prunoideae / ProbeJS](https://github.com/Prunoideae/ProbeJS)
## 注意事项
- 暂不支持解构赋值2022-08-28
- 暂不支持设置函数参数默认值2022-08-28
- 暂不支持 try catch2022-08-28
- 可以使用 `/kubejs export pack-zips` 命令导出动态生成的资源(`blockstates``models` 等)。
## 参考资料
### Wiki
- [自定义方块](https://mods.latvian.dev/books/kubejs/page/custom-blocks)
- [tintindex | 森罗万象](https://sqwatermark.com/resguide/vanilla/model/tintindex.html)
### 代码
- [KubeJS-Mods / KubeJS](https://github.com/KubeJS-Mods/KubeJS)
- [BlockBuilder.java](https://github.com/KubeJS-Mods/KubeJS/blob/1.18/main/common/src/main/java/dev/latvian/mods/kubejs/block/BlockBuilder.java)
- [BasicBlockJS.java](https://github.com/KubeJS-Mods/KubeJS/blob/1.18/main/common/src/main/java/dev/latvian/mods/kubejs/block/custom/BasicBlockJS.java)
- [WoodenButtonBlockBuilder.java](https://github.com/KubeJS-Mods/KubeJS/blob/1.18/main/common/src/main/java/dev/latvian/mods/kubejs/block/custom/WoodenButtonBlockBuilder.java)
- [Cardinally Orientable Blocks and Shuffle Asset Generation](https://github.com/KubeJS-Mods/KubeJS/pull/459)
- [Basic BlockState Support and Misc Delegate Methods](https://github.com/KubeJS-Mods/KubeJS/pull/464)
### 颜色列表
- [Railcraft/EnumColor.java](https://github.com/Railcraft/Railcraft/blob/mc-1.12.2/src/main/java/mods/railcraft/common/plugins/color/EnumColor.java)