mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-17 02:55:19 +00:00
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:
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() {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user