TechReborn/src/main/java/techreborn/utils/RecipeUtils.java

18 lines
476 B
Java
Raw Normal View History

2015-11-08 13:15:45 +01:00
package techreborn.utils;
2015-09-23 18:27:41 +02:00
import net.minecraft.item.ItemStack;
import techreborn.items.ItemCells;
public class RecipeUtils {
2015-11-23 15:45:16 +01:00
public static ItemStack getEmptyCell(int stackSize) { //TODO ic2
// if (Loader.isModLoaded("IC2")) {
// ItemStack cell = IC2Items.getItem("cell").copy();
// cell.stackSize = stackSize;
// return cell;
// } else {
2015-09-23 18:27:41 +02:00
return ItemCells.getCellByName("empty", stackSize);
2015-11-23 15:45:16 +01:00
// }
2015-09-23 18:27:41 +02:00
}
}