use of gregtech.api.recipes.recipes.FuelRecipe in project GregTech by GregTechCE.
the class FuelRecipeMap method findRecipe.
public FuelRecipe findRecipe(long maxVoltage, FluidStack inputFluid) {
if (inputFluid == null)
return null;
FluidKey fluidKey = new FluidKey(inputFluid);
FuelRecipe fuelRecipe = recipeFluidMap.get(fluidKey);
return fuelRecipe != null && fuelRecipe.matches(maxVoltage, inputFluid) ? fuelRecipe : null;
}
Aggregations