mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-18 11:29:30 +00:00
Fixed stack sizes of ore dictionary recipes in NEI.
Registered iron and gold ingots in the ore dictionary.
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user