Search in sources :

Example 1 with ImplosionCompressorRecipe

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

the class CTImplosionCompressor method addRecipe.

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

Aggregations

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