aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/forestry/ForestryHandler.java
blob: 963c793cee174c47ed477bc3d395da4d76ff417f (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.forestry;

import static gregtech.api.enums.Mods.Forestry;

import gtPlusPlus.xmod.forestry.bees.items.FRItemRegistry;
import gtPlusPlus.xmod.forestry.bees.recipe.FRGregTechRecipes;
import gtPlusPlus.xmod.forestry.bees.registry.GTPP_Bees;

public class ForestryHandler {

    public static void preInit() {
        if (Forestry.isModLoaded()) {
            FRItemRegistry.Register();
        }
    }

    public static void postInit() {
        if (Forestry.isModLoaded()) {
            FRGregTechRecipes.registerItems();
            new GTPP_Bees();
        }
    }

}