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();
// }
// })
})
External resources
Project members
HuNao
Member
Technical information
License
MIT
Client side
required
Server side
required
Project ID