Allow to use Kubejs, customize Create's Heat Source Block, HeatLevel.
Please use Kubejs Create Mod when adding recipes, and use the heatLevel() method to set the heat level.
//server_scripts
ServerEvents.recipes(e => {
e.recipes.create.mixing('diamond', 'coal_block').heatLevel("BLAZE")
e.recipes.create.compacting('diamond', 'coal_block').heatLevel("BLAZE")
});
Rregister Heat Source and Heat Level
//startup_scripts
CreateHeatJS.registerHeatEvent(event =>{
event.registerHeatLevel("BLAZE",3,0xED9C33)
event.registerHeatSource("BLAZE","minecraft:furnace[facing=north,lit=true]")
event.registerHeatSource("BLAZE","minecraft:fire")
// event.registerHeatSource("PYROTHEUM","minecraft:furnace[facing=south,lit=false]",blockstack => {
// const $AbstractFurnaceBlock = Java.loadClass("net.minecraft.world.level.block.AbstractFurnaceBlock");
// if(blockstack.hasProperty($AbstractFurnaceBlock.LIT)){
// return blockstack.getValue($AbstractFurnaceBlock.LIT).booleanValue();
// }
// })
})
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Compatibility
Minecraft: Java Edition
1.20.1
1.19.2
Platforms
Forge
Supported environments
Creators
Details
Licensed MIT
Published 5 months ago
Updated 5 months ago