mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-21 04:22:19 +00:00
This is why i should init submodules.
This commit is contained in:
1 parent
9167cd1f1d
commit
7c0eb67215
2 files changed
+5
-20
No files matched your search
@@ -42,7 +42,7 @@ public interface IRecipeManager {
|
||||
@ZenMethod
|
||||
int remove(IIngredient output, @Optional boolean nbtMatch);
|
||||
|
||||
int remove(IIngredient output, boolean nbtMatch);
|
||||
int remove(IIngredient output);
|
||||
|
||||
/**
|
||||
* Adds a shaped recipe.
|
||||
@@ -71,7 +71,7 @@ public interface IRecipeManager {
|
||||
|
||||
void addShapedMirrored(IItemStack output, IIngredient[][] ingredients, IRecipeFunction function);
|
||||
|
||||
void addShapedMirrored(IItemStack output, IIngredient[][] ingredients, IRecipeFunction function);
|
||||
void addShapedMirrored(IItemStack output, IIngredient[][] ingredients, IRecipeAction action);
|
||||
|
||||
void addShapedMirrored(IItemStack output, IIngredient[][] ingredients);
|
||||
/**
|
||||
|
||||
+3
-18
@@ -154,29 +154,14 @@ public final class MCRecipeManager implements IRecipeManager {
|
||||
recipesToAdd.add(new ActionAddShapedRecipe(output, ingredients, null, null, true));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addShaped(IItemStack output, IIngredient[][] ingredients, IRecipeAction action) {
|
||||
recipesToAdd.add(new ActionAddShapedRecipe(output, ingredients, null, action, false));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addShapedMirrored(IItemStack output, IIngredient[][] ingredients, IRecipeFunction function, IRecipeAction action) {
|
||||
recipesToAdd.add(new ActionAddShapedRecipe(output, ingredients, function, action, true));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addShapedMirrored(IItemStack output, IIngredient[][] ingredients, IRecipeAction action) {
|
||||
recipesToAdd.add(new ActionAddShapedRecipe(output, ingredients, null, action, true));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addShapedMirrored(IItemStack output, IIngredient[][] ingredients, IRecipeFunction function) {
|
||||
recipesToAdd.add(new ActionAddShapedRecipe(output, ingredients, function, null, true));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addShapedMirrored(IItemStack output, IIngredient[][] ingredients) {
|
||||
recipesToAdd.add(new ActionAddShapedRecipe(output, ingredients, null, null, true));
|
||||
public void addShapedMirrored(IItemStack output, IIngredient[][] ingredients, IRecipeFunction function, IRecipeAction action) {
|
||||
recipesToAdd.add(new ActionAddShapedRecipe(output, ingredients, function, action, true));
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -221,7 +206,7 @@ public final class MCRecipeManager implements IRecipeManager {
|
||||
}
|
||||
|
||||
@Override
|
||||
public int removeShaped(IIngredient output, IIngredient[][] ingredients) {
|
||||
public int removeShaped(IIngredient output) {
|
||||
return removeShaped(output, null);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user