HomeJavaModsKubeJS Tinkers Construct
KubeJS Tinkers Construct
ModsJava

KubeJS Tinkers Construct

by Lat · on CurseForge

⬇ Download on CurseForge

The author built this one for Minecraft 1.18.2 on Forge. On other versions it may install and then do nothing.

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')

})

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more