aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/railcraft/utils/RailcraftUtils.java
blob: 07a9fda03cbec14233ca68919b6c734d2d70a9c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package gtPlusPlus.xmod.railcraft.utils;

import mods.railcraft.common.util.crafting.BlastFurnaceCraftingManager;
import mods.railcraft.common.util.crafting.CokeOvenCraftingManager;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fluids.FluidStack;

public class RailcraftUtils {

    public static void addCokeOvenRecipe(
            ItemStack input,
            boolean matchDamage,
            boolean matchNBT,
            ItemStack output,
            FluidStack fluidOutput,
            int cookTime) {
        CokeOvenCraftingManager.getInstance().addRecipe(input, matchDamage, matchNBT, output, fluidOutput, cookTime);
    }

    public static void addAdvancedCokeOvenRecipe(
            ItemStack input, boolean matchDamage, boolean matchNBT, ItemStack output, int cookTime) {
        BlastFurnaceCraftingManager.getInstance().addRecipe(input, matchDamage, matchNBT, cookTime, output);
    }
}