mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 06:53:20 +00:00
Code to disable mods at runtime, or other times.
This commit is contained in:
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();
|
||||
}
|
||||
Reference in new issue
Block a user