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