Refactored mod helper handling to use an interface and automatically grab all of them after registration.

Added placeholder effect allele so if any 'oddness' happens when mods are added/removed or compat switched on/off bees won't lose their effects or crash the world.
Removed classes no longer used (BlockPlanks, BlockSlab). cya cya cya
Added alleles for Blitz & Basalz spawning in anticipation of the relevant bees.
This commit is contained in:
MysteriousAges committed 2015-09-26 02:23:02 -07:00
1 parent 8d65e675d1
commit 4d2ea94b76
22 files changed
+359 -557

No files matched your search

@@ -3,7 +3,7 @@ package magicbees.main.utils.compat;
import magicbees.main.Config;
import cpw.mods.fml.common.Loader;
public class ExtraBeesHelper {
public class ExtraBeesHelper implements IModHelper {
public enum CombType {
BARREN,
@@ -96,16 +96,15 @@ public class ExtraBeesHelper {
return isEBPresent;
}
public static void preInit() {
if (Loader.isModLoaded("ExtraBees") && Config.extraBeesActive)
{
public void preInit() {
if (Loader.isModLoaded("ExtraBees") && Config.extraBeesActive) {
isEBPresent = true;
}
}
public static void init() {
public void init() {
}
public static void postInit() {
public void postInit() {
}
}