API-facing methods for removing recipes (#1152)
This commit is contained in:
parent
95634f01c3
commit
f7b8dc0d84
6 changed files with 25 additions and 8 deletions
|
@ -22,6 +22,11 @@ public class TartaricForgeRecipeRegistry
|
|||
registerRecipe(new TartaricForgeRecipe(outputStack, minimulSouls, drain, objects));
|
||||
}
|
||||
|
||||
public static void removeRecipe(TartaricForgeRecipe recipe)
|
||||
{
|
||||
recipeList.remove(recipe);
|
||||
}
|
||||
|
||||
public static TartaricForgeRecipe getMatchingRecipe(List<ItemStack> itemList, World world, BlockPos pos)
|
||||
{
|
||||
for (TartaricForgeRecipe recipe : recipeList)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue