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