KubeJS Tinkers Construct

KubeJS Tinkers Construct

2M Downloads

Allows KubeJS to edit and create Tinker's Construct recipes. See Recipes page for more info.

Supported recipe types:

event.recipes.tconstruct.casting_table(outputItem, inputFluidId)

event.recipes.tconstruct.casting_table(outputItem, inputFluidId, inputFluidAmount) // defaults to 144 mB

Supported recipe methods:

.cast(castIngredient) // defaults to #tconstruct:casts/multi_use/ingot

.noCast()

.multiUseCast(castType)

.singleUseCast(castType)

.consumeCast()

.switchSlots()

.coolingTime(ticks) // defaults to 60


event.recipes.tconstruct.casting_basin(output, inputFluidId)

event.recipes.tconstruct.casting_basin(output, inputFluidId, inputFluidAmount) // defaults to 1296

// Supports the same cast methods as casting table!

.coolingTime(ticks) // defaults to 180

Example kubejs/server_scripts/tinkers_construct.js:

onEvent('recipes', event => {

  const { casting_table, casting_basin } = event.recipes.tconstruct;

  

  casting_table('minecraft:carrot', 'minecraft:water').singleUseCast('nugget')

  casting_basin('minecraft:coal_block', 'minecraft:lava')

  casting_basin('minecraft:emerald', 'minecraft:water').cast('#forge:dusts/emerald')

})