2013-05-03 13:00:44 +00:00
|
|
|
package biomesoplenty.integration;
|
|
|
|
|
|
|
|
import cpw.mods.fml.common.Loader;
|
|
|
|
|
|
|
|
public class BOPCrossIntegration {
|
|
|
|
|
|
|
|
public static void init()
|
|
|
|
{
|
2013-05-15 10:13:52 +00:00
|
|
|
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();
|
|
|
|
}
|
|
|
|
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("BWG4"))
|
|
|
|
{
|
|
|
|
try {
|
|
|
|
BWG4Integration.init();
|
|
|
|
}
|
|
|
|
catch (Exception e) {
|
|
|
|
System.out.println("[BiomesOPlenty] There was an error while integrating Better World Generation 4 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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (Loader.isModLoaded("ThermalExpansion"))
|
|
|
|
{
|
|
|
|
try {
|
|
|
|
TEIntegration.init();
|
|
|
|
}
|
|
|
|
catch (Exception e) {
|
|
|
|
System.out.println("[BiomesOPlenty] There was an error while integrating Thermal Expansion with Biomes O' Plenty!");
|
|
|
|
e.printStackTrace(System.err);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|