Changed the AlloySmelter recipe handler to new system
This commit is contained in:
parent
f075d6391c
commit
e01058fca6
4 changed files with 28 additions and 67 deletions
18
src/main/java/techreborn/recipes/AlloySmelterRecipe.java
Normal file
18
src/main/java/techreborn/recipes/AlloySmelterRecipe.java
Normal 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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue