HeatRegistry
Link to heatregistry
The HeatRegistry allows assigning an integer value to a block that interacts with the Cauldron, Crucible and Kiln.
Import
Link to import
ZenScript Copyimport mods.betterwithmods.HeatRegistry;
Default Values
Link to default-values
Vanilla fire | 1
Stoked fire | 2
Adding a Heat Source
Link to adding-a-heat-source
ZenScript Copy// stack must have an asssociated block state.
mods.betterwithmods.HeatRegistry.addHeatSource(IItemStack stack, int heat);
mods.betterwithmods.HeatRegistry.addHeatSource(IBlockState stack, int heat);
// adds a list of stacks to be shown as one heat item in JEI
// e.g., blocks with multiple blockstates like campfires
mods.betterwithmods.HeatRegistry.addHeatSource(IBlockState[] stacks, IItemStack displayStack, int heat);