Importing the class

Link to importing-the-class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import mods.exnihilosequentia.HeatRecipe;

Name: create

Create a recipe name for the new recipe

Return Type: HeatRecipe

ZenScript
Copy
HeatRecipe.create(recipeId as string) as HeatRecipe
ParameterTypeDescription
Parameter
recipeId
Type
string
Description
name of recipe

Name: setAmount

Sets the amount of heat that the given block should generate.

Return Type: HeatRecipe

ZenScript
Copy
HeatRecipe.setAmount(amount as int) as HeatRecipe
ParameterTypeDescription
Parameter
amount
Type
int
Description
The amount of heat.

Name: setBlock

Sets the block that should be modified to generate heat.

Return Type: HeatRecipe

ZenScript
Copy
HeatRecipe.setBlock(input as Block) as HeatRecipe
ParameterTypeDescription
Parameter
input
Type
Block
Description
Sets the block.

Name: setProperties

(Optional) Sets the state that should be used to generate heat.

Return Type: HeatRecipe

ZenScript
Copy
HeatRecipe.setProperties(properties as StatePropertiesPredicate) as HeatRecipe
ParameterTypeDescription
Parameter
properties
Type
StatePropertiesPredicate
Description
Sets special properties.