Fixed stack sizes of ore dictionary recipes in NEI.

Registered iron and gold ingots in the ore dictionary.
This commit is contained in:
CrazyPants committed 2014-05-22 21:15:00 +08:00
1 parent c9925572f3
commit ffc12bbc75
2 files changed
+6

No files matched your search

@@ -36,6 +36,9 @@ public class OreDictionaryRecipeInput extends RecipeInput {
if(res == null || res.isEmpty()) {
return null;
}
for(ItemStack st : res) {
st.stackSize = getInput().stackSize;
}
return res.toArray(new ItemStack[res.size()]);
}
@@ -30,6 +30,9 @@ public class MaterialRecipes {
OreDictionary.registerOre("stickWood", Items.stick);
OreDictionary.registerOre("woodStick", Items.stick);
OreDictionary.registerOre("sand", Blocks.sand);
OreDictionary.registerOre("ingotIron", Items.iron_ingot);
OreDictionary.registerOre("ingotGold", Items.gold_ingot);
ItemStack pureGlass = new ItemStack(EnderIO.blockFusedQuartz, 1, BlockFusedQuartz.Type.GLASS.ordinal());
OreDictionary.registerOre("glass", pureGlass);