-
Notifications
You must be signed in to change notification settings - Fork 36
KubeJS Integration
Luc_Creeper74 edited this page May 10, 2026
·
9 revisions
Create Metallurgy offer an integration with KubeJS natively which is very useful for packdevs.
A minimum knowledge of KubeJS and JavaScript is needed, please refer to the KubeJS Wiki Page
In the Server scripts Javascript files!
Compatible with Create Heat JS.
//Alloying -> Coal Block into 10mb Molten Zinc + Dead Bush in 40 ticks (Super Heated condition). event.recipes.createmetallurgy.alloying([Fluid.of("createmetallurgy:molten_zinc", 10), 'dead_bush'], 'coal_block', 40, 'superheated')
//Grinding -> Dead Bush into Coal Block. No heat condition! event.recipes.createmetallurgy.grinding('dead_bush', 'coal_block')
//Melting -> Diamond into 200mb Molten Gold in 90 ticks with Heated condition. event.recipes.createmetallurgy.melting(Fluid.of('createmetallurgy:molten_gold', 200), 'diamond', 90, 'heated')
//Casting in Table -> Diamond from 200mb Molten Gold and Stick as Mold in 90 ticks, mold is consumed. event.recipes.createmetallurgy.casting_in_table('diamond', [Fluid.of('createmetallurgy:molten_gold', 200), 'stick'], 90, true) //Casting in Basin -> Diamond Block from 900mb Molten Gold without mold in 120 ticks, mold not consumed. event.recipes.createmetallurgy.casting_in_basin('diamond_block', Fluid.of('createmetallurgy:molten_gold', 900), 120)