Fixes #1043
This commit is contained in:
parent
efbd5542b4
commit
20e9276bd9
4 changed files with 42 additions and 6 deletions
|
@ -27,6 +27,7 @@ package techreborn.init.recipes;
|
|||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.crafting.Ingredient;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
import reborncore.common.util.OreUtil;
|
||||
import reborncore.common.util.StringUtils;
|
||||
|
@ -179,6 +180,14 @@ public abstract class RecipeMethods {
|
|||
return stack;
|
||||
}
|
||||
|
||||
public static Ingredient getCell(String name, int count){
|
||||
return new IngredientCell(ItemCells.getCellByName(name, count));
|
||||
}
|
||||
|
||||
public static Ingredient getCell(String name){
|
||||
return getCell(name, 1);
|
||||
}
|
||||
|
||||
public enum Type {
|
||||
DUST, SMALL_DUST, INGOT, NUGGET, PLATE, GEM, CELL, PART, CABLE, MACHINE_FRAME, MACHINE_CASING, UPGRADE, ORE
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue