[Features] (Recipe-) Advancement API
This commit is contained in:
parent
e5da06a1e1
commit
18fffafb3a
10 changed files with 490 additions and 10 deletions
|
@ -350,9 +350,10 @@ public class AnvilRecipe implements Recipe<Container>, UnknownReceipBookCategory
|
|||
BCLib.LOGGER.debug("Can't add Anvil recipe {}! Ingeredient or output not exists.", id);
|
||||
return;
|
||||
}
|
||||
BCLRecipeManager.addRecipe(
|
||||
BCLRecipeManager.addRecipeAndCreateAdvancement(
|
||||
TYPE,
|
||||
new AnvilRecipe(id, input, output, inputCount, toolLevel, anvilLevel, damage)
|
||||
new AnvilRecipe(id, input, output, inputCount, toolLevel, anvilLevel, damage),
|
||||
false
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue