HeatRecipe
Link to heatrecipe
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 Copyimport mods.exnihilosequentia.HeatRecipe;
Methods
Link to methods
Name: create
Create a recipe name for the new recipe
Return Type: HeatRecipe
ZenScript CopyHeatRecipe.create(recipeId as string) as HeatRecipe
Parameter | Type | Description |
---|---|---|
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 CopyHeatRecipe.setAmount(amount as int) as HeatRecipe
Parameter | Type | Description |
---|---|---|
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 CopyHeatRecipe.setBlock(input as Block) as HeatRecipe
Parameter | Type | Description |
---|---|---|
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 CopyHeatRecipe.setProperties(properties as StatePropertiesPredicate) as HeatRecipe
Parameter | Type | Description |
---|---|---|
Parameter properties | Type StatePropertiesPredicate | Description Sets special properties. |