Search in sources :

Example 86 with ZenMethod

use of stanhebben.zenscript.annotations.ZenMethod in project TechReborn by TechReborn.

the class CTVacuumFreezer method addRecipe.

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

Example 87 with ZenMethod

use of stanhebben.zenscript.annotations.ZenMethod in project TechReborn by TechReborn.

the class CTChemicalReactor method addRecipe.

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

Example 88 with ZenMethod

use of stanhebben.zenscript.annotations.ZenMethod in project TechReborn by TechReborn.

the class CTCompressor method addRecipe.

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

Example 89 with ZenMethod

use of stanhebben.zenscript.annotations.ZenMethod in project TechReborn by TechReborn.

the class CTDistillationTower method addRecipe.

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

Example 90 with ZenMethod

use of stanhebben.zenscript.annotations.ZenMethod 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)108 ItemStack (net.minecraft.item.ItemStack)47 IItemStack (minetweaker.api.item.IItemStack)28 IItemStack (crafttweaker.api.item.IItemStack)16 FluidStack (net.minecraftforge.fluids.FluidStack)10 PharmacologyEffect (minechem.potion.PharmacologyEffect)6 NetRecipe (betterwithaddons.crafting.recipes.NetRecipe)3 IEnchantment (crafttweaker.api.enchantments.IEnchantment)3 PotionChemical (minechem.potion.PotionChemical)3 MineTweakerMC.getItemStack (minetweaker.api.minecraft.MineTweakerMC.getItemStack)3 CherryBoxRecipe (betterwithaddons.crafting.recipes.CherryBoxRecipe)2 GristSet (com.mraof.minestuck.util.GristSet)2 IAction (crafttweaker.IAction)2 EnchantmentData (gregtech.api.enchants.EnchantmentData)2 FluidType (gregtech.api.fluids.fluidType.FluidType)2 FluidKey (gregtech.api.recipes.FluidKey)2 ArrayList (java.util.ArrayList)2 ChemicalRoomStateEnum (minechem.item.ChemicalRoomStateEnum)2 Block (net.minecraft.block.Block)2 Enchantment (net.minecraft.enchantment.Enchantment)2