added gear recipes (closes #576)

This commit is contained in:
Jared 2018-01-06 05:40:52 +02:00
parent cd83682774
commit 9bea43c80e

View file

@ -29,6 +29,10 @@ public class Compactor {
public static void addStorageRecipe(IItemStack output, IItemStack input, int energy) {
ModTweaker.LATE_ADDITIONS.add(new Add(InputHelper.toStack(output), InputHelper.toStack(input), energy, CompactorManager.Mode.STORAGE));
}
@ZenMethod
public static void addGearRecipe(IItemStack output, IItemStack input, int energy) {
ModTweaker.LATE_ADDITIONS.add(new Add(InputHelper.toStack(output), InputHelper.toStack(input), energy, CompactorManager.Mode.GEAR));
}
@ZenMethod
public static void removeMintRecipe(IItemStack input) {
@ -44,6 +48,11 @@ public class Compactor {
public static void removeStorageRecipe(IItemStack input) {
ModTweaker.LATE_REMOVALS.add(new Remove(InputHelper.toStack(input), CompactorManager.Mode.STORAGE));
}
@ZenMethod
public static void removeGearRecipe(IItemStack input) {
ModTweaker.LATE_REMOVALS.add(new Remove(InputHelper.toStack(input), CompactorManager.Mode.GEAR));
}
private static class Add extends BaseUndoable {