! 此模组无法与重构版的 Create: Garnished 兼容!
Kubejs 与 Create: Garnished 的集成支持。
支持的配方类型:
- 批量染色 [红色]
- 批量染色 [橙色]
- 批量染色 [黄色]
- 批量染色 [绿色]
- 批量染色 [蓝色]
- 批量染色 [紫色]
- 批量冷冻
支持的物品类型:
- 斧头
批量染色可以通过以下格式实现,类似于大多数其他配方的写法:
event.recipes.garnished.red_dye_blowing('rubymod:ruby', 'minecraft:emerald', 200).id('garnished_kubejs:red_dye_blowing/ruby_from_emerald')
要使用其他可用颜色,只需将 event.recipes.garnished.red_dye_blowing 改为 event.recipes.garnished.<colour>_dye_blowing 即可。
批量冷冻也可类似实现:
event.recipes.garnished.freezing('minecraft:powder_snow_bucket', 'minecraft:water_bucket', 200).id('garnished_kubejs:freezing/powder_snow_bucket_from_water_bucket')
斧头是一个有趣的案例,因为为你的项目实现自定义斧头非常简单。像往常一样注册物品,但将物品类型设为 garnished:hatchet,如下所示:
event.create('bone_hatchet', 'garnished:hatchet').displayName('骨斧').unstackable().texture('kubejs:item/bone_hatchet').tier('netherite')
! This mod is will not work with the reworked version of Create: Garnished !
Kubejs Create: Garnished integration.
Supported recipe types:
- Bulk Dyeing [Red]
- Bulk Dyeing [Orange]
- Bulk Dyeing [Yellow]
- Bulk Dyeing [Green]
- Bulk Dyeing [Blue]
- Bulk Dyeing [Purple]
- Bulk Freezing
Supported item types:
- Hatchets
Bulk Dyeing can be achieved just like most other recipes in the following format:
event.recipes.garnished.red_dye_blowing('rubymod:ruby', 'minecraft:emerald', 200).id('garnished_kubejs:red_dye_blowing/ruby_from_emerald')
To use any of the other available colours, simply change 'event.recipes.garnished.red_dye_blowing' to instead be 'event.recipes.garnished.<colour>_dye_blowing.'
Bulk Freezing can be achieved similarly:
event.recipes.garnished.freezing('minecraft:powder_snow_bucket', 'minecraft:water_bucket', 200).id('garnished_kubejs:freezing/powder_snow_bucket_from_water_bucket')
Hatchets are an interesting case, as it's quite simple to implement a custom hatchet for your project. Register an item just like how you would usually, but insert 'garnished:hatchet' for the item type as shown below:
event.create('bone_hatchet', 'garnished:hatchet').displayName('Bone Hatchet').unstackable().texture('kubejs:item/bone_hatchet').tier('netherite')
下载 Garnished KubeJS
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Garnished KubeJS
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Garnished KubeJS
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Garnished KubeJS
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Garnished KubeJS
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Garnished KubeJS
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 移植至 1.21.1
- 需要 Create KubeJS
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧