本篇教程由作者设定未经允许禁止转载。
本教程适用于MEKV10新增加的机器配方魔改,如果需要查询GrS的魔改方法请移步隔壁。
MEKV10作为MEKV9的后续版本,在1.12.2添加了众多的新机器,然而部分机器没用配方,极大的限制了这个模组的潜力,本教程将罗列新增机器的魔改方法,若有错误请及时在评论区指出,谢谢。
首先要知道最重要的一点,无论是什么机器都脱离不了输入——输出这个关系,因此理论上我们完全可以依靠原先机器的crt魔改方法推导新机
器的魔改方法。首先来学习下原版MEK对化学灌注机这个机器的魔改方法。
移除:
mods.mekanism.chemical.infuser.removeRecipe(IIngredient outputGas, @Optional IIngredient inputGas1, @Optional IIngredient inputGas2);
mods.mekanism.chemical.infuser.removeRecipe(<gas:hydrogenchloride>, <gas:hydrogen>, <gas:chlorine>);
mods.mekanism.chemical.infuser.removeRecipe(<gas:fusionfuel>);
不难发现移除配方的规律,若输出该气体(物品)的配方只有一个,那么在移除配方时可以省略以下内容:
@Optional IIngredient inputGas1, @Optional IIngredient inputGas2
即可以写作如下,即只写配方输出:
mods.mekanism.chemical.infuser.removeRecipe(<gas:fusionfuel>);
若输出该气体(物品)的配方不只有一个,那么可选的输入则不可以省略,应该写作:
mods.mekanism.chemical.infuser.removeRecipe(<gas:hydrogenchloride>, <gas:hydrogen>, <gas:chlorine>);
添加:
mods.mekanism.chemical.infuser.addRecipe(IGasStack inputGas1, IGasStack inputGas2, IGasStack outputGas);
mods.mekanism.chemical.infuser.addRecipe(<gas:water>, <gas:deuterium>, <gas:tritium>);
输入输出必须写全。
到此,你已经掌握了所有魔改技巧,现在可以开始了。
列出MEKV10新增加的机器以及魔改如下:
IsotopicCentrifuge - 同位素离心机
此机器对应两种气体的配方。
移除:
mods.mekanism.lsotopic.centrifuge.removeRecipe(IIngredient outputGas, @Optional IIngredient inputGas);
mods.mekanism.lsotopic.centrifuge.removeRecipe(<gas:brine>,<gas:lithium>);
mods.mekanism.lsotopic.centrifuge.removeRecipe(<gas:lithium>);
也可以使用移除全部配方:
mods.mekanism.lsotopic.centrifuge.removeAllRecipes();
添加
mods.mekanism.chemical.oxidizer.addRecipe(IGasStack inputGas, IGasStack outputGas);
mods.mekanism.chemical.oxidizer.addRecipe(<gas:lithium>, <gas:cleanOsmium>);
NutritionalLiquifier - 营养液化器
此机器类似化学氧化机。
移除
mods.mekanism.nutritional.liquifer.addRecipe(IIngredient inputStack, IGasStack outputGas);
mods.mekanism.nutritional.liquifer.addRecipe(<mekanism:dust:2>, <gas:cleanOsmium>);
添加
mods.mekanism.nutritional.liquifer.addRecipe(IIngredient inputStack, IGasStack outputGas);
mods.mekanism.nutritional.liquifer.addRecipe(<mekanism:dust:2>, <gas:cleanOsmium>);
Antiprotonic Nucleosynthesizer - 反质子核合成器
此机器类似化学压射机。
移除:
mods.mekanism.antiprotonic.nucleosynthesizer .removeRecipe(IIngredient outputStack, @Optional IIngredient inputStack, @Optional IIngredient inputGas);
mods.mekanism.antiprotonic.nucleosynthesizer .removeRecipe(<mekanism:shard:2>, <mekanism:oreblock>, <gas:hydrogenchloride>);
mods.mekanism.antiprotonic.nucleosynthesizer .removeRecipe(<mekanism:shard:1>);
添加:
mods.mekanism.antiprotonic.nucleosynthesizer .addRecipe(IIngredient inputStack, IGasStack inputGas, IItemStack outputStack);
mods.mekanism.antiprotonic.nucleosynthesizer .addRecipe(<minecraft:hardened_clay:1>, <gas:water>, <minecraft:clay>);
Organic Farm - 有机农场
此机器类似化学压射机,不过有两个输出槽位。
移除:
mods.mekanism.organic.farm.removeRecipe(IIngredient outputStack,IIngredient outputStack, @Optional IIngredient inputStack, @Optional IIngredient inputGas);
mods.mekanism.organic.farm.removeRecipe(<mekanism:shard:2>,<mekanism:shard:2>, <mekanism:oreblock>, <gas:hydrogenchloride>);
添加:
mods.mekanism.organic.farm.addRecipe(IIngredient inputStack, IGasStack inputGas, IItemStack outputStack, IItemStack outputStack);
mods.mekanism.organic.farm.addRecipe(<minecraft:hardened_clay:1>, <gas:water>, <minecraft:clay>,<minecraft:clay>);
Stamping - 数控冲床
类似粉碎机
移除
mods.mekanism.stamping.removeRecipe(IIngredient outputStack, @Optional IIngredient inputStack);
mods.mekanism.stamping.removeRecipe(<minecraft:sand>, <minecraft:gravel>);
添加
mods.mekanism.stamping.addRecipe(IIngredient inputStack, IItemStack outputStack);
mods.mekanism.stamping.addRecipe(<minecraft:double_plant:4>, <minecraft:dye:1> * 5);
Rolling - 数控轧制机
类似粉碎机
移除
mods.mekanism.rolling.removeRecipe(IIngredient outputStack, @Optional IIngredient inputStack);
mods.mekanism.rolling.removeRecipe(<minecraft:sand>, <minecraft:gravel>);
添加
mods.mekanism.rolling.addRecipe(IIngredient inputStack, IItemStack outputStack);
mods.mekanism.rolling.addRecipe(<minecraft:double_plant:4>, <minecraft:dye:1> * 5);
Brushed - 数控拉丝机
类似粉碎机
移除
mods.mekanism.brushed.removeRecipe(IIngredient outputStack, @Optional IIngredient inputStack);
mods.mekanism.brushed.removeRecipe(<minecraft:sand>, <minecraft:gravel>);
添加
mods.mekanism.brushed.addRecipe(IIngredient inputStack, IItemStack outputStack);
mods.mekanism.brushed.addRecipe(<minecraft:double_plant:4>, <minecraft:dye:1> * 5);
Turning - 数控车床
类似粉碎机.
移除:
mods.mekanism.turning.removeRecipe(IIngredient outputStack, @Optional IIngredient inputStack);
mods.mekanism.turning.removeRecipe(<minecraft:sand>, <minecraft:gravel>);
添加:
mods.mekanism.turning.addRecipe(IIngredient inputStack, IItemStack outputStack);
mods.mekanism.turning.addRecipe(<minecraft:double_plant:4>, <minecraft:dye:1> * 5);
Alloy - 合金炉
此机器为两个输入一个输出。
移除:
mods.mekanism.alloy.removeRecipe(IIngredient outputStack, @Optional IIngredient inputStack,@Optional IIngredient inputStack);
mods.mekanism.alloy.removeRecipe(<minecraft:sand>, <minecraft:gravel>,<minecraft:gravel>);
添加:
mods.mekanism.alloy.addRecipe(IIngredient inputStack,IIngredient inputStack, IItemStack outputStack);
mods.mekanism.alloy.addRecipe(<ore:ingotCopper>*3,<ore:ingotTin>, <mekanism:ingot:2>);
CellExtractor - 细胞提取机
此机器类似有副产物的粉碎机。
移除:
mods.mekanism.cell.extractor.removeRecipe(IIngredient outputStack,IIngredient outputStack, @Optional IIngredient inputStack);
mods.mekanism.cell.extractor.removeRecipe(<minecraft:sand>,<minecraft:sand>, <minecraft:gravel>);
添加:
mods.mekanism.cell.extractor.addRecipe(IIngredient inputStack, IItemStack outputStack,IItemStack outputStack);
mods.mekanism.cell.extractor.addRecipe(<minecraft:double_plant:4>, <minecraft:dye:1>, <minecraft:dye:1>);
CellSeparator - 细胞分离机
类似粉碎机.
移除:
mods.mekanism.cell.separator.removeRecipe(IIngredient outputStack,IIngredient outputStack, @Optional IIngredient inputStack);
mods.mekanism.cell.separator.removeRecipe(<minecraft:sand>,<minecraft:sand>, <minecraft:gravel>);
添加:
mods.mekanism.cell.separator.addRecipe(IIngredient inputStack, IItemStack outputStack,IItemStack outputStack);
mods.mekanism.cell.separator.addRecipe(<minecraft:double_plant:4>, <minecraft:dye:1>, <minecraft:dye:1>);
Fusion reactor cooling recipes -聚变堆冷却配方
类似蒸馏塔.
移除:
mods.mekanism.fusionreactor.cooling.recipes.removeRecipe(IIngredient liquidInput, @Optional IIngredient liquidOutput);
mods.mekanism.fusionreactor.cooling.recipes.removeRecipe(<liquid:water>, <liquid:brine>);
mods.mekanism.fusionreactor.cooling.recipes.removeRecipe(<liquid:brine>);
添加;
mods.mekanism.fusionreactor.cooling.recipes.addRecipe(ILiquidStack liquidInput, ILiquidStack liquidOutput);
mods.mekanism.fusionreactor.cooling.recipes.addRecipe(<liquid:liquidfusionfuel>, <liquid:lava>);
此外,在MEKV10的机器里边,还有一些涉及产出概率的设置,但有兴趣的玩家可以查看MEKV10作者的魔改教程。