2018-10-19 14:35:25 +02:00
|
|
|
package de.ellpeck.naturesaura.compat;
|
|
|
|
|
2018-10-22 00:14:52 +02:00
|
|
|
import de.ellpeck.naturesaura.compat.patchouli.PatchouliCompat;
|
2018-10-19 14:35:25 +02:00
|
|
|
import net.minecraftforge.common.MinecraftForge;
|
|
|
|
import net.minecraftforge.fml.common.Loader;
|
|
|
|
|
|
|
|
public final class Compat {
|
|
|
|
|
2018-10-22 00:14:52 +02:00
|
|
|
public static boolean patchouli;
|
2018-10-19 14:35:25 +02:00
|
|
|
public static boolean baubles;
|
|
|
|
|
|
|
|
public static void init() {
|
|
|
|
baubles = Loader.isModLoaded("baubles");
|
|
|
|
if (baubles) {
|
|
|
|
MinecraftForge.EVENT_BUS.register(new BaublesCompat());
|
|
|
|
}
|
2018-10-22 00:14:52 +02:00
|
|
|
|
|
|
|
patchouli = Loader.isModLoaded("patchouli");
|
|
|
|
if (patchouli) {
|
|
|
|
PatchouliCompat.init();
|
|
|
|
}
|
2018-10-19 14:35:25 +02:00
|
|
|
}
|
|
|
|
}
|