2013-05-03 13:00:44 +00:00
|
|
|
package biomesoplenty.integration;
|
|
|
|
|
|
|
|
import cpw.mods.fml.common.Loader;
|
|
|
|
|
|
|
|
public class BOPCrossIntegration {
|
2013-06-21 05:36:29 +00:00
|
|
|
|
|
|
|
public static void preInit()
|
|
|
|
{
|
|
|
|
}
|
2013-05-31 10:34:02 +00:00
|
|
|
|
2013-05-03 13:00:44 +00:00
|
|
|
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-06-21 05:36:29 +00:00
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
}
|
2013-09-09 11:15:43 +00:00
|
|
|
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 {
|
2013-10-10 09:06:29 +00:00
|
|
|
// 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
|
|
|
}
|
|
|
|
}
|