mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-15 01:25:04 +00:00
begin work
This commit is contained in:
commit
db2ad29b52
124 files changed
+11799
No files matched your search
@@ -0,0 +1,30 @@
|
||||
package com.glodblock.github.util;
|
||||
|
||||
import appeng.api.config.ActionItems;
|
||||
import cpw.mods.fml.common.Loader;
|
||||
|
||||
public final class ModAndClassUtil {
|
||||
|
||||
public static boolean GT5 = false;
|
||||
public static boolean GT6 = false;
|
||||
|
||||
public static boolean isDoubleButton;
|
||||
|
||||
public static void init() {
|
||||
try {
|
||||
ActionItems x = ActionItems.DOUBLE;
|
||||
isDoubleButton = true;
|
||||
} catch (Exception e) {
|
||||
isDoubleButton = false;
|
||||
}
|
||||
|
||||
if (Loader.isModLoaded("gregtech") && !Loader.isModLoaded("gregapi"))
|
||||
GT5 = true;
|
||||
if (Loader.isModLoaded("gregapi") && Loader.isModLoaded("gregapi_post"))
|
||||
GT6 = true;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user