mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-24 22:14:38 +00:00
Shit, I did it again.
Cleaning up old TC3 stuff, preparing to try integrating TC4. Cleaning up helper stuff so it is more consistent & straightforward.
This commit is contained in:
1 parent
e23ebd1011
commit
3d75e97b20
39 files changed
+513
-973
No files matched your search
@@ -14,7 +14,7 @@ public class EquivalentExchangeHelper
|
||||
return isEquivalentExchangePresent;
|
||||
}
|
||||
|
||||
public static void init()
|
||||
public static void preInit()
|
||||
{
|
||||
if (Loader.isModLoaded("EE3"))
|
||||
{
|
||||
@@ -22,27 +22,29 @@ public class EquivalentExchangeHelper
|
||||
}
|
||||
}
|
||||
|
||||
public static void getBlocks()
|
||||
public static void init()
|
||||
{
|
||||
if (isActive())
|
||||
{
|
||||
|
||||
getBlocks();
|
||||
getItems();
|
||||
}
|
||||
}
|
||||
|
||||
public static void getItems()
|
||||
public static void postInit() {}
|
||||
|
||||
private static void getBlocks() {}
|
||||
|
||||
private static void getItems()
|
||||
{
|
||||
if (isActive())
|
||||
try
|
||||
{
|
||||
try
|
||||
{
|
||||
Class itemClass = Class.forName("com.pahimar.ee3.item.ModItems");
|
||||
Config.eeMinuimShard = (Item)(itemClass.getField("miniumShard").get(null));
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
FMLLog.info("Could not get Equivalent Exchange items.");
|
||||
}
|
||||
Class itemClass = Class.forName("com.pahimar.ee3.item.ModItems");
|
||||
Config.eeMinuimShard = (Item)(itemClass.getField("miniumShard").get(null));
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
FMLLog.info("Could not get Equivalent Exchange items.");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user