CrT官方Wiki相关内容已失效

对于

  • 柴油发电机: diesel_generator

  • 燃气轮机: gas_turbine

  • 蒸汽轮机: steam_turbine

  • 等离子发电机: plasma_generator

  • 半流质发电机: semi_fluid_generator

使用

import mods.gregtech.recipe.FuelRecipeMap;
import mods.gregtech.recipe.FuelRecipe;
 mods.gregtech.recipe.FuelRecipeMap.getByName("机器编号").addRecipe(mods.gregtech.recipe.FuelRecipe.create( ILiquidStack 流体燃料, int 持续时间, long 最小电压));

添加配方

使用

 mods.gregtech.recipe.FuelRecipeMap.getByName("机器编号").addRecipe(mods.gregtech.recipe.FuelRecipe.findRecipe(long 最大的最小电压, ILiquidStack 流体燃料));

获取配方


使用

 mods.gregtech.recipe.FuelRecipeMap.getByName("机器编号").addRecipe(FuelRecipe 配方)

删除配方


使用

 mods.gregtech.recipe.FuelRecipeMap.getByName("机器编号").getRecipeList()

获取指定机器全部配方


使用

FuelRecipe 配方.duration()
FuelRecipe 配方.minVoltage()
FuelRecipe 配方.fluid()

获取指定配方的各种属性