@Override public boolean initialize() { addShapedRecipe(lock, " S ", "SBS", "SSS", 'B', "ingotBronze", 'S', "nuggetSignalum"); return true; }
@Override public boolean initialize() { addShapelessRecipe(diagramSchematic, Items.PAPER, Items.PAPER, "dyeBlue"); return true; }
public static void addTwoWayStorageRecipe(ItemStack one, ItemStack nine) { addStorageRecipe(one, nine); addReverseStorageRecipe(nine, one); }
addShapedRecipe(strongbox[1], "YIY", "ICI", 'Y', "ingotInvar" ); addShapedUpgradeRecipe(strongbox[1], " I ", "ICI", 'I', "ingotInvar" ); addShapedUpgradeRecipe(strongbox[2], "YIY", "ICI", 'Y', "blockGlassHardened" ); addShapedUpgradeRecipe(strongbox[3], " I ", "ICI", 'I', "ingotSignalum" ); addShapedUpgradeRecipe(strongbox[4], " I ", "ICI",
@Override public boolean initialize() { addTwoWayStorageRecipe(ingotElectrumFlux, "ingotElectrumFlux", nuggetElectrumFlux, "nuggetElectrumFlux"); addReverseStorageRecipe(ingotElectrumFlux, "blockElectrumFlux"); addReverseStorageRecipe(gemCrystalFlux, "blockCrystalFlux"); addGearRecipe(gearElectrumFlux, "ingotElectrumFlux"); addShapedRecipe(rodObsidian, " O", " B ", "O ", 'B', Items.BLAZE_POWDER, 'O', "dustObsidian"); } else { addShapedRecipe(rodObsidian, " O", " B ", "O ", 'B', Items.BLAZE_POWDER, 'O', Blocks.OBSIDIAN); addShapedRecipe(rodObsidianFlux, " O", " B ", "O ", 'B', rodObsidian, 'O', "gemCrystalFlux"); addShapedRecipe(plateArmorFlux, " I ", "IGI", " I ", 'G', "gemCrystalFlux", 'I', "plateElectrumFlux"); addShapelessRecipe(dustElectrumFlux, "dustElectrum", "dustRedstone", "dustRedstone", "dustRedstone", "dustRedstone", "dustRedstone"); } else { addShapelessRecipe(dustElectrumFlux, "ingotGold", "dustRedstone", "dustRedstone", "dustRedstone", "dustRedstone", "dustRedstone"); addShapelessRecipe(gemCrystalFlux, "gemDiamond", "dustRedstone", "dustRedstone", "dustRedstone", "dustRedstone", "dustRedstone"); addShapedRecipe(ItemHelper.cloneStack(plateElectrumFlux, 4), "II", "II", 'I', "ingotElectrumFlux"); addSmelting(dustElectrumFlux, ingotElectrumFlux); } else { ItemStack dustElectrum = ItemHelper.cloneStack(OreDictionary.getOres("dustElectrum", false).get(0), 1);
addShapedRecipe(servoBasic, "iGi", "IRI", addShapedRecipe(servoHardened, "iGi", "IRI", 'R', "dustRedstone" ); addShapelessRecipe(servoHardened, servoBasic, "ingotInvar"); addShapedRecipe(servoReinforced, "iGi", "IRI", 'R', "dustRedstone" ); addShapelessRecipe(servoReinforced, servoBasic, "ingotElectrum"); addShapelessRecipe(servoReinforced, servoHardened, "ingotElectrum"); addShapedRecipe(servoSignalum, "iGi", "IRI", 'R', "dustRedstone" ); addShapelessRecipe(servoSignalum, servoBasic, "ingotSignalum"); addShapelessRecipe(servoSignalum, servoHardened, "ingotSignalum");
addSmelting(ItemMaterial.dustWoodCompressed, new ItemStack(Items.COAL, 1, 1), 0.15F); addStorageRecipe(ItemMaterial.dustWoodCompressed, "dustWood"); addShapelessRecipe(ItemHelper.cloneStack(Items.GUNPOWDER), "dustCoal", "dustSulfur", "dustSaltpeter", "dustSaltpeter"); addShapelessRecipe(ItemHelper.cloneStack(Items.GUNPOWDER), "dustCharcoal", "dustSulfur", "dustSaltpeter", "dustSaltpeter"); addShapedRecipe(ItemHelper.cloneStack(Blocks.TORCH, 4), "X", "#", 'X', ItemMaterial.globRosin, '#', "stickWood"); addShapedRecipe(ItemHelper.cloneStack(Blocks.STICKY_PISTON), "S", "P", 'S', ItemMaterial.globRosin, 'P', Blocks.PISTON); addShapedRecipe(ItemHelper.cloneStack(Items.LEAD, 2), "~~ ", "~O ", " ~", '~', "string", 'O', ItemMaterial.globRosin); addShapedRecipe(ItemHelper.cloneStack(Blocks.TORCH, 4), "X", "#", 'X', ItemMaterial.globTar, '#', "stickWood"); addShapedRecipe(ItemHelper.cloneStack(Blocks.STICKY_PISTON), "S", "P", 'S', ItemMaterial.globTar, 'P', Blocks.PISTON); addShapedRecipe(ItemHelper.cloneStack(Items.LEAD, 2), "~~ ", "~O ", " ~", '~', "string", 'O', ItemMaterial.globTar); addShapelessRecipe(ItemHelper.cloneStack(registeredDust.get(0), 2), oreName, "dustPetrotheum"); if (!registeredIngot.isEmpty()) { addShapelessRecipe(ItemHelper.cloneStack(registeredDust.get(0), 1), ingotName, "dustPetrotheum"); addShapelessRecipe(ItemHelper.cloneStack(registeredGem.get(0), 2), oreName, "dustPetrotheum"); addShapelessRecipe(ItemHelper.cloneStack(registeredIngot.get(0), 1), oreName, "dustPyrotheum"); if (!registeredDust.isEmpty()) { addShapelessRecipe(ItemHelper.cloneStack(registeredIngot.get(0), 1), dustName, "dustPyrotheum"); addShapelessRecipe(ItemHelper.cloneStack(registeredIngot.get(0), 2), oreName, "dustPetrotheum", "dustPyrotheum"); addShapelessRecipe(ItemHelper.cloneStack(BlockGlass.glassLead), "dustLead", "dustObsidian", "dustObsidian", "dustPyrotheum");
addShapedRecipe(reservoirBasic, " R ", "IXI", addShapedUpgradeRecipe(reservoirHardened, " R ", "IXI", 'Y', "ingotCopper" ); addShapedUpgradeRecipe(reservoirReinforced, " R ", "IXI", 'Y', "ingotInvar" ); addShapedUpgradeRecipe(reservoirSignalum, " R ", "IXI", 'Y', "ingotElectrum" ); addShapedUpgradeRecipe(reservoirResonant, " R ", "IXI", addColorRecipe(reservoirBasic, reservoirBasic, "dye"); addColorRecipe(reservoirHardened, reservoirHardened, "dye"); addColorRecipe(reservoirReinforced, reservoirReinforced, "dye");
@Override public boolean initialize() { addSmelting(ItemMaterial.crystalSlag, rockwoolSilver, 0.1F); for (int i = 0; i < 16; i++) { addShapelessRecipe(new ItemStack(this, 1, i), new ItemStack(this, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(Items.DYE, 1, i)); } return true; }
addShapedRecipe(deviceWaterGen, " X ", "YCY", addShapedFluidRecipe(deviceNullifier, " X ", "YCY", addShapedRecipe(deviceHeatSink, " X ", "YCY", addShapedRecipe(deviceTapper, " X ", "YCY", addShapedRecipe(deviceFisher, " X ", "YCY", addShapedRecipe(deviceItemBuffer, " X ", "YCY", addShapedRecipe(deviceFluidBuffer, " X ", "YCY", addShapedRecipe(deviceLexicon,
public static void addShapelessFluidRecipe(ItemStack output, Object... input) { ResourceLocation location = getNameForRecipe(output); ShapelessFluidRecipe recipe = new ShapelessFluidRecipe(location, output, input); recipe.setRegistryName(location); GameData.register_impl(recipe); }
@Override public boolean initialize() { addStorageRecipe(blockElectrumFlux, "ingotElectrumFlux"); addStorageRecipe(blockCrystalFlux, "gemCrystalFlux"); return true; }
@Override public boolean initialize() { addSmelting(oreCopper, ItemMaterial.ingotCopper, 0.6F); addSmelting(oreTin, ItemMaterial.ingotTin, 0.7F); addSmelting(oreSilver, ItemMaterial.ingotSilver, 0.9F); addSmelting(oreLead, ItemMaterial.ingotLead, 0.8F); addSmelting(oreAluminum, ItemMaterial.ingotAluminum, 0.6F); addSmelting(oreNickel, ItemMaterial.ingotNickel, 1.0F); addSmelting(orePlatinum, ItemMaterial.ingotPlatinum, 1.0F); addSmelting(oreIridium, ItemMaterial.ingotIridium, 1.2F); addSmelting(oreMithril, ItemMaterial.ingotMithril, 1.5F); return true; }
public static void addShapelessRecipe(ItemStack output, Object... input) { ResourceLocation location = getNameForRecipe(output); ShapelessRecipes recipe = new ShapelessRecipes(location.getResourceDomain(), output, buildInput(input)); recipe.setRegistryName(location); GameData.register_impl(recipe); }
public static void addConfigurableGearRecipe(ItemStack gear, String ingot) { if (TFProps.enableAlternateGears) { addGearRecipe(gear, ingot, "ingotIron"); } else { addGearRecipe(gear, ingot); } }
public static void addTransposerFill(int energy, ItemStack input, ItemStack output, FluidStack fluid, boolean reversible) { if (!Loader.isModLoaded("thermalexpansion")) { int numDucts = MathHelper.clamp(Fluid.BUCKET_VOLUME / fluid.amount, 1, 8); NonNullList<Object> ingredients = NonNullList.create(); for (int i = 0; i < numDucts; i++) { ingredients.add(ItemHelper.cloneStack(input, 1)); } ingredients.add(new FluidIngredient(fluid.getFluid().getName())); addShapelessFluidRecipe(ItemHelper.cloneStack(output, numDucts), ingredients.toArray()); } else { ThermalExpansionHelper.addTransposerFill(energy, input, output, fluid, reversible); } }
addSmelting(dustIron, ingotIron, 0.7F); addSmelting(dustGold, ingotGold, 1.0F); addSmelting(dustCopper, ingotCopper, 0.6F); addSmelting(dustTin, ingotTin, 0.7F); addSmelting(dustSilver, ingotSilver, 0.9F); addSmelting(dustLead, ingotLead, 0.8F); addSmelting(dustAluminum, ingotAluminum, 0.6F); addSmelting(dustNickel, ingotNickel, 1.0F); addSmelting(dustPlatinum, ingotPlatinum, 1.0F); addSmelting(dustIridium, ingotIridium, 1.2F); addSmelting(dustMithril, ingotMithril, 1.5F); addSmelting(dustElectrum, ingotElectrum); addSmelting(dustInvar, ingotInvar); addSmelting(dustBronze, ingotBronze); addSmelting(dustConstantan, ingotConstantan); addSmelting(Blocks.GRAVEL, crystalSlag); addSmelting(dustSteel, ingotSteel); addSmelting(dustSignalum, ingotSignalum); addSmelting(dustLumium, ingotLumium); addSmelting(dustEnderium, ingotEnderium); addSmelting(crystalRedstone, new ItemStack(Items.REDSTONE), 0.5F); addSmelting(crystalGlowstone, new ItemStack(Items.GLOWSTONE_DUST), 0.5F); addSmelting(crystalEnder, new ItemStack(Items.ENDER_PEARL), 0.5F); addShapelessRecipe(cloneStack(dustElectrum, 2), "dustGold", "dustSilver");
addShapedRecipe(filterBasic, "iGi", "IRI", addShapedRecipe(filterHardened, "iGi", "IRI", 'R', Items.PAPER ); addShapelessRecipe(filterHardened, filterBasic, "ingotInvar"); addShapedRecipe(filterReinforced, "iGi", "IRI", 'R', Items.PAPER ); addShapelessRecipe(filterReinforced, filterBasic, "ingotElectrum"); addShapelessRecipe(filterReinforced, filterHardened, "ingotElectrum"); addShapedRecipe(filterSignalum, "iGi", "IRI", 'R', Items.PAPER ); addShapelessRecipe(filterSignalum, filterBasic, "ingotSignalum"); addShapelessRecipe(filterSignalum, filterHardened, "ingotSignalum");
addShapedRecipe(capacitorBasic, " R ", "IXI", 'Y', "dustSulfur" ); addShapedUpgradeRecipe(capacitorHardened, " R ", "IXI", 'Y', "ingotTin" ); addShapedUpgradeRecipe(capacitorReinforced, " R ", "IXI", 'Y', "blockGlassHardened" ); addShapedUpgradeRecipe(capacitorSignalum, " R ", "IXI", 'Y', "dustCryotheum" ); addShapedUpgradeRecipe(capacitorResonant, " R ", "IXI", addColorRecipe(capacitorBasic, capacitorBasic, "dye");
addShapedRecipe(tank[1], "YIY", "ICI", 'Y', "ingotInvar" ); addShapedUpgradeRecipe(tank[1], " I ", "ICI", 'I', "ingotInvar" ); addShapedUpgradeRecipe(tank[2], "YIY", "ICI", 'Y', "blockGlassHardened" ); addShapedUpgradeRecipe(tank[3], " I ", "ICI", 'I', "ingotSignalum" ); addShapedUpgradeRecipe(tank[4], " I ", "ICI",