package com.yolp900.itsjustacharm.common.integration;
import com.yolp900.itsjustacharm.common.integration.waila.WailaIntegration;
import com.yolp900.itsjustacharm.config.ModConfigs;
import com.yolp900.itsjustacharm.reference.LibModIntegrations;
import net.minecraftforge.fml.common.Loader;
public class ModIntegrations {
public static boolean waila = false;
public static boolean jei = false;
public static void preInit() {
waila = Loader.isModLoaded(LibModIntegrations.Waila.MOD_ID);
jei = Loader.isModLoaded(LibModIntegrations.JEI.MOD_ID);
}
public static void init() {
if (waila && ModConfigs.WAILAIntegration.getValueB()) {
WailaIntegration.init();
}
}
public static void postInit() {
}
}