Merge CTMLib

This commit is contained in:
Jason Mitchell authored and Jason Mitchell committed 2024-02-20 08:25:02 -08:00
1 parent 83cd16061f
commit e9e63d6fc5
14 files changed
+1739 -2

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;
}
}