Remove superconductor, make Heat Gen cheaper
This commit is contained in:
parent
516ca00b15
commit
a3fa18cb80
4 changed files with 13 additions and 18 deletions
|
@ -1,7 +1,5 @@
|
|||
package mekanism.generators.common;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import mekanism.api.infuse.InfuseObject;
|
||||
import mekanism.api.infuse.InfuseRegistry;
|
||||
import mekanism.api.infuse.InfuseType;
|
||||
|
@ -18,7 +16,7 @@ import mekanism.generators.common.block.BlockGenerator;
|
|||
import mekanism.generators.common.item.ItemBlockGenerator;
|
||||
import mekanism.generators.common.network.PacketElectrolyticSeparatorParticle;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.block.BlockLeaves;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.crafting.CraftingManager;
|
||||
|
@ -106,23 +104,17 @@ public class MekanismGenerators implements IModule
|
|||
public void postInit(FMLPostInitializationEvent event)
|
||||
{
|
||||
try {
|
||||
/*for(ItemStack ore : OreDictionary.getOres("treeSapling")) //TODO later!
|
||||
for(ItemStack ore : OreDictionary.getOres("treeSapling"))
|
||||
{
|
||||
ArrayList<ItemStack> list = new ArrayList();
|
||||
ore.getItem().getSubItems(ore.itemID, CreativeTabs.tabDecorations, list);
|
||||
|
||||
for(ItemStack sapling : list)
|
||||
{
|
||||
RecipeHandler.addCrusherRecipe(MekanismUtils.size(sapling, 1), new ItemStack(BioFuel, 2));
|
||||
}
|
||||
}*/
|
||||
RecipeHandler.addCrusherRecipe(MekanismUtils.size(ore, 1), new ItemStack(BioFuel, 2));
|
||||
}
|
||||
} catch(Exception e) {}
|
||||
}
|
||||
|
||||
public void addRecipes()
|
||||
{
|
||||
CraftingManager.getInstance().getRecipeList().add(new MekanismRecipe(new ItemStack(Generator, 1, 0), new Object[] {
|
||||
"PPP", "EeE", "IRI", Character.valueOf('P'), "ingotOsmium", Character.valueOf('E'), Mekanism.EnrichedAlloy, Character.valueOf('e'), Mekanism.EnrichedIron, Character.valueOf('I'), Item.ingotIron, Character.valueOf('R'), Item.redstone
|
||||
"III", "COC", "IFI", Character.valueOf('I'), "ingotIron", Character.valueOf('C'), "ingotCopper", Character.valueOf('O'), "ingotOsmium", Character.valueOf('F'), Block.furnaceIdle
|
||||
}));
|
||||
CraftingManager.getInstance().getRecipeList().add(new MekanismRecipe(new ItemStack(Generator, 1, 1), new Object[] {
|
||||
"SSS", "AIA", "PEP", Character.valueOf('S'), SolarPanel, Character.valueOf('A'), Mekanism.EnrichedAlloy, Character.valueOf('I'), Item.ingotIron, Character.valueOf('P'), "dustOsmium", Character.valueOf('E'), Mekanism.EnergyTablet.getUnchargedItem()
|
||||
|
@ -161,6 +153,13 @@ public class MekanismGenerators implements IModule
|
|||
RecipeHandler.addCrusherRecipe(new ItemStack(Item.potato), new ItemStack(BioFuel, 4));
|
||||
RecipeHandler.addCrusherRecipe(new ItemStack(Item.carrot), new ItemStack(BioFuel, 4));
|
||||
|
||||
try {
|
||||
for(int i = 0; i < BlockLeaves.LEAF_TYPES.length; i++)
|
||||
{
|
||||
RecipeHandler.addCrusherRecipe(new ItemStack(Block.sapling, 1, i), new ItemStack(BioFuel, 2));
|
||||
}
|
||||
} catch(Exception e) {}
|
||||
|
||||
InfuseRegistry.registerInfuseObject(new ItemStack(BioFuel), new InfuseObject(InfuseRegistry.get("BIO"), 5));
|
||||
}
|
||||
|
||||
|
|
|
@ -217,8 +217,6 @@ public class MekanismInduction implements IModule
|
|||
GameRegistry.addRecipe(new ShapedOreRecipe(EnumWireMaterial.IRON.getWire(3), "MMM", 'M', Item.ingotIron));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(EnumWireMaterial.ALUMINUM.getWire(3), "MMM", 'M', "ingotAluminum"));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(EnumWireMaterial.SILVER.getWire(), "MMM", 'M', "ingotSilver"));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(EnumWireMaterial.SUPERCONDUCTOR.getWire(3), "MMM", 'M', "ingotSuperconductor"));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(EnumWireMaterial.SUPERCONDUCTOR.getWire(3), "MMM", "MEM", "MMM", 'M', Item.ingotGold, 'E', Item.eyeOfEnder));
|
||||
|
||||
/** Wire Compatiblity **/
|
||||
if(Loader.isModLoaded("IC2"))
|
||||
|
@ -226,7 +224,6 @@ public class MekanismInduction implements IModule
|
|||
GameRegistry.addRecipe(new ShapelessOreRecipe(EnumWireMaterial.COPPER.getWire(), Items.getItem("copperCableItem")));
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(EnumWireMaterial.TIN.getWire(), Items.getItem("tinCableItem")));
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(EnumWireMaterial.IRON.getWire(), Items.getItem("ironCableItem")));
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(EnumWireMaterial.SUPERCONDUCTOR.getWire(), Items.getItem("glassFiberCableItem")));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -20,8 +20,7 @@ public enum EnumWireMaterial
|
|||
TIN("Tin", 13, 2, 0.5F, new Vector3(132, 132, 130)),
|
||||
IRON("Iron", 0.1F, 2, 4, new Vector3(97, 102, 105)),
|
||||
ALUMINUM("Aluminum", 0.025F, 6, 0.15F, new Vector3(215, 205, 181)),
|
||||
SILVER("Silver", 0.005F, 1, 2, new Vector3(192, 192, 192)),
|
||||
SUPERCONDUCTOR("Superconductor", 0, 8, Float.MAX_VALUE, new Vector3(212, 175, 55));
|
||||
SILVER("Silver", 0.005F, 1, 2, new Vector3(192, 192, 192));
|
||||
|
||||
public final float resistance;
|
||||
public final float damage;
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 225 B |
Loading…
Reference in a new issue