• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java ThermalExpansionHelper类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中cofh.api.modhelpers.ThermalExpansionHelper的典型用法代码示例。如果您正苦于以下问题:Java ThermalExpansionHelper类的具体用法?Java ThermalExpansionHelper怎么用?Java ThermalExpansionHelper使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ThermalExpansionHelper类属于cofh.api.modhelpers包,在下文中一共展示了ThermalExpansionHelper类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: init

import cofh.api.modhelpers.ThermalExpansionHelper; //导入依赖的package包/类
@Mod.EventHandler
public static void init(FMLInitializationEvent event)
{
	GameRegistry.addRecipe(new ShapedOreRecipe(blockCastingFrame, new Object[] {"xxx", "x x", "xxx", 'x', "rodStone"}));
	
	LiquidCasting casting = TConstruct.getBasinCasting();
	//Get fluids
	for (FluidType type :  FluidType.fluidTypes.values())
	{
		FluidStack fluid = new FluidStack(type.fluid, TConstruct.blockLiquidValue);
		//Recipes
		CastingRecipe rec = casting.getCastingRecipe(fluid, null);
		
		if (rec != null)
			ThermalExpansionHelper.addTransposerFill(energyCost, new ItemStack(blockCastingFrame), rec.getResult(), fluid, false);
	}
}
 
开发者ID:MikeLydeamore,项目名称:ThermalCasting,代码行数:18,代码来源:ThermalCasting.java


示例2: init

import cofh.api.modhelpers.ThermalExpansionHelper; //导入依赖的package包/类
@Override
public final void init() {

    heatedElectrum = material.addOreDictItem(1, "heatedElectrum", 1);
    temperedElectrum = material.addOreDictItem(0, "temperedElectrum", 1);

    defaultTablet = tablet.addItem(0, "tablet");

    stackHelmetModular = NBTHelper.createDefaultStackTag(new ItemStack(helmetModular));
    stackChestplateModular = NBTHelper.createDefaultStackTag(new ItemStack(chestplateModular));
    stackLeggingsModular = NBTHelper.createDefaultStackTag(new ItemStack(leggingsModular));
    stackBootsModular = NBTHelper.createDefaultStackTag(new ItemStack(bootsModular));

    ModularItemRegistry.registerItem((IModularItem) helmetModular);
    ModularItemRegistry.registerItem((IModularItem) chestplateModular);
    ModularItemRegistry.registerItem((IModularItem) leggingsModular);
    ModularItemRegistry.registerItem((IModularItem) bootsModular);

    if (Loader.isModLoaded("ThermalFoundation")) {
        ThermalExpansionHelper.addTransposerFill(4000, GameRegistry.findItemStack("ThermalFoundation", "ingotElectrum", 1), heatedElectrum, new FluidStack(FluidRegistry.getFluid("pyrotheum"), 500), false);
        ThermalExpansionHelper.addTransposerFill(4000, heatedElectrum, temperedElectrum, new FluidStack(FluidRegistry.getFluid("cryotheum"), 500), false);
    }
}
 
开发者ID:chbachman,项目名称:ModularArmour,代码行数:24,代码来源:Vanilla.java


示例3: registerMixingRecipe

import cofh.api.modhelpers.ThermalExpansionHelper; //导入依赖的package包/类
@Override
public void registerMixingRecipe(List<ItemStack> inputs, FluidStack additive, FluidStack fluidInput2, 
		ItemStack solidOutput, FluidStack liquidOutput, FluidStack gasOutput, 
		Condition condition, Set<ItemStack> catalyst) {
	if (inputs.size() > 1) {
		return;
	}
	if (solidOutput == null) {
		return;
	}
	if (fluidInput2 != null || liquidOutput != null) {
		return;
	}
	if (catalyst != null) {
		return;
	}
	int energy = RecipeCostUtils.rfFromCondition(condition);
	ThermalExpansionHelper.addTransposerFill(energy, inputs.get(0), solidOutput, additive, false);
}
 
开发者ID:lawremi,项目名称:PerFabricaAdAstra,代码行数:20,代码来源:ThermalExpansionIntegration.java


示例4: registerGrindingRecipe

import cofh.api.modhelpers.ThermalExpansionHelper; //导入依赖的package包/类
@Override
public void registerGrindingRecipe(ItemStack input, ItemStack output, List<ChanceStack> secondaries,
		Strength strength) {
	int energy = RecipeCostUtils.grindingEnergyForStrength(strength);
	if (secondaries.size() > 0) {
		ChanceStack secondary = secondaries.get(0);
		ThermalExpansionHelper.addPulverizerRecipe(energy, input, output, secondary.itemStack, (int)(secondary.chance * 100));
	} else {
		ThermalExpansionHelper.addPulverizerRecipe(energy, input, output);
	}
}
 
开发者ID:lawremi,项目名称:PerFabricaAdAstra,代码行数:12,代码来源:ThermalExpansionIntegration.java


示例5: registerSmeltingRecipe

import cofh.api.modhelpers.ThermalExpansionHelper; //导入依赖的package包/类
@Override
public void registerSmeltingRecipe(ItemStack input, ItemStack output, ItemStack flux, int temp) {
	int energy = RecipeCostUtils.rfFromSmeltingTemperature(temp);
	if (flux != null) {
		ThermalExpansionHelper.addSmelterRecipe(energy, input, flux, output, findSlag());
	} else {
		ThermalExpansionHelper.addFurnaceRecipe(energy, input.copy(), output);
	}
}
 
开发者ID:lawremi,项目名称:PerFabricaAdAstra,代码行数:10,代码来源:ThermalExpansionIntegration.java


示例6: registerCastingRecipe

import cofh.api.modhelpers.ThermalExpansionHelper; //导入依赖的package包/类
@Override
public void registerCastingRecipe(ItemStack input, ItemStack output, ItemStack flux, int temp, int energy) {
	int rf = RecipeCostUtils.rfFromTemperature(temp);
	if (flux != null) {
		ThermalExpansionHelper.addSmelterRecipe(rf, input, flux, output, null);
	} else {
		ThermalExpansionHelper.addFurnaceRecipe(rf, input, output);
	}
}
 
开发者ID:lawremi,项目名称:PerFabricaAdAstra,代码行数:10,代码来源:ThermalExpansionIntegration.java


示例7: registerMeltingRecipe

import cofh.api.modhelpers.ThermalExpansionHelper; //导入依赖的package包/类
@Override
public void registerMeltingRecipe(ItemStack input, FluidStack output, int temp, int energy) {
	int rf = RecipeCostUtils.rfFromTemperature(temp);
	if (output.getFluid() == FluidRegistry.LAVA) {
		rf *= 300;
	}
	ThermalExpansionHelper.addCrucibleRecipe(rf, input, output);
}
 
开发者ID:lawremi,项目名称:PerFabricaAdAstra,代码行数:9,代码来源:ThermalExpansionIntegration.java


示例8: registerAlloyingRecipe

import cofh.api.modhelpers.ThermalExpansionHelper; //导入依赖的package包/类
@Override
public void registerAlloyingRecipe(ItemStack output, ItemStack base, List<ItemStack> solutes, int temp, int energy) {
	if (solutes.size() > 1) {
		return;
	}
	int rf = RecipeCostUtils.rfFromTemperature(temp) * output.stackSize;
	ThermalExpansionHelper.addSmelterRecipe(rf, base, solutes.get(0), output, null);
}
 
开发者ID:lawremi,项目名称:PerFabricaAdAstra,代码行数:9,代码来源:ThermalExpansionIntegration.java


示例9: registerRoastingRecipe

import cofh.api.modhelpers.ThermalExpansionHelper; //导入依赖的package包/类
@Override
public void registerRoastingRecipe(List<ItemStack> inputs, ItemStack output, FluidStack gas, int temp) {
	int energy = RecipeCostUtils.rfFromTemperature(temp);
	if (inputs.size() == 2) {
		ThermalExpansionHelper.addSmelterRecipe(energy, inputs.get(0), inputs.get(1), output);
	} else {
		ThermalExpansionHelper.addFurnaceRecipe(energy, inputs.get(0), output);
	}
}
 
开发者ID:lawremi,项目名称:PerFabricaAdAstra,代码行数:10,代码来源:ThermalExpansionIntegration.java


示例10: init

import cofh.api.modhelpers.ThermalExpansionHelper; //导入依赖的package包/类
public static void init()
{
    compoundCapTEBasic.setInteger("type", 1);
    compoundCapTEHardened.setInteger("type", 2);
    compoundCapTEReinforced.setInteger("type", 3);
    compoundCapTEResonant.setInteger("type", 4);
    compoundCapEIOBasic.setInteger("type", 5);
    compoundCapEIODouble.setInteger("type", 6);
    compoundCapEIOVibrant.setInteger("type", 7);

    compoundDialer.setBoolean("modeDial", true);

    capTEBasic.setTagCompound(compoundCapTEBasic);
    capTEHardened.setTagCompound(compoundCapTEHardened);
    capTEReinforced.setTagCompound(compoundCapTEReinforced);
    capTEResonant.setTagCompound(compoundCapTEResonant);
    capEIOBasic.setTagCompound(compoundCapEIOBasic);
    capEIODouble.setTagCompound(compoundCapEIODouble);
    capEIOVibrant.setTagCompound(compoundCapEIOVibrant);

    dialer.setTagCompound(compoundDialer);

    GameRegistry.addRecipe(new ShapedOreRecipe(rfDiode,           "   ", "EQE", "SSS", 'E', "ingotElectrum", 'Q', netherQuartz, 'S', stoneSlab));
    GameRegistry.addRecipe(new ShapedOreRecipe(rfResistor,        "   ", "ECE", "SSS", 'E', "ingotElectrum", 'C', coal, 'S', stoneSlab));
    GameRegistry.addRecipe(new ShapedOreRecipe(rfSwitch,          "   ", "ELE", "SSS", 'E', "ingotElectrum", 'L', lever, 'S', stoneSlab));
    GameRegistry.addRecipe(new ShapedOreRecipe(rfTransistor,      " R ", "ELE", "SSS", 'E', "ingotElectrum", 'L', lever, 'R', redstone, 'S', stoneSlab));
    //GameRegistry.addRecipe(new ShapedOreRecipe(itemDisplay,       "III", "IGI", "EEE", 'I', ingotIron, 'G', glassPane, 'E', "nuggetElectrum"));
    //GameRegistry.addRecipe(new ShapedOreRecipe(rfMeter,           " D ", "ERE", "SSS", 'D', itemDisplay, 'E', "ingotElectrum", 'R', repeater, 'S', stoneSlab));

    if (Loader.isModLoaded("ThermalExpansion"))
    {
        GameRegistry.addRecipe(new ShapedOreRecipe(capTEBasic,      " C ", "ELE", "SSS", 'S', stoneSlab, 'C', MetaItemGetter.capTEBasic, 'E', "ingotElectrum", 'L', "ingotLead"));
        GameRegistry.addRecipe(new ShapedOreRecipe(capTEHardened,   " C ", "EIE", "SSS", 'S', stoneSlab, 'C', MetaItemGetter.capTEHardened, 'E', "ingotElectrum", 'I', "ingotInvar"));
        GameRegistry.addRecipe(new ShapedOreRecipe(capTEReinforced, " C ", "EEE", "SSS", 'S', stoneSlab, 'C', MetaItemGetter.capTEReinforced, 'E', "ingotElectrum"));
        GameRegistry.addRecipe(new ShapedOreRecipe(capTEResonant,   " C ", "ERE", "SSS", 'S', stoneSlab, 'C', MetaItemGetter.capTEResonant, 'E', "ingotElectrum", 'R', "ingotEnderium"));
        GameRegistry.addRecipe(new ShapedOreRecipe(hardenedGlassPane, "GGG", "GGG", "   ", 'G', "blockGlassHardened"));
        GameRegistry.addRecipe(new ShapedOreRecipe(itemTessEmpty,     "EGE", "GDG", "EGE", 'E', "nuggetEnderium", 'G', hardenedGlassPane, 'D', diamond));
        GameRegistry.addRecipe(new ShapedOreRecipe(invisTess,         "BSB", "STS", "BSB", 'B', "ingotBronze", 'S', "ingotSilver", 'T', itemTessFull));
        GameRegistry.addRecipe(new ShapedOreRecipe(dialer,            " C ", "RBR", "III", 'C', MetaItemGetter.coil, 'R', redstone, 'B', Blocks.stone_button, 'I', ingotIron));
        ThermalExpansionHelper.addTransposerFill(16000, itemTessEmpty, itemTessFull, MetaItemGetter.fluidEnder, false);
    }

    if (Loader.isModLoaded("EnderIO"))
    {
        GameRegistry.addShapedRecipe(capEIOBasic,   " C ", "EIE", "SSS", 'C', MetaItemGetter.capEIOBasic, 'E',   MetaItemGetter.ingotElectricalSteel, 'S', stoneSlab, 'I', MetaItemGetter.ingotConductiveIron);
        GameRegistry.addShapedRecipe(capEIODouble,  " C ", "EAE", "SSS", 'C', MetaItemGetter.capEIODouble, 'E',  MetaItemGetter.ingotElectricalSteel, 'S', stoneSlab, 'A', MetaItemGetter.ingotEnergeticAlloy);
        GameRegistry.addShapedRecipe(capEIOVibrant, " C ", "EVE", "SSS", 'C', MetaItemGetter.capEIOVibrant, 'E', MetaItemGetter.ingotElectricalSteel, 'S', stoneSlab, 'V', MetaItemGetter.ingotVibrantAlloy);
    }
}
 
开发者ID:XFactHD,项目名称:RFUtilities,代码行数:50,代码来源:CraftingRecipes.java


示例11: init

import cofh.api.modhelpers.ThermalExpansionHelper; //导入依赖的package包/类
public static void init()
{
    compoundCapTEBasic.setInteger("type", 1);
    compoundCapTEHardened.setInteger("type", 2);
    compoundCapTEReinforced.setInteger("type", 3);
    compoundCapTEResonant.setInteger("type", 4);
    compoundCapEIOBasic.setInteger("type", 5);
    compoundCapEIODouble.setInteger("type", 6);
    compoundCapEIOVibrant.setInteger("type", 7);

    capTEBasic.setTagCompound(compoundCapTEBasic);
    capTEHardened.setTagCompound(compoundCapTEHardened);
    capTEReinforced.setTagCompound(compoundCapTEReinforced);
    capTEResonant.setTagCompound(compoundCapTEResonant);
    capEIOBasic.setTagCompound(compoundCapEIOBasic);
    capEIODouble.setTagCompound(compoundCapEIODouble);
    capEIOVibrant.setTagCompound(compoundCapEIOVibrant);

    GameRegistry.addRecipe(new ShapedOreRecipe(rfDiode,           "   ", "EQE", "SSS", 'E', "ingotElectrum", 'Q', netherQuartz, 'S', stoneSlab));
    GameRegistry.addRecipe(new ShapedOreRecipe(rfResistor,        "   ", "ECE", "SSS", 'E', "ingotElectrum", 'C', coal, 'S', stoneSlab));
    GameRegistry.addRecipe(new ShapedOreRecipe(rfSwitch,          "   ", "ELE", "SSS", 'E', "ingotElectrum", 'L', lever, 'S', stoneSlab));
    GameRegistry.addRecipe(new ShapedOreRecipe(rfTransistor,      " R ", "ELE", "SSS", 'E', "ingotElectrum", 'L', lever, 'R', redstone, 'S', stoneSlab));
    //GameRegistry.addRecipe(new ShapedOreRecipe(itemDisplay,       "III", "IGI", "EEE", 'I', ingotIron, 'G', glassPane, 'E', "nuggetElectrum"));
    //GameRegistry.addRecipe(new ShapedOreRecipe(rfMeter,           " D ", "ERE", "SSS", 'D', itemDisplay, 'E', "ingotElectrum", 'R', repeater, 'S', stoneSlab));

    if (Loader.isModLoaded("ThermalExpansion"))
    {
        GameRegistry.addRecipe(new ShapedOreRecipe(capTEBasic,      " C ", "ELE", "SSS", 'S', stoneSlab, 'C', MetaItemGetter.capTEBasic, 'E', "ingotElectrum", 'L', "ingotLead"));
        GameRegistry.addRecipe(new ShapedOreRecipe(capTEHardened,   " C ", "EIE", "SSS", 'S', stoneSlab, 'C', MetaItemGetter.capTEHardened, 'E', "ingotElectrum", 'I', "ingotInvar"));
        GameRegistry.addRecipe(new ShapedOreRecipe(capTEReinforced, " C ", "EEE", "SSS", 'S', stoneSlab, 'C', MetaItemGetter.capTEReinforced, 'E', "ingotElectrum"));
        GameRegistry.addRecipe(new ShapedOreRecipe(capTEResonant,   " C ", "ERE", "SSS", 'S', stoneSlab, 'C', MetaItemGetter.capTEResonant, 'E', "ingotElectrum", 'R', "ingotEnderium"));
        GameRegistry.addRecipe(new ShapedOreRecipe(hardenedGlassPane, "GGG", "GGG", "   ", 'G', "blockGlassHardened"));
        GameRegistry.addRecipe(new ShapedOreRecipe(itemTessEmpty,     "EGE", "GDG", "EGE", 'E', "nuggetEnderium", 'G', hardenedGlassPane, 'D', diamond));
        GameRegistry.addRecipe(new ShapedOreRecipe(invisTess,         "BSB", "STS", "BSB", 'B', "ingotBronze", 'S', "ingotSilver", 'T', itemTessFull));
        GameRegistry.addRecipe(new ShapedOreRecipe(dialer,            " C ", "RBR", "III", 'C', MetaItemGetter.coil, 'R', redstone, 'B', Blocks.stone_button, 'I', ingotIron));
        ThermalExpansionHelper.addTransposerFill(16000, itemTessEmpty, itemTessFull, fluidEnder, false);
    }

    if (Loader.isModLoaded("EnderIO"))
    {
        GameRegistry.addShapedRecipe(capEIOBasic,   " C ", "EIE", "SSS", 'C', MetaItemGetter.capEIOBasic, 'E',   MetaItemGetter.ingotElectricalSteel, 'S', stoneSlab, 'I', MetaItemGetter.ingotConductiveIron);
        GameRegistry.addShapedRecipe(capEIODouble,  " C ", "EAE", "SSS", 'C', MetaItemGetter.capEIODouble, 'E',  MetaItemGetter.ingotElectricalSteel, 'S', stoneSlab, 'A', MetaItemGetter.ingotEnergeticAlloy);
        GameRegistry.addShapedRecipe(capEIOVibrant, " C ", "EVE", "SSS", 'C', MetaItemGetter.capEIOVibrant, 'E', MetaItemGetter.ingotElectricalSteel, 'S', stoneSlab, 'V', MetaItemGetter.ingotVibrantAlloy);
    }
}
 
开发者ID:XFactHD,项目名称:RFUtilities,代码行数:46,代码来源:CraftingRecipes.java


示例12: init

import cofh.api.modhelpers.ThermalExpansionHelper; //导入依赖的package包/类
public static void init() {
	
	ThermalExpansionHelper.addCrucibleRecipe(8000, new ItemStack(InitItems.wet_cement), new FluidStack(InitFluids.concrete_mix, 1000));

	ThermalExpansionHelper.addCrucibleRecipe(8000, new ItemStack(InitItems.quartz_sand), new FluidStack(InitFluids.liquid_glass, 1000));
	
	ThermalExpansionHelper.addTransposerFill(1000, new ItemStack(InitItems.cement),	new ItemStack(InitItems.wet_cement), new FluidStack(FluidRegistry.WATER, 1000), false);
	
	ThermalExpansionHelper.addTransposerFill(1000, new ItemStack(InitItems.iron_frame), new ItemStack(InitBlocks.concrete, 1, 15), new FluidStack(InitFluids.concrete_mix, 1000), false);
	
	ThermalExpansionHelper.addTransposerFill(1000, new ItemStack(InitItems.iron_frame), new ItemStack(InitBlocks.reinforced_glass, 1, 10), new FluidStack(InitFluids.liquid_glass, 1000), false);
	
	ThermalExpansionHelper.addPulverizerRecipe(2000, new ItemStack(InitItems.radioactive_chunk), new ItemStack(Blocks.cobblestone), new ItemStack(InitItems.uranium_pellet), 20);
	
	ThermalExpansionHelper.addSmelterRecipe(1000, new ItemStack(InitItems.steel_ingot), new ItemStack(InitItems.steel_ingot), new ItemStack(InitItems.steel_plate));
	
	ThermalExpansionHelper.addSmelterRecipe(1000, new ItemStack(TFItems.ingotInvar.getItem(), 10, TFItems.ingotInvar.getItemDamage()), new ItemStack(InitItems.steel_plate), new ItemStack(InitItems.plating, 1, 0));
	
	ThermalExpansionHelper.addSmelterRecipe(1000, new ItemStack(TFItems.ingotElectrum.getItem(), 10, TFItems.ingotElectrum.getItemDamage()), new ItemStack(InitItems.plating, 1, 0), new ItemStack(InitItems.plating, 1, 1));
	
	ThermalExpansionHelper.addSmelterRecipe(1000, new ItemStack(TFItems.ingotEnderium.getItem(), 8, TFItems.ingotEnderium.getItemDamage()), new ItemStack(InitItems.plating, 1, 1), new ItemStack(InitItems.plating, 1, 2));
	
	//ThermalExpansionHelper.addPulverizerRecipe(input, output, sideoutput, energycost, rarespawn chance);
}
 
开发者ID:TeamMonumental,项目名称:FissionWarfare,代码行数:25,代码来源:InitTERecipes.java


示例13: initRArs

import cofh.api.modhelpers.ThermalExpansionHelper; //导入依赖的package包/类
private static void initRArs(){
    boolean useSJReplacement = !RFDrills.isRArsLoaded && SimplyJetpacksCompat.integratesTE();
    if(useSJReplacement)
        LogHelper.info("Redstone Arsenal not found but Simply Jetpacks and TE are installed! Adding alternative items...");

    ItemStack obsidianRod = useSJReplacement ? new ItemStack(ModItems.replacementRA1, 1, Metadata.OBSIDIAN_ROD) : new ItemStack(GameRegistry.findItem("RedstoneArsenal", "material"), 1, 192);
    ItemStack fluxRod = useSJReplacement ? new ItemStack(ModItems.replacementRA1, 1, Metadata.FLUX_OBSIDIAN_ROD) : new ItemStack(GameRegistry.findItem("RedstoneArsenal", "material"), 1, 193);
    ItemStack fluxArmorPlate = useSJReplacement ? new ItemStack(GameRegistry.findItem("simplyjetpacks", "components"), 1, 68) : new ItemStack(GameRegistry.findItem("RedstoneArsenal", "material"), 1, 128);

    ItemStack coolantUnit = new ItemStack(GameRegistry.findItem("simplyjetpacks", "components"), 1, 63);
    ItemStack superConductanceCoil = new ItemStack(ModItems.componentTE, 1, Metadata.SUPERCONDUCTANCE_COIL);
    ItemStack fluctuatingCoreFrame = new ItemStack(ModItems.componentTE, 1, Metadata.FLUCTUATING_CORE_FRAME);
    ItemStack fluctuatingCore = new ItemStack(ModItems.componentTE, 1, Metadata.FLUCTUATING_CORE);

    //Superconductance Coil
    GameRegistry.addRecipe(new ShapedOreRecipe(superConductanceCoil,
            "sc ",
            "cFc",
            " cs", 's', "ingotSignalum", 'F', "ingotElectrumFlux", 'c', "dustCryotheum").setMirrored(true));

    //Fluctuating Core Frame
    GameRegistry.addRecipe(new ShapedOreRecipe(fluctuatingCoreFrame,
            "eFe",
            "FGF",
            "eCe", 'e', "ingotEnderium", 'F', fluxArmorPlate, 'G', "gemCrystalFlux", 'C', superConductanceCoil));

    //Fluctuatung Core
    ThermalExpansionHelper.addTransposerFill(16000, fluctuatingCoreFrame, fluctuatingCore, FluidRegistry.getFluidStack("cryotheum", 8000), false);
    if(RFDrills.isSJLoaded){
        GameRegistry.addRecipe(new ShapedOreRecipe(fluctuatingCore,
            "ece",
            "FGF",
            "eCe", 'e', "ingotEnderium", 'F', fluxArmorPlate, 'G', "gemCrystalFlux", 'C', superConductanceCoil, 'c', coolantUnit));
    }
    if(RFDrills.isRArmLoaded){
        GameRegistry.addRecipe(new ShapedOreRecipe(fluctuatingCore,
            "eFe",
            "FGF",
            "eCe", 'e', "ingotGelidEnderium", 'F', fluxArmorPlate, 'G', "gemCrystalFlux", 'C', superConductanceCoil));
    }

    if(useSJReplacement){
        //Obsidian Rod
        GameRegistry.addRecipe(new ShapedOreRecipe(obsidianRod,
            "  o",
            " b ",
            "o  ", 'o', "dustObsidian", 'b', Items.blaze_powder).setMirrored(true));

        //Infused Obsidian Rod
        GameRegistry.addRecipe(new ShapedOreRecipe(fluxRod,
            "  G",
            " R ",
            "G  ", 'R', obsidianRod, 'G', "gemCrystalFlux").setMirrored(true));
    }

    //Flux Crusher
    GameRegistry.addRecipe(new ShapedUpgradeRecipe(ModItems.fluxCrusher,
            "iFi",
            "DRC",
            " R ", 'i', "ingotElectrumFlux", 'R', fluxRod, 'D', ModItems.resonantDrill, 'C', ModItems.resonantChainsaw, 'F', fluctuatingCore).setMirrored(true));
    GameRegistry.addRecipe(new ShapelessMuffleRecipe(ModItems.fluxCrusher));
    GameRegistry.addRecipe(new ShapelessUnmuffleRecipe(ModItems.fluxCrusher));
}
 
开发者ID:goldenapple3,项目名称:RFDrills,代码行数:64,代码来源:ModRecipes.java



注:本文中的cofh.api.modhelpers.ThermalExpansionHelper类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java TintImageView类代码示例发布时间:2022-05-23
下一篇:
Java CytoPanelState类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap