此教程用于讲解使用CT/MOT对于热力膨胀5的魔改,并默认您有一定的魔改基础。
以下按照原文英语首字母顺序排列,并会在写法下给出例子(用绿色字体标注)。
药水酿造机(Alchemical Imbuer)
添加配方:
mods.thermalexpansion.Imbuer.addRecipe(ILiquidStack output, IItemStack input, ILiquidStack inputFluid, int energy);
mods.thermalexpansion.Imbuer.addRecipe(<liquid:lava>, <minecraft:dirt>, <liquid:water>, 2048);
注:int energy为消耗的RF量
删除配方:
mods.thermalexpansion.Imbuer.removeRecipe(IItemStack input, ILiquidStack secondInput);
mods.thermalexpansion.Imbuer.removeRecipe(<minecraft:dirt>, <liquid:water>);
附魔器(Arcane Ensorcellator/Enchanter)
添加配方:
mods.thermalexpansion.Enchanter.addRecipe(IItemStack output, IItemStack input, IItemStack secondInput, int energy, int experience, boolean empowered);
mods.thermalexpansion.Enchanter.addRecipe(<minecraft:enchanted_book>.withTag({StoredEnchantments: [{id: 35}]}), <minecraft:book>, <minecraft:diamond>, 12000, 3000, false);
删除配方:
mods.thermalexpansion.Enchanter.removeRecipe(IItemStack input, IItemStack secondInput);
mods.thermalexpansion.Enchanter.removeRecipe(<minecraft:book>, <minecraft:diamond>);
压缩机(Compactor)
添加(货币铸造)配方:
mods.thermalexpansion.Compactor.addMintRecipe(IItemStack output, IItemStack input, int energy);
mods.thermalexpansion.Compactor.addMintRecipe(<minecraft:sand>, <minecraft:stick>, 1500);
删除(货币铸造)配方:
mods.thermalexpansion.Compactor.removeMintRecipe(IItemStack input);
mods.thermalexpansion.Compactor.removeMintRecipe(<thermalfoundation:material:167>);
添加(类似于锭压制成板的)配方(press):
mods.thermalexpansion.Compactor.addPressRecipe(IItemStack output, IItemStack input, int energy);
mods.thermalexpansion.Compactor.addPressRecipe(<minecraft:sand>, <minecraft:apple>, 1500);
删除(类似于锭压制成板的)配方:
mods.thermalexpansion.Compactor.removePressRecipe(IItemStack input);
mods.thermalexpansion.Compactor.removePressRecipe(<thermalfoundation:material:167>);
添加(类似于烈焰粉制作成烈焰棒的)配方(storage):
mods.thermalexpansion.Compactor.addStorageRecipe(IItemStack output, IItemStack input, int energy);
mods.thermalexpansion.Compactor.addStorageRecipe(<minecraft:sand>, <minecraft:arrow>, 1500);
删除(类似于烈焰粉制作成烈焰棒的)配方(storage):
mods.thermalexpansion.Compactor.removeStorageRecipe(IItemStack input);
mods.thermalexpansion.Compactor.removeStorageRecipe(<thermalfoundation:material:167>);
注:因为press和storage功能作者并没有制作出相应的升级,所以两者虽写法不同但是效果完全一致,即不需要任何升级就可以加工的配方。
添加(齿轮制作)配方:
mods.thermalexpansion.Compactor.addGearRecipe(IItemStack output, IItemStack input, int energy);
mods.thermalexpansion.Compactor.addGearRecipe(<minecraft:sand>, <minecraft:arrow>, 1500);
删除(齿轮制作)配方:
mods.thermalexpansion.Compactor.removeGearRecipe(IItemStack input);
mods.thermalexpansion.Compactor.removeGearRecipe(<thermalfoundation:material:167>);
能量灌注机(Energetic Infuser)
添加配方:
mods.thermalexpansion.Infuser.addRecipe(IItemStack output, IItemStack input, int energy);
mods.thermalexpansion.Infuser.addRecipe(<minecraft:gold_ingot>, <minecraft:iron_ingot>, 1000);
删除配方:
mods.thermalexpansion.Infuser.removeRecipe(IItemStack input);
mods.thermalexpansion.Infuser.removeRecipe(<minecraft:gold_ore>);
公式处理机(Factorizer)
添加(分割)配方:
mods.thermalexpansion.Factorizer.addRecipeSplit(IItemStack in, IItemStack out);
mods.thermalexpansion.Factorizer.addRecipeSplit(<minecraft:dirt>, <minecraft:grass> * 5);
删除(分割)配方:
mods.thermalexpansion.Factorizer.removeRecipeSplit(IItemStack in);
mods.thermalexpansion.Factorizer.removeRecipeSplit(<minecraft:iron_block>);
添加(结合)配方:
mods.thermalexpansion.Factorizer.addRecipeCombine(IItemStack in, IItemStack out);
mods.thermalexpansion.Factorizer.addRecipeCombine(<minecraft:grass> * 5, <minecraft:dirt>);
删除(结合)配方:
mods.thermalexpansion.Factorizer.removeRecipeCombine(IItemStack in);
mods.thermalexpansion.Factorizer.removeRecipeCombine(<minecraft:iron_ingot> * 9);
流体转置机(Fluid Transposer)
添加配方:
mods.thermalexpansion.Transposer.addExtractRecipe(ILiquidStack output, IItemStack input, int energy);
mods.thermalexpansion.Transposer.addExtractRecipe(<liquid:water> * 250, <minecraft:leaves:0>, 360);
mods.thermalexpansion.Transposer.addExtractRecipe(ILiquidStack output, IItemStack input, int energy, WeightedItemStack itemOut);
mods.thermalexpansion.Transposer.addExtractRecipe(<liquid:water> * 250, <minecraft:leaves:1>, 360, <minecraft:leaves:0> % 30);
mods.thermalexpansion.Transposer.addFillRecipe(IItemStack output, IItemStack input, ILiquidStack fluid, int energy);
mods.thermalexpansion.Transposer.addFillRecipe(<minecraft:leaves:1>, <minecraft:leaves:0>, <liquid:water> * 200, 20);
删除配方:
mods.thermalexpansion.Transposer.removeExtractRecipe(IItemStack input);
mods.thermalexpansion.Transposer.removeExtractRecipe(<minecraft:gold_ore>);
mods.thermalexpansion.Transposer.removeFillRecipe(IItemStack input, ILiquidStack fluid);
mods.thermalexpansion.Transposer.removeFillRecipe(<minecraft:bucket>, <liquid:water>);
流体精炼机(Fractionating Still/Refinery)
添加配方:
mods.thermalexpansion.Refinery.addRecipe(ILiquidStack output, IItemStack outputItem, ILiquidStack input, int energy);
mods.thermalexpansion.Refinery.addRecipe(<liquid:lava>, <minecraft:diamond>,<liquid:water>, 50);
删除配方:
mods.thermalexpansion.Refinery.removeRecipe(ILiquidStack input);
mods.thermalexpansion.Refinery.removeRecipe(<liquid:resin>);
感应炉(Induction Smelter)
添加配方:
mods.thermalexpansion.InductionSmelter.addRecipe(IItemStack primaryOutput, IItemStack primaryInput, IItemStack secondaryInput, int energy, @Optional IItemStack secondaryOutput, @Optional int secondaryChance);
mods.thermalexpansion.InductionSmelter.addRecipe(<minecraft:diamond>, <minecraft:stick>, <minecraft:iron_ore>, 1500, <minecraft:stone>, 20);
删除配方:
mods.thermalexpansion.InductionSmelter.removeRecipe(IItemStack primaryInput, IItemStack secondaryInput);
mods.thermalexpansion.InductionSmelter.removeRecipe(<minecraft:bucket>, <minecraft:sand>);
熔岩炉(Magma Crucible)
添加配方:
mods.thermalexpansion.Crucible.addRecipe(ILiquidStack output, IItemStack input, int energy);
mods.thermalexpansion.Crucible.addRecipe(<liquid:refined_oil>, <minecraft:diamond>, 50);
删除配方:
mods.thermalexpansion.Crucible.removeRecipe(IItemStack input);
mods.thermalexpansion.Crucible.removeRecipe(<minecraft:glowstone>);
红石炉(Redstone Furnace)
添加配方:
mods.thermalexpansion.RedstoneFurnace.addRecipe(IItemStack output, IItemStack input, int energy);
mods.thermalexpansion.RedstoneFurnace.addRecipe(<minecraft:gold_ingot>, <minecraft:iron_ingot>, 3600);
删除配方:
mods.thermalexpansion.RedstoneFurnace.removeRecipe(IItemStack input);
mods.thermalexpansion.RedstoneFurnace.removeRecipe(<minecraft:gold_ore>);
添加(高温热解转化)配方:
mods.thermalexpansion.RedstoneFurnace.addPyrolysisRecipe(IItemStack output, IItemStack input, int energy, int creosote);
mods.thermalexpansion.RedstoneFurnace.addPyrolysisRecipe(<thermalfoundation:material:802>, <minecraft:coal:1>, 2000, 250);
删除(高温热解转化)配方:
mods.thermalexpansion.RedstoneFurnace.removePyrolysisRecipe(IItemStack input);
mods.thermalexpansion.RedstoneFurnace.removePyrolysisRecipe(<minecraft:coal>);
有机灌注机(Phytogenic Insolator)
添加配方:
mods.thermalexpansion.Insolator.addRecipe(IItemStack primaryOutput, IItemStack primaryInput, IItemStack secondaryInput, int energy, @Optional IItemStack secondaryOutput, @Optional int secondaryChance);
mods.thermalexpansion.Insolator.addRecipe(<minecraft:diamond>, <minecraft:stick>, <minecraft:iron_ore>, 1500, <minecraft:stone>, 20);
删除配方:
mods.thermalexpansion.Insolator.removeRecipe(IItemStack primaryInput, IItemStack secondaryInput);
mods.thermalexpansion.Insolator.removeRecipe(<minecraft:melon_seeds>, <thermalfoundation:fertilizer:1>);
磨粉机(Pulverizer)
添加配方:
mods.thermalexpansion.Pulverizer.addRecipe(IItemStack output, IItemStack input, int energy, @Optional IItemStack secondaryOutput, @Optional int secondaryChance);
mods.thermalexpansion.Pulverizer.addRecipe(<minecraft:diamond>, <minecraft:stick>, 1500, <minecraft:stone>, 20);
删除配方:
mods.thermalexpansion.Pulverizer.removeRecipe(IItemStack input);
mods.thermalexpansion.Pulverizer.removeRecipe(<thermalfoundation:material:136>);
锯木机(Sawmill)
添加配方:
mods.thermalexpansion.Sawmill.addRecipe(IItemStack output, IItemStack input, int energy, @Optional IItemStack secondaryOutput, @Optional int secondaryChance);
mods.thermalexpansion.Sawmill.addRecipe(<minecraft:diamond>, <minecraft:stick>, 1500, <minecraft:stone>, 20);
删除配方:
mods.thermalexpansion.Sawmill.removeRecipe(IItemStack input);
mods.thermalexpansion.Sawmill.removeRecipe(<minecraft:painting>);
离心机(Centrifugal Separator)
添加配方:
mods.thermalexpansion.Centrifuge.addRecipe(WeightedItemStack[] outputs, IItemStack input, ILiquidStack fluid, int energy);
mods.thermalexpansion.Centrifuge.addRecipe([(<minecraft:gold_ingot> * 5) % 10, <minecraft:iron_ingot> % 50], <minecraft:gold_ore>, <liquid:lava>, 2000);
删除配方:
mods.thermalexpansion.Centrifuge.removeRecipe(IItemStack input);
mods.thermalexpansion.Centrifuge.removeRecipe(<minecraft:gold_ore>);
添加(生物离心分解)配方:
mods.thermalexpansion.Centrifuge.addRecipeMob(IEntityDefinition entity, WeightedItemStack[] outputs, @Nullable ILiquidStack fluid, int energy, int xp);
mods.thermalexpansion.Centrifuge.addRecipeMob(<entity:minecraft:slime>, [<minecraft:clay_ball>%50, <minecraft:ghast_tear>%10], null, 2000, 5);
删除(生物离心分解)配方:
mods.thermalexpansion.Centrifuge.removeRecipeMob(IEntityDefinition entity);
mods.thermalexpansion.Centrifuge.removeRecipeMob(<entity:minecraft:slime>);