1117 lines of new recipes?

Added a new recipe manager to allow us to list the missing items that need to be reimplemented.
This commit is contained in:
modmuss50 2016-02-19 20:32:26 +00:00
parent fb1d6f1074
commit 9268fa4d55
10 changed files with 1216 additions and 380 deletions

View file

@ -1,9 +1,12 @@
package techreborn.api;
import net.minecraft.item.ItemStack;
import techreborn.api.recipe.IRecipeCompact;
public final class TechRebornAPI {
public static IRecipeCompact recipeCompact;
public static void addRollingOreMachinceRecipe(ItemStack output,
Object... components) {
RollingMachineRecipe.instance.addShapedOreRecipe(output, components);

View file

@ -0,0 +1,8 @@
package techreborn.api.recipe;
import net.minecraft.item.ItemStack;
public interface IRecipeCompact {
ItemStack getItem(String name);
}

View file

@ -62,9 +62,9 @@ public class RecipeHandler {
if (recipeList.contains(recipe)) {
return;
}
if (!RecipeConfigManager.canLoadRecipe(recipe)) {
return;
}
// if (!RecipeConfigManager.canLoadRecipe(recipe)) {
// return;
// }
if (!machineNames.contains(recipe.getRecipeName())) {
machineNames.add(recipe.getRecipeName());
}