Merged NEI module, bumped version
This commit is contained in:
parent
ed9def2010
commit
38e772107c
4 changed files with 7 additions and 3 deletions
|
@ -17,7 +17,7 @@ import static codechicken.core.gui.GuiDraw.*;
|
|||
|
||||
public abstract class AdvancedMachineRecipeHandler extends TemplateRecipeHandler
|
||||
{
|
||||
int ticksPassed;
|
||||
private int ticksPassed;
|
||||
|
||||
public abstract String getRecipeId();
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ import static codechicken.core.gui.GuiDraw.*;
|
|||
|
||||
public abstract class MachineRecipeHandler extends TemplateRecipeHandler
|
||||
{
|
||||
int ticksPassed;
|
||||
private int ticksPassed;
|
||||
|
||||
public abstract String getRecipeId();
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@ public class MekanismRecipeHandler extends ShapedRecipeHandler
|
|||
if(outputId.equals("crafting") && getClass() == MekanismRecipeHandler.class)
|
||||
{
|
||||
List<IRecipe> allrecipes = CraftingManager.getInstance().getRecipeList();
|
||||
|
||||
for(IRecipe irecipe : allrecipes)
|
||||
{
|
||||
if(irecipe instanceof MekanismRecipe)
|
||||
|
@ -47,6 +48,7 @@ public class MekanismRecipeHandler extends ShapedRecipeHandler
|
|||
public void loadCraftingRecipes(ItemStack result)
|
||||
{
|
||||
List<IRecipe> allrecipes = CraftingManager.getInstance().getRecipeList();
|
||||
|
||||
for(IRecipe irecipe : allrecipes)
|
||||
{
|
||||
if(irecipe instanceof MekanismRecipe && areItemsEqual(irecipe.getRecipeOutput(), result))
|
||||
|
@ -62,6 +64,7 @@ public class MekanismRecipeHandler extends ShapedRecipeHandler
|
|||
public void loadUsageRecipes(ItemStack ingredient)
|
||||
{
|
||||
List<IRecipe> allrecipes = CraftingManager.getInstance().getRecipeList();
|
||||
|
||||
for(IRecipe irecipe : allrecipes)
|
||||
{
|
||||
if(irecipe instanceof MekanismRecipe)
|
||||
|
@ -187,6 +190,7 @@ public class MekanismRecipeHandler extends ShapedRecipeHandler
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,6 +49,6 @@ public class NEIMekanismConfig implements IConfigureNEI
|
|||
@Override
|
||||
public String getVersion()
|
||||
{
|
||||
return "1.0.3";
|
||||
return "1.0.4";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue