SequencedAssemblyRecipeBuilder

Link to sequencedassemblyrecipebuilder

Importare la Classe

Link to importare-la-classe

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
Copy
import mods.createtweaker.SequencedAssemblyRecipeBuilder;

Name: addOutput

Adds an output to the recipe.

Returns: This builder for further chaining.
Return Type: SequencedAssemblyRecipeBuilder

ZenScript
Copy
SequencedAssemblyRecipeBuilder.addOutput(output as IItemStack, weight as float) as SequencedAssemblyRecipeBuilder
ParametroTipoDescrizione
Parametro
output
Tipo
IItemStack
Descrizione
The item output.
Parametro
weight
Tipo
float
Descrizione
The weight of the output.

Name: addStep

Adds a step to the recipe.

Returns: This builder for further chaining.
Return Type: SequencedAssemblyRecipeBuilder

ZenScript
Copy
SequencedAssemblyRecipeBuilder.addStep<T : ProcessingRecipe>() as SequencedAssemblyRecipeBuilder
ParametroTipoDescrizione
Parametro
T
Tipo
ProcessingRecipe
Descrizione
The type of recipe to add a step for.

Name: addStep

Adds a step to the recipe.

Returns: This builder for further chaining.
Return Type: SequencedAssemblyRecipeBuilder

ZenScript
Copy
SequencedAssemblyRecipeBuilder.addStep<T : ProcessingRecipe>(builder as Function<ProcessingRecipeBuilder<T>,ProcessingRecipeBuilder<T>>) as SequencedAssemblyRecipeBuilder
ParametroTipoDescrizione
Parametro
costruttore
Tipo
Function<ProcessingRecipeBuilder<T>,ProcessingRecipeBuilder<T>>
Descrizione
The recipe builder to allow configuration of the recipe.
Parametro
T
Tipo
ProcessingRecipe
Descrizione
The type of recipe to add a step for.

Name: loops

Sets the amount of loops the recipe has.

Returns: This builder for further chaining.
Return Type: SequencedAssemblyRecipeBuilder

ZenScript
Copy
SequencedAssemblyRecipeBuilder.loops(loops as int) as SequencedAssemblyRecipeBuilder
ParametroTipoDescrizione
Parametro
loops
Tipo
int
Descrizione
The amount of loops the recipe has.

Name: require

Sets that the recipe requires the given ingredient.

Returns: This builder for further chaining.
Return Type: SequencedAssemblyRecipeBuilder

ZenScript
Copy
SequencedAssemblyRecipeBuilder.require(ingredient as IIngredient) as SequencedAssemblyRecipeBuilder
ParametroTipoDescrizione
Parametro
ingredient
Tipo
IIngredient
Descrizione
The ingredient to require.

Name: transitionTo

Sets the transition item of the sequence.

Returns: This builder for further chaining.
Return Type: SequencedAssemblyRecipeBuilder

ZenScript
Copy
SequencedAssemblyRecipeBuilder.transitionTo(item as ItemDefinition) as SequencedAssemblyRecipeBuilder
ParametroTipoDescrizione
Parametro
item
Tipo
ItemDefinition
Descrizione
The item to transition to.