BiomesOPlenty/src/minecraft/biomesoplenty/integration/BOPCrossIntegration.java

54 lines
1.2 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 init()
{
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);
}
}
}
}