[Features] (Recipe-) Advancement API

This commit is contained in:
Frank 2022-07-31 14:49:15 +02:00
parent e5da06a1e1
commit 18fffafb3a
10 changed files with 490 additions and 10 deletions

View file

@ -249,9 +249,10 @@ public class AlloyingRecipe implements Recipe<Container>, UnknownReceipBookCateg
BCLib.LOGGER.debug("Can't add Alloying recipe {}! Ingeredient or output not exists.", id);
return;
}
BCLRecipeManager.addRecipe(
BCLRecipeManager.addRecipeAndCreateAdvancement(
TYPE,
new AlloyingRecipe(id, group, primaryInput, secondaryInput, output, experience, smeltTime)
new AlloyingRecipe(id, group, primaryInput, secondaryInput, output, experience, smeltTime),
false
);
}
}