BiomesOPlenty/common/biomesoplenty/integration/BOPCrossIntegration.java

116 lines
2.9 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);
}
}
2013-10-21 18:05:20 +00:00
2013-10-22 06:06:54 +00:00
2013-10-21 18:05:20 +00:00
if (Loader.isModLoaded("ATG"))
{
try {
ATGIntegration.init();
}
catch (Exception e) {
System.out.println("[BiomesOPlenty] There was an error while integrating Alternate Terrain Generation with Biomes O' Plenty!");
e.printStackTrace(System.err);
}
}
2013-10-22 06:06:54 +00:00
2013-10-22 06:05:01 +00:00
if (Loader.isModLoaded("MineFactoryReloaded"))
2013-10-22 06:06:54 +00:00
{
try {
MFRIntegration.init();
}
catch (Exception e) {
System.out.println("[BiomesOPlenty] There was an error while integrating MineFactory Reloaded with Biomes O' Plenty!");
e.printStackTrace(System.err);
}
}
2013-05-03 13:00:44 +00:00
}
}