开发人员: 对于MineTweaker的支持 - KaimeranFeran/Tech-Reborn-Wiki-CN GitHub Wiki

对于 Minetweaker 的支持

TechReborn已经内置了对Minetweaker的支持。

大多数配方都支持禁用矿物字典检查,这可以通过附加实现

.setUseOreDict(boolean useOreDict)

在你添加了一个配方之后,一个例子:

mods.techreborn.alloySmelter.addRecipe(<minecraft:gold_ingot>, <minecraft:iron_ingot>, <minecraft:diamond>, 20, 100).setUseOreDict(false);

合金熔炼炉

mods.techreborn.alloySmelter.addRecipe(IItemStack output, IIngredient input1, IIngredient input2, int ticktime, int euTick)
mods.techreborn.alloySmelter.removeInputRecipe(IItemStack input1, IItemStack input2)
mods.techreborn.alloySmelter.removeRecipe(IItemStack output)
mods.techreborn.alloySmelter.removeAll()

装配机

mods.techreborn.assemblingMachine.addRecipe(IItemStack output, IIngredient input1, IIngredient input2, int ticktime, int euTick)
mods.techreborn.assemblingMachine.removeInputRecipe(IItemStack input1, IItemStack input2)
mods.techreborn.assemblingMachine.removeRecipe(IItemStack output)
mods.techreborn.assemblingMachine.removeAll()

高炉

mods.techreborn.blastFurnace.addRecipe(IItemStack output1, IItemStack output2, IIngredient input1, IIngredient input2, int ticktime, int euTick, int neededHeat)
mods.techreborn.blastFurnace.removeInputRecipe(IIngredient iIngredient)
mods.techreborn.blastFurnace.removeRecipe(IItemStack output)
mods.techreborn.blastFurnace.removeAll()

离心机

mods.techreborn.centrifuge.addRecipe(IItemStack output1, IItemStack output2, IItemStack output3, IItemStack output4, IIngredient input1, IIngredient input2, int ticktime, int euTick)
mods.techreborn.centrifuge.removeInputRecipe(IIngredient iIngredient)
mods.techreborn.centrifuge.removeRecipe(IItemStack output)
mods.techreborn.centrifuge.removeAll()

化学反应器

mods.techreborn.chemicalReactor.addRecipe(IItemStack output1, IIngredient input1, IIngredient input2, int ticktime, int euTick)
mods.techreborn.chemicalReactor.removeInputRecipe(IItemStack input1, IItemStack input2)
mods.techreborn.chemicalReactor.removeRecipe(IItemStack output)
mods.techreborn.chemicalReactor.removeAll()

压缩机

mods.techreborn.compressor.addRecipe(IItemStack output1, IIngredient input1, int ticktime, int euTick)
mods.techreborn.compressor.removeInputRecipe(IIngredient iIngredient)
mods.techreborn.compressor.removeRecipe(IItemStack output)
mods.techreborn.compressor.removeAll()

蒸馏塔

mods.techreborn.distillationTower.addRecipe(IItemStack output1, IItemStack output2, IItemStack output3, IItemStack output4, IIngredient input1, IIngredient input2, int ticktime, int euTick)
mods.techreborn.distillationTower.removeInputRecipe(IIngredient iIngredient)
mods.techreborn.distillationTower.removeRecipe(IItemStack output)
mods.techreborn.distillationTower.removeAll()

提取机

mods.techreborn.extractor.addRecipe(IItemStack output, IIngredient input1, int ticktime, int euTick)
mods.techreborn.extractor.removeInputRecipe(IItemStack input1)
mods.techreborn.extractor.removeRecipe(IItemStack output)
mods.techreborn.extractor.removeAll()

流体生成器(热能、气体、等离子体、柴油机)

mods.techreborn.fluidGen.addThermalFluid(ILiquidStack fluid, int energyPerMb)
mods.techreborn.fluidGen.addGasFluid(ILiquidStack fluid, int energyPerMb)
mods.techreborn.fluidGen.addSemiFluid(ILiquidStack fluid, int energyPerMb)
mods.techreborn.fluidGen.addDieselFluid(ILiquidStack fluid, int energyPerMb)
mods.techreborn.fluidGen.addPlasmaFluid(ILiquidStack fluid, int energyPerMb)
mods.techreborn.fluidGen.removeThermalFluid(ILiquidStack fluid)
mods.techreborn.fluidGen.removeGasFluid(ILiquidStack fluid)
mods.techreborn.fluidGen.removeSemiFluid(ILiquidStack fluid)
mods.techreborn.fluidGen.removeDieselFluid(ILiquidStack fluid)
mods.techreborn.fluidGen.removePlasmaFluid(ILiquidStack fluid)

聚变反应堆

mods.techreborn.fusionReactor.addRecipe(IIngredient topInput, IIngredient bottomInput, IItemStack output, int startEU, int euTick, int tickTime)
mods.techreborn.fusionReactor.removeTopInputRecipe(IIngredient iIngredient)
mods.techreborn.fusionReactor.removeBottomInputRecipe(IIngredient iIngredient)
mods.techreborn.fusionReactor.removeRecipe(IItemStack output)
mods.techreborn.fusionReactor.removeAll()

磨粉机

mods.techreborn.grinder.addRecipe(IItemStack output, IIngredient input1, int ticktime, int euTick)
mods.techreborn.grinder.removeInputRecipe(IIngredient iIngredient)
mods.techreborn.grinder.removeRecipe(IItemStack output)
mods.techreborn.grinder.removeAll()

聚爆压缩机

mods.techreborn.implosionCompressor.addRecipe(IItemStack output1, IItemStack output2, IIngredient input1, IIngredient input2, int ticktime, int euTick)
mods.techreborn.implosionCompressor.removeInputRecipe(IIngredient iIngredient)
mods.techreborn.implosionCompressor.removeRecipe(IItemStack output)
mods.techreborn.implosionCompressor.removeAll()

工业电解器

mods.techreborn.industrialElectrolyzer.addRecipe(IItemStack output1, IItemStack output2, IItemStack output3, IItemStack output4, IIngredient cells, IIngredient input2, int ticktime, int euTick)
mods.techreborn.industrialElectrolyzer.removeInputRecipe(IIngredient iIngredient)
mods.techreborn.industrialElectrolyzer.removeRecipe(IItemStack output)
mods.techreborn.industrialElectrolyzer.removeAll()

工业磨粉机

mods.techreborn.industrialGrinder.addRecipe(IItemStack output1, IItemStack output2, IItemStack output3, IItemStack output4, IIngredient input1, IIngredient input2, int ticktime, int euTick)
mods.techreborn.industrialGrinder.addRecipe(IItemStack output1, IItemStack output2, IItemStack output3, IItemStack output4, IIngredient input1, IIngredient input2, ILiquidStack fluid, int ticktime, int euTick)
mods.techreborn.industrialGrinder.removeInputRecipe(IIngredient iIngredient)
mods.techreborn.industrialGrinder.removeRecipe(IItemStack output)
mods.techreborn.industrialGrinder.removeAll()

锯木机

mods.techreborn.industrialSawmill.addRecipe(IItemStack output1, IItemStack output2, IItemStack output3, IIngredient input1, ILiquidStack fluid, int ticktime, int euTick)
mods.techreborn.industrialSawmill.addRecipe(IItemStack output1, IItemStack output2, IItemStack output3, IIngredient input1, int ticktime, int euTick)
mods.techreborn.industrialSawmill.addRecipe(IItemStack output1, IItemStack output2, IItemStack output3, IIngredient input1, int ticktime, int euTick, boolean useOreDic)
mods.techreborn.industrialSawmill.addRecipe(IItemStack output1, IItemStack output2, IItemStack output3, IIngredient input1, ILiquidStack fluid, int ticktime, int euTick, boolean useOreDic)
mods.techreborn.industrialSawmill.removeInputRecipe(IIngredient iIngredient)
mods.techreborn.industrialSawmill.removeRecipe(IItemStack output)
mods.techreborn.industrialSawmill.removeAll()

卷板机

mods.techreborn.plateBendingMachine.addRecipe(IItemStack output, IIngredient input1, int ticktime, int euTick)
mods.techreborn.plateBendingMachine.removeInputRecipe(IItemStack input1)
mods.techreborn.plateBendingMachine.removeRecipe(IItemStack output)
mods.techreborn.plateBendingMachine.removeAll()

辊压机

mods.techreborn.rollingMachine.addShaped(IItemStack output, IIngredient[][] ingredients)
mods.techreborn.rollingMachine.addShapeless(IItemStack output, IIngredient[] ingredients)
mods.techreborn.rollingMachine.removeRecipe(IItemStack output)
mods.techreborn.rollingMachine.removeAll()

固体装罐机

mods.techreborn.solidCanningMachine.addRecipe(IItemStack output1, IIngredient input1, IIngredient input2, int ticktime, int euTick)
mods.techreborn.solidCanningMachine.removeInputRecipe(IItemStack input1, IItemStack input2)
mods.techreborn.solidCanningMachine.removeRecipe(IItemStack output)
mods.techreborn.solidCanningMachine.removeAll()

废料拆包机

mods.techreborn.scrapbox.addScrapboxDrop(IIngredient input)
mods.techreborn.scrapbox.removeRecipe(IItemStack output)
mods.techreborn.scrapbox.removeAll()

真空冷凝器

mods.techreborn.vacuumFreezer.addRecipe(IItemStack output, IIngredient input, int ticktime, int euTick)
mods.techreborn.vacuumFreezer.removeInputRecipe(IIngredient iIngredient)
mods.techreborn.vacuumFreezer.removeRecipe(IItemStack output)
mods.techreborn.vacuumFreezer.removeAll()

线材轧机

mods.techreborn.wireMill.addRecipe(IItemStack output, IIngredient input1, int ticktime, int euTick)
mods.techreborn.wireMill.removeInputRecipe(IItemStack input1)
mods.techreborn.wireMill.removeRecipe(IItemStack output)
mods.techreborn.wireMill.removeAll()

Fluid Replicator