mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-25 14:44:35 +00:00
Add CTMLib files
This commit is contained in:
1 parent
b4165072a7
commit
d05e019479
13 files changed
+1680
No files matched your search
@@ -0,0 +1,18 @@
|
||||
package team.chisel.ctmlib;
|
||||
|
||||
import cpw.mods.fml.common.ModAPIManager;
|
||||
|
||||
public class CTMLib {
|
||||
|
||||
public static final String VERSION = "GRADLETOKEN_VERSION";
|
||||
|
||||
private static boolean chiselPresent, chiselInitialized;
|
||||
|
||||
public static boolean chiselLoaded() {
|
||||
if (!chiselInitialized) {
|
||||
chiselInitialized = true;
|
||||
chiselPresent = ModAPIManager.INSTANCE.hasAPI("ChiselAPI");
|
||||
}
|
||||
return chiselPresent;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user