use of binnie.extratrees.machines.brewery.recipes.BrewedGrainRecipe in project Binnie by ForestryMC.
the class BreweryRecipeHandler method addGrainRecipe.
@ZenMethod
public static void addGrainRecipe(IOreDictEntry grainOreName, ILiquidStack output, @Optional IOreDictEntry ingredientOreName, @Optional IItemStack yeast) {
FluidStack outputStack = CraftTweakerUtil.getLiquidStack(output);
ItemStack yeastStack = ExtraTreeItems.YEAST.get(1);
if (yeast != null) {
yeastStack = CraftTweakerUtil.getItemStack(yeast);
}
addRecipe(new BrewedGrainRecipe(outputStack, grainOreName.getName(), ingredientOreName.getName(), yeastStack), ExtraTreesRecipeManager.breweryManager);
}
Aggregations