aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/util/HotFuel.java
blob: 6054a57b8404c31a4b78804bf695692cb7a77489 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package gregtech.api.util;

import net.minecraft.item.ItemStack;
import net.minecraftforge.fluids.FluidStack;

import gtPlusPlus.api.recipe.GTPPRecipeMaps;

public class HotFuel {

    public static void addNewHotFuel(FluidStack aInput1, FluidStack aOutput1, ItemStack[] outputItems, int[] chances,
        int aSpecialValue) {
        GTPPRecipeMaps.thermalBoilerRecipes.addRecipe(
            true,
            null,
            outputItems,
            null,
            chances,
            new FluidStack[] { aInput1 },
            new FluidStack[] { aOutput1 },
            1, // 1 Tick
            0, // No Eu produced
            aSpecialValue // Magic Number
        );
    }

    public static void addNewHotFuel(FluidStack aInput1, FluidStack aOutput1, FluidStack aOutput2, int aSpecialValue) {
        GTPPRecipeMaps.thermalBoilerRecipes.addRecipe(
            false,
            null,
            null,
            null,
            null,
            new FluidStack[] { aInput1 },
            new FluidStack[] { aOutput1, aOutput2 },
            20, // 1 Second
            0, // No Eu produced
            aSpecialValue // Magic Number
        );
    }
}