ItemStack example
custom recipe method
Code
private static void addAdvCentrifugeRecipe(IRecipeInput input, ItemStack output, ItemStack output2, ItemStack output3, NBTTagCompound nbt)
{
ic2.api.recipe.Recipes.centrifuge.addRecipe(input,(NBTTagCompound)nbt, false, new ItemStack[] {output,output2,output3});
}
invoke method
Code
addAdvCentrifugeRecipe(input.forOreDict("gravel"), new ItemStack(sand,3), flint.splitStack(2), stonedust.splitStack(2), nbt);
splitStack not works with IC2 Items. Any ideas? Help please!
Any ideas?