Speedup - Inspired by the 1.12 version

This commit is contained in:
Jason Mitchell committed 2020-11-15 15:05:25 -08:00
1 parent 6f874e5434
commit 449ce974f4
9 files changed
+463 -350

No files matched your search

@@ -40,7 +40,7 @@ public interface IRecipeManager {
* @return number of removed recipes
*/
@ZenMethod
int remove(IIngredient output, @Optional boolean nbtMatch);
void remove(IIngredient output, @Optional boolean nbtMatch);
/**
* Adds a shaped recipe.
@@ -81,7 +81,7 @@ public interface IRecipeManager {
* @return number of removed recipes
*/
@ZenMethod
int removeShaped(IIngredient output, @Optional IIngredient[][] ingredients);
void removeShaped(IIngredient output, @Optional IIngredient[][] ingredients);
/**
* Removes shapeless recipes.
@@ -94,7 +94,7 @@ public interface IRecipeManager {
* @return number of removed recipes
*/
@ZenMethod
int removeShapeless(IIngredient output, @Optional IIngredient[] ingredients, @Optional boolean wildcard);
void removeShapeless(IIngredient output, @Optional IIngredient[] ingredients, @Optional boolean wildcard);
/**
* Performs a crafting with the specified ingredients. Returns null if no