mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-01 01:47:02 +01:00
parent
4bdd802170
commit
9923f04ff5
1 changed files with 5 additions and 1 deletions
|
@ -82,8 +82,12 @@ public class SequencedAssemblyRecipeBuilder {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public SequencedAssemblyRecipe build() {
|
||||||
|
return recipe;
|
||||||
|
}
|
||||||
|
|
||||||
public void build(Consumer<IFinishedRecipe> consumer) {
|
public void build(Consumer<IFinishedRecipe> consumer) {
|
||||||
consumer.accept(new DataGenResult(recipe, recipeConditions));
|
consumer.accept(new DataGenResult(build(), recipeConditions));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class DataGenResult implements IFinishedRecipe {
|
public static class DataGenResult implements IFinishedRecipe {
|
||||||
|
|
Loading…
Reference in a new issue