Allows the recipes to be made backwards

This commit is contained in:
modmuss50 2015-04-28 21:27:23 +01:00
parent ff866d9352
commit fed4ea8bd7

View file

@ -54,8 +54,12 @@ public final class TechRebornAPI {
}
}
}
if (shouldAdd)
blastFurnaceRecipes.add(recipie);
if (shouldAdd){
blastFurnaceRecipes.add(recipie);
//This adds the same recipe but backwards. so you can swap the inputs
blastFurnaceRecipes.add(new BlastFurnaceRecipe(recipie.getInput2(), recipie.getInput1(), recipie.output1, recipie.output2, recipie.tickTime, recipie.minHeat));
}
}
public static void addRollingMachinceRecipe(ItemStack output,