HeatRecipe
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.
Methods
Create a recipe name for the new recipe
Return Type: HeatRecipe
Parameter | Type | Description |
---|---|---|
Parameter recipeId | Type string | Description name of recipe |
Sets the amount of heat that the given block should generate.
Return Type: HeatRecipe
Parameter | Type | Description |
---|---|---|
Parameter amount | Type int | Description The amount of heat. |
Sets the block that should be modified to generate heat.
Return Type: HeatRecipe
Parameter | Type | Description |
---|---|---|
Parameter input | Type Block | Description Sets the block. |
(Optional) Sets the state that should be used to generate heat.
Return Type: HeatRecipe
Parameter | Type | Description |
---|---|---|
Parameter properties | Type StatePropertiesPredicate | Description Sets special properties. |