Java Code Examples for net.minecraft.init.Items#gold_ingot()

The following examples show how to use net.minecraft.init.Items#gold_ingot() . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may want to check out the right sidebar which shows the related API usage.
Example 1
Source Project: SimplyJetpacks   File: ModItems.java    License: MIT License 4 votes vote down vote up
private static void doIMC() {
    SimplyJetpacks.logger.info("Doing intermod communication");
    
    if (integrateTE) {
        if (!integrateRA && Config.addRAItemsIfNotInstalled) {
            TERecipes.addTransposerFill(8000, new ItemStack(Items.diamond), gemCrystalFlux, new FluidStack(FluidRegistry.getFluid("redstone"), 200), false);
            TERecipes.addTransposerFill(4000, OreDictionary.getOres("dustElectrum").get(0), dustElectrumFlux, new FluidStack(FluidRegistry.getFluid("redstone"), 200), false);
            TERecipes.addSmelterBlastOre("ElectrumFlux");
        }
        
        ItemStack i = OreDictionary.getOres("ingotBronze").get(0).copy();
        i.stackSize = 10;
        TERecipes.addSmelterRecipe(3200, armorPlatingTE1, i, armorPlatingTE2, null, 0);
        
        i = OreDictionary.getOres("ingotInvar").get(0).copy();
        i.stackSize = 10;
        TERecipes.addSmelterRecipe(4800, armorPlatingTE2, i, armorPlatingTE3, null, 0);
        
        i = OreDictionary.getOres("ingotEnderium").get(0).copy();
        i.stackSize = 10;
        TERecipes.addSmelterRecipe(6400, armorPlatingTE3, i, armorPlatingTE4, null, 0);
        
        if (integrateRA || Config.addRAItemsIfNotInstalled) {
            TERecipes.addTransposerFill(6400, unitGlowstoneEmpty, unitGlowstone, new FluidStack(FluidRegistry.getFluid("glowstone"), 4000), false);
            TERecipes.addTransposerFill(6400, unitCryotheumEmpty, unitCryotheum, new FluidStack(FluidRegistry.getFluid("cryotheum"), 4000), false);
        }
    }
    if (integrateEIO) {
        ItemStack ingotConductiveIron = OreDictionary.getOres("ingotConductiveIron").get(0).copy();
        ingotConductiveIron.stackSize = 10;
        EIORecipes.addAlloySmelterRecipe("Conductive Iron Armor Plating", 3200, armorPlatingEIO1, ingotConductiveIron, null, armorPlatingEIO2);
        
        ItemStack ingotElectricalSteel = OreDictionary.getOres("ingotElectricalSteel").get(0).copy();
        ingotElectricalSteel.stackSize = 10;
        EIORecipes.addAlloySmelterRecipe("Electrical Steel Armor Plating", 4800, armorPlatingEIO2, ingotElectricalSteel, null, armorPlatingEIO3);
        
        ItemStack ingotDarkSteel = OreDictionary.getOres("ingotDarkSteel").get(0).copy();
        ingotDarkSteel.stackSize = 10;
        EIORecipes.addAlloySmelterRecipe("Dark Steel Armor Plating", 6400, armorPlatingEIO3, ingotDarkSteel, null, armorPlatingEIO4);
        
        ItemStack ingotSoularium = OreDictionary.getOres("ingotSoularium").get(0).copy();
        ingotDarkSteel.stackSize = 1;
        EIORecipes.addAlloySmelterRecipe("Enriched Soularium Alloy", 32000, ingotDarkSteel, ingotSoularium, EIOItems.pulsatingCrystal, ingotDarkSoularium);
        
        EIORecipes.addSoulBinderRecipe("Flight Control Unit", 75000, 8, "Bat", unitFlightControlEmpty, unitFlightControl);
    }
    if (integrateBC && Loader.isModLoaded("BuildCraft|Silicon")) {
        ItemStack pipeEnergyGold = BCItems.getStack(BCItems.pipeEnergyGold);
        pipeEnergyGold.stackSize = 2;
        ItemStack[] inputs;
        if (thrusterBC1 != null) {
            inputs = new ItemStack[] { thrusterBC1.copy(), new ItemStack(Items.gold_ingot, 4), pipeEnergyGold, BCItems.getStack(BCItems.chipsetGold) };
        } else {
            inputs = new ItemStack[] { BCItems.getStack(BCItems.engineCombustion), new ItemStack(Items.gold_ingot, 4), pipeEnergyGold, BCItems.getStack(BCItems.chipsetGold), new ItemStack(Blocks.iron_bars) };
        }
        BCRecipes.addAssemblyRecipe("kineticThruster", 1200000, inputs, thrusterBC2.copy());
    }
}