Changed the AlloySmelter recipe handler to new system

This commit is contained in:
Gig 2015-05-07 23:11:34 +01:00
parent f075d6391c
commit e01058fca6
4 changed files with 28 additions and 67 deletions

View file

@ -0,0 +1,18 @@
package techreborn.recipes;
import net.minecraft.item.ItemStack;
import techreborn.api.recipe.BaseRecipe;
public class AlloySmelterRecipe extends BaseRecipe {
public AlloySmelterRecipe(ItemStack input1, ItemStack input2, ItemStack output1, int tickTime, int euPerTick)
{
super("alloySmelterRecipe", tickTime, euPerTick);
if(input1 != null)
inputs.add(input1);
if(input2 != null)
inputs.add(input2);
if(output1 != null)
outputs.add(output1);
}
}