Show / Hide Table of Contents

Constructor CustomRecipe

| Edit this page View Source

CustomRecipe(Recipe, bool, bool)

Custom recipe from a Recipe.
Can fix references for Mock<T>s and MockRequirements or not.
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.
| Edit this page View Source

CustomRecipe(RecipeConfig)

Custom recipe from a RecipeConfig.
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.
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾