Kubejs C:C&A - Integration with Create: Crafts & Additions
This addon provides full KubeJS integration with the Create: Crafts & Additions modification, enabling the creation and editing of recipes for all CC&A machines through scripts.
Supported Recipe Types
The modification fully supports working with the following machines:
- Rolling Mill - Full support, including sequential recipes
- Liquid Burner - Fully functional
- Charging Station (Tesla Coil) - Full support (sequential assembly currently unavailable)
You can create custom recipes, modify existing ones, or completely rebalance CC&A machines according to your modpack or server needs. All recipe types from Create: Crafts & Additions are fully supported.
The project is in active development. If you find a bug, please report it in the comments.
Usage Examples
Rolling Mill
ServerEvents.recipes(event => {
event.recipes.createaddition.rolling(
'minecraft:dirt',
'minecraft:iron_ingot')
})
Where "minecraft:dirt" is the input material and "minecraft:iron_ingot" is the processing result.
Charging Station (Tesla Coil)
ServerEvents.recipes(event => {
event.recipes.createaddition.charging(
'minecraft:diamond_sword',
'minecraft:iron_sword',
8000, 400)
})
Where "minecraft:diamond_sword" is the input item, "minecraft:iron_sword" is the output, "8000" is energy, and "400" is maximum charge rate.
Liquid Burning
ServerEvents.recipes(event => {
event.recipes.createaddition.liquid_burning('minecraft:water', 2400)
})
Where "minecraft:water" is the burned liquid and "2400" is the burning time in ticks.