Jump to content

Disabling a Running Mod


OnePound

Recommended Posts

Hey, does anyone know how to access a list of running mods, or really just any way that you can stop one from running via the forge api?

 

I need something along the lines of Minecraft.getMods().disable(modID). 

I'll only need this to disable my own mod, which I have implemented in other ways anyway, but it still appears on the mod list, so if there isn't a way to do the above, I could settle for just removing it from the mod list


Thanks in advance

Edited by OnePound
Link to comment
Share on other sites

23 hours ago, OnePound said:

I want to be able to simulate the mod not being present - just OCD really.

That is a really bad idea.

If your mod does nothing, there's no point having it installed.

If your mod does something, it should show up in the mod list. Otherwise, if there is a strange interaction between your mod and another one, it becomes very hard to find the problem (because the users don't know they have your mod installed).

Edited by Alpvax
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.