Constructor CustomRecipe
| Improve this Doc View SourceCustomRecipe(Recipe, bool, bool)
Declaration
public CustomRecipe(Recipe recipe, bool fixReference, bool fixRequirementReferences)
Parameters
Type | Name | Description |
---|---|---|
Recipe | recipe | The Recipe for a custom item. |
bool | fixReference | If true references for Mock<T> objects get resolved at runtime by Jötunn. |
bool | fixRequirementReferences | If true references for MockRequirements get resolved at runtime by Jötunn. |
CustomRecipe(RecipeConfig)
Custom recipe from a RecipeConfig.
The Recipe is created automatically by Jötunn at runtime.
The Recipe is created automatically by Jötunn at runtime.
Declaration
public CustomRecipe(RecipeConfig recipeConfig)
Parameters
Type | Name | Description |
---|---|---|
RecipeConfig | recipeConfig | The RecipeConfig for a custom recipe. |