Search in sources :

Example 1 with VacuumFreezerRecipe

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

the class ModRecipes method addVacuumFreezerRecipes.

static void addVacuumFreezerRecipes() {
    RecipeHandler.addRecipe(new VacuumFreezerRecipe(new ItemStack(Blocks.ICE, 2), new ItemStack(Blocks.PACKED_ICE), 60, 100));
    RecipeHandler.addRecipe(new VacuumFreezerRecipe(ItemIngots.getIngotByName("hot_tungstensteel"), ItemIngots.getIngotByName("tungstensteel"), 440, 120));
    RecipeHandler.addRecipe(new VacuumFreezerRecipe(ItemCells.getCellByName("heliumplasma"), ItemCells.getCellByName("helium"), 440, 128));
    RecipeHandler.addRecipe(new VacuumFreezerRecipe(ItemCells.getCellByName("water"), ItemCells.getCellByName("cell"), 60, 87));
}
Also used : VacuumFreezerRecipe(techreborn.api.recipe.machines.VacuumFreezerRecipe) ItemStack(net.minecraft.item.ItemStack)

Example 2 with VacuumFreezerRecipe

use of techreborn.api.recipe.machines.VacuumFreezerRecipe 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 3 with VacuumFreezerRecipe

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

the class MTVacuumFreezer method addRecipe.

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

Aggregations

VacuumFreezerRecipe (techreborn.api.recipe.machines.VacuumFreezerRecipe)3 ItemStack (net.minecraft.item.ItemStack)2 ZenMethod (stanhebben.zenscript.annotations.ZenMethod)2 IItemStack (minetweaker.api.item.IItemStack)1