Heat (Better With Mods)
Description
Creates new levels or adds new blocks to old heat levels.
Note
Anything using heat levels will create a new JEI tab for each heat level it has recipes for. This will have a lang key name.
Identifier
Refer to this via any of the following:
groovy
mods.betterwithmods.heat/* Used as page default */
mods.betterwithmods.Heat
Editing Values
Adds new heat levels in the format
heat
,ingredient
:groovymods.betterwithmods.heat.add(int, BlockIngredient)
Adds new heat levels in the format
heat
,ingredient
:groovymods.betterwithmods.heat.add(int, IIngredient)
Adds new heat levels in the format
heat
,ingredient
:groovymods.betterwithmods.heat.add(int, ItemStack...)
Adds new heat levels in the format
heat
,ingredient
:groovymods.betterwithmods.heat.add(int, List<ItemStack>)
Adds new heat levels in the format
heat
,ingredient
:groovymods.betterwithmods.heat.add(int, String)
Example
groovy
mods.betterwithmods.heat.add(4, item('minecraft:redstone_block'), item('minecraft:redstone_torch'))
mods.betterwithmods.heat.add(3, 'torch')
Adding Entries
Add the given recipe to the recipe list:
groovymods.betterwithmods.heat.add(BWMHeatRegistry.HeatSource)
Removing Entries
Removes the given recipe from the recipe list:
groovymods.betterwithmods.heat.remove(BWMHeatRegistry.HeatSource)
Removes all registered recipes:
groovymods.betterwithmods.heat.removeAll()
Example
groovy
mods.betterwithmods.heat.removeAll()
Getting the value of entries
Iterates through every entry in the registry, with the ability to call remove on any element to remove it:
groovymods.betterwithmods.heat.streamRecipes()