Create Heat JS
This mod enables customization of heat sources and temperature levels for the Create mod using KubeJS. You can create custom thermal parameters for various blocks and define their characteristics.
Heat Level Configuration
To register new heat sources and temperature levels, use startup_scripts. The registerHeatLevel method allows you to define heat levels with numerical values and color codes:
//startup_scripts
CreateHeatJS.registerHeatEvent(event =>{
event.registerHeatLevel("BLAZE",3,0xED9C33)
event.registerHeatSource("BLAZE","minecraft:furnace[facing=north,lit=true]")
event.registerHeatSource("BLAZE","minecraft:fire")
})
Usage in Recipes
When creating mixing and compacting recipes, use the heatLevel() method to set the required temperature conditions. For working with recipes, it's recommended to use Kubejs Create Mod:
//server_scripts
ServerEvents.recipes(e => {
e.recipes.create.mixing('diamond', 'coal_block').heatLevel("BLAZE")
e.recipes.create.compacting('diamond', 'coal_block').heatLevel("BLAZE")
});
