Java Examples for modtweaker.mods.forestry.recipes.MoistenerRecipe
The following java examples will help you to understand the usage of modtweaker.mods.forestry.recipes.MoistenerRecipe. These source code samples are taken from different open source projects.
Example 1
| Project: ModTweaker-master File: Moistener.java View source code |
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* Adds recipe to Moistener
*
* @param output recipe product
* @param input required item
* @param packagingTime amount of ticks per crafting operation
*/
@ZenMethod
public static void addRecipe(IItemStack output, IItemStack input, int packagingTime) {
MineTweakerAPI.apply(new Add(new MoistenerRecipe(toStack(input), toStack(output), packagingTime)));
}