Added lead ore processing
This commit is contained in:
parent
add3cf0bf6
commit
3c4d776e24
8 changed files with 37 additions and 17 deletions
|
@ -664,6 +664,7 @@ public class Mekanism
|
|||
OreDictionary.registerOre("dustCopper", new ItemStack(Dust, 1, 6));
|
||||
OreDictionary.registerOre("dustTin", new ItemStack(Dust, 1, 7));
|
||||
OreDictionary.registerOre("dustSilver", new ItemStack(Dust, 1, 8));
|
||||
OreDictionary.registerOre("dustLead", new ItemStack(Dust, 1, 9));
|
||||
|
||||
OreDictionary.registerOre("ingotRefinedObsidian", new ItemStack(Ingot, 1, 0));
|
||||
OreDictionary.registerOre("ingotOsmium", new ItemStack(Ingot, 1, 1));
|
||||
|
@ -689,6 +690,7 @@ public class Mekanism
|
|||
OreDictionary.registerOre("dustDirtyTin", new ItemStack(DirtyDust, 1, 4));
|
||||
OreDictionary.registerOre("dustDirtySilver", new ItemStack(DirtyDust, 1, 5));
|
||||
OreDictionary.registerOre("dustDirtyObsidian", new ItemStack(DirtyDust, 1, 6));
|
||||
OreDictionary.registerOre("dustDirtyLead", new ItemStack(DirtyDust, 1, 7));
|
||||
|
||||
//for RailCraft/IC2.
|
||||
OreDictionary.registerOre("dustObsidian", new ItemStack(DirtyDust, 1, 6));
|
||||
|
@ -700,6 +702,7 @@ public class Mekanism
|
|||
OreDictionary.registerOre("clumpTin", new ItemStack(Clump, 1, 4));
|
||||
OreDictionary.registerOre("clumpSilver", new ItemStack(Clump, 1, 5));
|
||||
OreDictionary.registerOre("clumpObsidian", new ItemStack(Clump, 1, 6));
|
||||
OreDictionary.registerOre("clumpLead", new ItemStack(Clump, 1, 7));
|
||||
|
||||
OreDictionary.registerOre("oreOsmium", new ItemStack(OreBlock, 1, 0));
|
||||
OreDictionary.registerOre("oreCopper", new ItemStack(OreBlock, 1, 1));
|
||||
|
@ -784,6 +787,11 @@ public class Mekanism
|
|||
RecipeHandler.addCrusherRecipe(MekanismUtils.size(ore, 1), new ItemStack(DirtyDust, 1, 6));
|
||||
}
|
||||
|
||||
for(ItemStack ore : OreDictionary.getOres("clumpLead"))
|
||||
{
|
||||
RecipeHandler.addCrusherRecipe(MekanismUtils.size(ore, 1), new ItemStack(DirtyDust, 1, 7));
|
||||
}
|
||||
|
||||
for(ItemStack ore : OreDictionary.getOres("dustDirtyIron"))
|
||||
{
|
||||
RecipeHandler.addEnrichmentChamberRecipe(MekanismUtils.size(ore, 1), new ItemStack(Dust, 1, 0));
|
||||
|
@ -814,6 +822,11 @@ public class Mekanism
|
|||
RecipeHandler.addEnrichmentChamberRecipe(MekanismUtils.size(ore, 1), new ItemStack(Dust, 1, 8));
|
||||
}
|
||||
|
||||
for(ItemStack ore : OreDictionary.getOres("dustDirtyLead"))
|
||||
{
|
||||
RecipeHandler.addEnrichmentChamberRecipe(MekanismUtils.size(ore, 1), new ItemStack(Dust, 1, 9));
|
||||
}
|
||||
|
||||
for(ItemStack ore : OreDictionary.getOres("oreCopper"))
|
||||
{
|
||||
RecipeHandler.addEnrichmentChamberRecipe(MekanismUtils.size(ore, 1), new ItemStack(Dust, 2, 6));
|
||||
|
@ -844,15 +857,22 @@ public class Mekanism
|
|||
RecipeHandler.addPurificationChamberRecipe(new ItemStack(Block.oreGold), new ItemStack(Clump, 3, 1));
|
||||
}
|
||||
|
||||
for(ItemStack ore : OreDictionary.getOres("oreGold"))
|
||||
{
|
||||
RecipeHandler.addEnrichmentChamberRecipe(new ItemStack(Block.oreGold), new ItemStack(Dust, 2, 1));
|
||||
RecipeHandler.addPurificationChamberRecipe(new ItemStack(Block.oreGold), new ItemStack(Clump, 3, 1));
|
||||
}
|
||||
|
||||
try {
|
||||
for(ItemStack ore : OreDictionary.getOres("oreLead"))
|
||||
{
|
||||
RecipeHandler.addEnrichmentChamberRecipe(MekanismUtils.size(ore, 1), MekanismUtils.size(OreDictionary.getOres("dustLead").get(0), 2));
|
||||
RecipeHandler.addEnrichmentChamberRecipe(MekanismUtils.size(ore, 1), new ItemStack(Dust, 2, 9));
|
||||
RecipeHandler.addPurificationChamberRecipe(MekanismUtils.size(ore, 1), new ItemStack(Clump, 3, 7));
|
||||
}
|
||||
|
||||
for(ItemStack ore : OreDictionary.getOres("ingotLead"))
|
||||
{
|
||||
RecipeHandler.addCrusherRecipe(MekanismUtils.size(ore, 1), MekanismUtils.size(OreDictionary.getOres("dustLead").get(0), 1));
|
||||
RecipeHandler.addCrusherRecipe(MekanismUtils.size(ore, 1), new ItemStack(Dust, 1, 9));
|
||||
}
|
||||
} catch(Exception e) {}
|
||||
|
||||
|
@ -903,15 +923,11 @@ public class Mekanism
|
|||
} catch(Exception e) {}
|
||||
|
||||
try {
|
||||
FurnaceRecipes.smelting().addSmelting(Dust.itemID, 6, new ItemStack(Ingot, 1, 5), 0.0F);
|
||||
FurnaceRecipes.smelting().addSmelting(Dust.itemID, 8, MekanismUtils.size(OreDictionary.getOres("ingotSilver").get(0), 1), 0.0F);
|
||||
} catch(Exception e) {}
|
||||
|
||||
try {
|
||||
FurnaceRecipes.smelting().addSmelting(Dust.itemID, 7, new ItemStack(Ingot, 1, 6), 0.0F);
|
||||
} catch(Exception e) {}
|
||||
|
||||
try {
|
||||
FurnaceRecipes.smelting().addSmelting(Dust.itemID, 8, MekanismUtils.size(OreDictionary.getOres("ingotSilver").get(0), 1), 1.0F);
|
||||
FurnaceRecipes.smelting().addSmelting(Dust.itemID, 9, MekanismUtils.size(OreDictionary.getOres("ingotLead").get(0), 1), 0.0F);
|
||||
} catch(Exception e) {}
|
||||
|
||||
try {
|
||||
|
|
|
@ -13,7 +13,7 @@ public class ItemClump extends ItemMekanism
|
|||
public Icon[] icons = new Icon[256];
|
||||
public static String[] en_USNames = {"Iron", "Gold", "Osmium",
|
||||
"Copper", "Tin", "Silver",
|
||||
"Obsidian"};
|
||||
"Obsidian", "Lead"};
|
||||
|
||||
public ItemClump(int id)
|
||||
{
|
||||
|
@ -25,7 +25,7 @@ public class ItemClump extends ItemMekanism
|
|||
@Override
|
||||
public void registerIcons(IconRegister register)
|
||||
{
|
||||
for(int i = 0; i <= 6; i++)
|
||||
for(int i = 0; i <= 7; i++)
|
||||
{
|
||||
icons[i] = register.registerIcon("mekanism:" + en_USNames[i] + "Clump");
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ public class ItemClump extends ItemMekanism
|
|||
@Override
|
||||
public void getSubItems(int id, CreativeTabs tabs, List itemList)
|
||||
{
|
||||
for(int counter = 0; counter <= 6; ++counter)
|
||||
for(int counter = 0; counter <= 7; ++counter)
|
||||
{
|
||||
itemList.add(new ItemStack(this, 1, counter));
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ public class ItemDirtyDust extends ItemMekanism
|
|||
public Icon[] icons = new Icon[256];
|
||||
public static String[] en_USNames = {"Iron", "Gold", "Osmium",
|
||||
"Copper", "Tin", "Silver",
|
||||
"Obsidian"};
|
||||
"Obsidian", "Lead"};
|
||||
|
||||
public ItemDirtyDust(int id)
|
||||
{
|
||||
|
@ -25,7 +25,7 @@ public class ItemDirtyDust extends ItemMekanism
|
|||
@Override
|
||||
public void registerIcons(IconRegister register)
|
||||
{
|
||||
for(int i = 0; i <= 6; i++)
|
||||
for(int i = 0; i <= 7; i++)
|
||||
{
|
||||
icons[i] = register.registerIcon("mekanism:Dirty" + en_USNames[i] + "Dust");
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ public class ItemDirtyDust extends ItemMekanism
|
|||
@Override
|
||||
public void getSubItems(int id, CreativeTabs tabs, List itemList)
|
||||
{
|
||||
for (int counter = 0; counter <= 6; ++counter)
|
||||
for (int counter = 0; counter <= 7; ++counter)
|
||||
{
|
||||
itemList.add(new ItemStack(this, 1, counter));
|
||||
}
|
||||
|
|
|
@ -13,7 +13,8 @@ public class ItemDust extends ItemMekanism
|
|||
public Icon[] icons = new Icon[256];
|
||||
public static String[] en_USNames = {"Iron", "Gold", "Osmium",
|
||||
"Obsidian", "Diamond", "Steel",
|
||||
"Copper", "Tin", "Silver"};
|
||||
"Copper", "Tin", "Silver",
|
||||
"Lead"};
|
||||
|
||||
public ItemDust(int id)
|
||||
{
|
||||
|
@ -25,7 +26,7 @@ public class ItemDust extends ItemMekanism
|
|||
@Override
|
||||
public void registerIcons(IconRegister register)
|
||||
{
|
||||
for(int i = 0; i <= 8; i++)
|
||||
for(int i = 0; i <= 9; i++)
|
||||
{
|
||||
icons[i] = register.registerIcon("mekanism:" + en_USNames[i] + "Dust");
|
||||
}
|
||||
|
@ -40,7 +41,7 @@ public class ItemDust extends ItemMekanism
|
|||
@Override
|
||||
public void getSubItems(int id, CreativeTabs tabs, List itemList)
|
||||
{
|
||||
for(int counter = 0; counter <= 8; ++counter)
|
||||
for(int counter = 0; counter <= 9; ++counter)
|
||||
{
|
||||
itemList.add(new ItemStack(this, 1, counter));
|
||||
}
|
||||
|
|
|
@ -95,6 +95,7 @@ item.steelDust.name=Steel Dust
|
|||
item.copperDust.name=Copper Dust
|
||||
item.tinDust.name=Tin Dust
|
||||
item.silverDust.name=Silver Dust
|
||||
item.leadDust.name=Lead Dust
|
||||
|
||||
//Clumps
|
||||
item.ironClump.name=Iron Clump
|
||||
|
@ -104,6 +105,7 @@ item.copperClump.name=Copper Clump
|
|||
item.tinClump.name=Tin Clump
|
||||
item.silverClump.name=Silver Clump
|
||||
item.obsidianClump.name=Obsidian Clump
|
||||
item.leadClump.name=Lead Clump
|
||||
|
||||
//Dirty Dust
|
||||
item.dirtyIronDust.name=Dirty Iron Dust
|
||||
|
@ -113,6 +115,7 @@ item.dirtyCopperDust.name=Dirty Copper Dust
|
|||
item.dirtyTinDust.name=Dirty Tin Dust
|
||||
item.dirtySilverDust.name=Dirty Silver Dust
|
||||
item.dirtyObsidianDust.name=Dirty Obsidian Dust
|
||||
item.dirtyLeadDust.name=Dirty Lead Dust
|
||||
|
||||
//Ingots
|
||||
item.obsidianIngot.name=Obsidian Ingot
|
||||
|
|
BIN
resources/assets/mekanism/textures/items/DirtyLeadDust.png
Normal file
BIN
resources/assets/mekanism/textures/items/DirtyLeadDust.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
BIN
resources/assets/mekanism/textures/items/LeadClump.png
Normal file
BIN
resources/assets/mekanism/textures/items/LeadClump.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
BIN
resources/assets/mekanism/textures/items/LeadDust.png
Normal file
BIN
resources/assets/mekanism/textures/items/LeadDust.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
Loading…
Add table
Reference in a new issue