BiomesOPlenty/common/biomesoplenty/integration/BOPCrossIntegration.java

93 lines
2.3 KiB
Java
Raw Normal View History

2013-05-03 13:00:44 +00:00
package biomesoplenty.integration;
import cpw.mods.fml.common.Loader;
public class BOPCrossIntegration {
public static void preInit()
{
}
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
public static void init()
{
if (Loader.isModLoaded("BuildCraft|Transport"))
{
try {
BCIntegration.init();
}
catch (Exception e) {
System.out.println("[BiomesOPlenty] There was an error while integrating BuildCraft|Transport with Biomes O' Plenty!");
e.printStackTrace(System.err);
}
}
2013-05-03 13:00:44 +00:00
if (Loader.isModLoaded("Thaumcraft"))
{
try {
ThaumcraftIntegration.init();
2013-06-04 20:21:06 +00:00
}
catch (Exception e) {
System.out.println("[BiomesOPlenty] There was an error while integrating Thaumcraft with Biomes O' Plenty!");
e.printStackTrace(System.err);
}
}
2013-06-05 05:15:15 +00:00
if (Loader.isModLoaded("TreeCapitator"))
{
try {
TreeCapitatorIntegration.init();
}
catch (Exception e) {
System.out.println("[BiomesOPlenty] There was an error while integrating TreeCapitator with Biomes O' Plenty!");
e.printStackTrace(System.err);
}
}
if (Loader.isModLoaded("ForgeMicroblock"))
{
try {
MultipartIntegration.init();
}
catch (Exception e) {
System.out.println("[BiomesOPlenty] There was an error while integrating Forge Multipart with Biomes O' Plenty!");
e.printStackTrace(System.err);
}
}
2013-06-04 20:21:06 +00:00
}
public static void postInit()
{
if (Loader.isModLoaded("Thaumcraft"))
{
try {
ThaumcraftIntegration.postInit();
2013-05-03 13:00:44 +00:00
}
catch (Exception e) {
System.out.println("[BiomesOPlenty] There was an error while integrating Thaumcraft with Biomes O' Plenty!");
e.printStackTrace(System.err);
}
}
if (Loader.isModLoaded("Forestry"))
{
try {
ForestryIntegration.init();
}
catch (Exception e) {
System.out.println("[BiomesOPlenty] There was an error while integrating Forestry with Biomes O' Plenty!");
e.printStackTrace(System.err);
}
}
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
if (Loader.isModLoaded("ThermalExpansion"))
{
try {
// TEIntegration.init();
2013-05-03 13:00:44 +00:00
}
catch (Exception e) {
System.out.println("[BiomesOPlenty] There was an error while integrating Thermal Expansion with Biomes O' Plenty!");
e.printStackTrace(System.err);
}
}
}
}