summaryrefslogtreecommitdiff
path: root/src/main/java/ihl/items_blocks/RecipeInputs.java
blob: 6b49ce20717df35dd4c141dd36abf10942718a76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package ihl.items_blocks;

import ic2.api.recipe.IRecipeInput;
import ic2.api.recipe.RecipeInputItemStack;
import ic2.api.recipe.RecipeInputOreDict;
import ihl.utils.IHLUtils;

public class RecipeInputs 
{
	public static IRecipeInput cutter = new RecipeInputOreDict("craftingToolWireCutter");
	public static IRecipeInput saw = new RecipeInputOreDict("craftingToolSaw");
	public static IRecipeInput file = new RecipeInputOreDict("craftingToolFile");
	public static IRecipeInput vise = new RecipeInputItemStack(IHLUtils.getThisModItemStack("viseSteel"));
	public static IRecipeInput plateSteel = new RecipeInputOreDict("plateSteel");
	public static IRecipeInput hammer = new RecipeInputOreDict("craftingToolHardHammer");

	public static IRecipeInput get(String name, int amount)
	{
		return new RecipeInputItemStack(IHLUtils.getThisModItemStackWithSize(name,amount),amount);
	}
	public static IRecipeInput get(String name)
	{
		return new RecipeInputItemStack(IHLUtils.getThisModItemStack(name));
	}
}