17 lines
476 B
Java
17 lines
476 B
Java
package techreborn.utils;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
import techreborn.items.ItemCells;
|
|
|
|
|
|
public class RecipeUtils {
|
|
public static ItemStack getEmptyCell(int stackSize) { //TODO ic2
|
|
// if (Loader.isModLoaded("IC2")) {
|
|
// ItemStack cell = IC2Items.getItem("cell").copy();
|
|
// cell.stackSize = stackSize;
|
|
// return cell;
|
|
// } else {
|
|
return ItemCells.getCellByName("empty", stackSize);
|
|
// }
|
|
}
|
|
}
|