(String modid)
| 33 | public static void fmlPreInit() {} |
| 34 | |
| 35 | public static boolean isBcMod(String modid) { |
| 36 | if (!modid.startsWith(MODID_START)) return false; |
| 37 | String post = modid.substring(MODID_START.length()); |
| 38 | for (BCModules module : VALUES) { |
| 39 | if (post.equals(module.part)) { |
| 40 | return true; |
| 41 | } |
| 42 | } |
| 43 | return false; |
| 44 | } |
| 45 | |
| 46 | public boolean isLoaded() { |
| 47 | return Loader.isModLoaded(modid); |