Posted October 3, 201312 yr With Loader.isModLoaded() can I use version checking strings like in dependencies? For example: boolean isCCLoaded = Loader.isModLoaded("ComputerCraft@[1.56,"); Would this work or do I need to check the version after I know that the mod is loaded? If you guys dont get it.. then well ya.. try harder... Source of all my public mods are available on my Github. Go there and look for a snippet if you're stuck with something.
October 3, 201312 yr If you use eclipse, it will tell you the possible args, also if you use eclipse you can open the "Loader" class and look at its code...
October 4, 201312 yr No, this is based on modid. Use Loader#getModList(), this will give you the complete list of ModContainer. Then you can check whatever you want inside that.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.