use of blusunrize.immersiveengineering.api.crafting.BottlingMachineRecipe in project ImmersiveEngineering by BluSunrize.
the class BottlingMachine method addRecipe.
@ZenMethod
public static void addRecipe(IItemStack output, IIngredient input, ILiquidStack fluid) {
Object oInput = CraftTweakerHelper.toObject(input);
if (oInput == null || output == null || fluid == null)
return;
BottlingMachineRecipe r = new BottlingMachineRecipe(CraftTweakerHelper.toStack(output), oInput, CraftTweakerHelper.toFluidStack(fluid));
MineTweakerAPI.apply(new Add(r));
}
Aggregations