KubeJS Tinkers Construct
This mod provides integration between KubeJS and Tinkers Construct, allowing JavaScript scripts to create and modify virtually any recipes for the popular blacksmithing mod.
Capabilities
Now you can easily customize the casting system without the need to manually edit configuration files. Two main types of casting recipes are supported:
Casting Table
Creating items using fluids through the casting table:
onEvent('recipes', event => {
const { casting_table, casting_basin } = event.recipes.tconstruct;
// Create carrot from water using disposable cast
casting_table('minecraft:carrot', 'minecraft:water').singleUseCast('nugget')
// Cast coal block from lava
casting_basin('minecraft:coal_block', 'minecraft:lava')
// Create emerald from water using reusable cast
casting_basin('minecraft:emerald', 'minecraft:water').cast('#forge:dusts/emerald')
})
Casting Basin
For creating larger items and blocks, a casting basin is available with extended customization options.
Additional Methods
Cast Management
Precise control over the types of used molds:
- Specify exact cast for pouring
- Configure cooling time from 1 tick
- Support for reusable and disposable casts
- Ability to automatically consume casts
Time Parameters
Customization of the casting process duration:
- For casting table - from 60 ticks (default)
- For casting basin - from 180 ticks (default)
This integration opens up unlimited possibilities for creating unique mod packs and fine-tuning gameplay according to your needs.