Code to disable mods at runtime, or other times.

This commit is contained in:
Christian committed 2013-12-17 10:51:00 -05:00
1 parent 32561265fc
commit a17489172c
8 files changed
+120 -24

No files matched your search

@@ -39,6 +39,9 @@ import cpw.mods.fml.common.versioning.VersionRange;
public interface ModContainer
{
public static enum Disableable {
YES, RESTART, NEVER, DEPENDENCIES;
}
/**
* The globally unique modid for this mod
*/
@@ -126,8 +129,6 @@ public interface ModContainer
boolean isImmutable();
boolean isNetworkMod();
String getDisplayVersion();
VersionRange acceptableMinecraftVersionRange();
@@ -140,4 +141,6 @@ public interface ModContainer
public Class<?> getCustomResourcePackClass();
Map<String, String> getSharedModDescriptor();
Disableable canBeDisabled();
}