# 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 catch（2022-08-28）

## 参考资料

### 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)
