Garnished KubeJS
Note! This mod is no longer supported in Minecraft version 1.21.x, as the Create: Garnished modification was completely reworked in this update.
This addon provides integration between KubeJS and Create: Garnished, allowing the creation of custom recipes and tools through scripts.
Available Recipe Types
The mod supports several types of bulk dyeing:
- Red dyeing
- Orange dyeing
- Yellow dyeing
- Green dyeing
- Blue dyeing
- Purple dyeing
- Bulk freezing
Supported Item Types
For tools, the creation of:
- Hatchets
Usage Examples
Bulk dyeing is configured similarly to most other recipes in KubeJS:
event.recipes.garnished.red_dye_blowing('rubymod:ruby', 'minecraft:emerald', 200).id('garnished_kubejs:red_dye_blowing/ruby_from_emerald')
To use other colors, simply replace 'event.recipes.garnished.red_dye_blowing' with 'event.recipes.garnished.
Bulk freezing is implemented in a similar way:
event.recipes.garnished.freezing('minecraft:powder_snow_bucket', 'minecraft:water_bucket', 200).id('garnished_kubejs:freezing/powder_snow_bucket_from_water_bucket')
Hatchets are particularly interesting - they are easy to create for your project. Register an item in the standard way, but specify 'garnished:hatchet' as the type:
event.create('bone_hatchet', 'garnished:hatchet').displayName('Bone Hatchet').unstackable().texture('kubejs:item/bone_hatchet').tier('netherite')