added gear recipes (closes #576)
This commit is contained in:
parent
cd83682774
commit
9bea43c80e
1 changed files with 9 additions and 0 deletions
|
@ -29,6 +29,10 @@ public class Compactor {
|
||||||
public static void addStorageRecipe(IItemStack output, IItemStack input, int energy) {
|
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));
|
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
|
@ZenMethod
|
||||||
public static void removeMintRecipe(IItemStack input) {
|
public static void removeMintRecipe(IItemStack input) {
|
||||||
|
@ -44,6 +48,11 @@ public class Compactor {
|
||||||
public static void removeStorageRecipe(IItemStack input) {
|
public static void removeStorageRecipe(IItemStack input) {
|
||||||
ModTweaker.LATE_REMOVALS.add(new Remove(InputHelper.toStack(input), CompactorManager.Mode.STORAGE));
|
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 {
|
private static class Add extends BaseUndoable {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue