SequencedAssemblyRecipeBuilder
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Members
addOutput(output as IItemStack, weight as float) as SequencedAssemblyRecipeBuilder
Adds an output to the recipe.
Returns: This builder for further chaining.
Parameters:
weight: float
Type: float
- The weight of the output.
Return Type:
SequencedAssemblyRecipeBuilder
addStep(builder as function(r as ProcessingRecipeBuilder<ProcessingRecipe>) as ProcessingRecipeBuilder<ProcessingRecipe>) as SequencedAssemblyRecipeBuilder
Adds a step to the recipe.
Returns: This builder for further chaining.
Parameters:
builder: function(r as ProcessingRecipeBuilder<ProcessingRecipe>) as ProcessingRecipeBuilder<ProcessingRecipe>
Type: function(r as ProcessingRecipeBuilder<ProcessingRecipe>) as ProcessingRecipeBuilder<ProcessingRecipe>
- The recipe builder to allow configuration of the recipe.
Return Type:
SequencedAssemblyRecipeBuilder
addStep() as SequencedAssemblyRecipeBuilder
Adds a step to the recipe.
Returns: This builder for further chaining.
Return Type:
SequencedAssemblyRecipeBuilder
loops(loops as int) as SequencedAssemblyRecipeBuilder
Sets the amount of loops the recipe has.
Returns: This builder for further chaining.
Parameters:
loops: int
Type: int
- The amount of loops the recipe has.
Return Type:
SequencedAssemblyRecipeBuilder
require(ingredient as IIngredient) as SequencedAssemblyRecipeBuilder
Sets that the recipe requires the given ingredient.
Returns: This builder for further chaining.
Parameters:
Return Type:
SequencedAssemblyRecipeBuilder
transitionTo(item as Item) as SequencedAssemblyRecipeBuilder
Sets the transition item of the sequence.
Returns: This builder for further chaining.
Parameters:
Return Type:
SequencedAssemblyRecipeBuilder