The Great Refactor of 2017 - Industrial Centrifuge Recipes

This commit is contained in:
Prospector 2017-01-03 00:33:25 -08:00
parent 3cdc1b73df
commit bd4103b7df
3 changed files with 158 additions and 249 deletions

View file

@ -24,6 +24,8 @@ public abstract class RecipeMethods {
return ItemNuggets.getNuggetByName(name, count);
} else if (type == Type.CELL) {
return ItemCells.getCellByName(name, count);
} else if (type == Type.PART) {
return ItemParts.getPartByName(name, count);
} else {
}
@ -52,6 +54,6 @@ public abstract class RecipeMethods {
}
enum Type {
DUST, SMALL_DUST, INGOT, NUGGET, PLATE, GEM, CELL
DUST, SMALL_DUST, INGOT, NUGGET, PLATE, GEM, CELL, PART
}
}