Search in sources :

Example 1 with ExtractorRecipe

use of techreborn.api.recipe.machines.ExtractorRecipe in project TechReborn by TechReborn.

the class CTExtractor method addRecipe.

@ZenMethod
public static void addRecipe(IItemStack output, IIngredient input1, int ticktime, int euTick) {
    Object oInput1 = CraftTweakerCompat.toObject(input1);
    ExtractorRecipe r = new ExtractorRecipe(oInput1, CraftTweakerCompat.toStack(output), ticktime, euTick);
    addRecipe(r);
}
Also used : ExtractorRecipe(techreborn.api.recipe.machines.ExtractorRecipe) ZenMethod(stanhebben.zenscript.annotations.ZenMethod)

Aggregations

ZenMethod (stanhebben.zenscript.annotations.ZenMethod)1 ExtractorRecipe (techreborn.api.recipe.machines.ExtractorRecipe)1