|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcpw.mods.fml.common.DummyModContainer
public class DummyModContainer
Constructor Summary | |
---|---|
DummyModContainer()
|
|
DummyModContainer(ModMetadata md)
|
Method Summary | |
---|---|
VersionRange |
acceptableMinecraftVersionRange()
|
void |
bindMetadata(MetadataCollection mc)
Attach this mod to it's metadata from the supplied metadata collection |
List<ArtifactVersion> |
getDependants()
A list of modids that should be loaded after this one. |
List<ArtifactVersion> |
getDependencies()
A list of modids that should be loaded prior to this one. |
String |
getDisplayVersion()
|
ModMetadata |
getMetadata()
The metadata for this mod |
Object |
getMod()
Get the actual mod object |
String |
getModId()
The globally unique modid for this mod |
String |
getName()
A human readable name |
ArtifactVersion |
getProcessedVersion()
|
Set<ArtifactVersion> |
getRequirements()
A list of the modids that this mod requires loaded prior to loading |
Certificate |
getSigningCertificate()
|
String |
getSortingRules()
A representative string encapsulating the sorting preferences for this mod |
File |
getSource()
The location on the file system which this mod came from |
String |
getVersion()
A human readable version identifier |
boolean |
isImmutable()
|
boolean |
isNetworkMod()
|
boolean |
matches(Object mod)
Does this mod match the supplied mod |
boolean |
registerBus(com.google.common.eventbus.EventBus bus,
LoadController controller)
Register the event bus for the mod and the controller for error handling Returns if this bus was successfully registered - disabled mods and other mods that don't need real events should return false and avoid further processing |
void |
setEnabledState(boolean enabled)
Set the enabled/disabled state of this mod |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DummyModContainer(ModMetadata md)
public DummyModContainer()
Method Detail |
---|
public void bindMetadata(MetadataCollection mc)
ModContainer
bindMetadata
in interface ModContainer
public List<ArtifactVersion> getDependants()
ModContainer
getDependants
in interface ModContainer
public List<ArtifactVersion> getDependencies()
ModContainer
getDependencies
in interface ModContainer
public Set<ArtifactVersion> getRequirements()
ModContainer
getRequirements
in interface ModContainer
public ModMetadata getMetadata()
ModContainer
getMetadata
in interface ModContainer
public Object getMod()
ModContainer
getMod
in interface ModContainer
public String getModId()
ModContainer
getModId
in interface ModContainer
public String getName()
ModContainer
getName
in interface ModContainer
public String getSortingRules()
ModContainer
getSortingRules
in interface ModContainer
public File getSource()
ModContainer
getSource
in interface ModContainer
public String getVersion()
ModContainer
getVersion
in interface ModContainer
public boolean matches(Object mod)
ModContainer
matches
in interface ModContainer
public void setEnabledState(boolean enabled)
ModContainer
setEnabledState
in interface ModContainer
public boolean registerBus(com.google.common.eventbus.EventBus bus, LoadController controller)
ModContainer
registerBus
in interface ModContainer
public ArtifactVersion getProcessedVersion()
getProcessedVersion
in interface ModContainer
public boolean isImmutable()
isImmutable
in interface ModContainer
public boolean isNetworkMod()
isNetworkMod
in interface ModContainer
public String getDisplayVersion()
getDisplayVersion
in interface ModContainer
public VersionRange acceptableMinecraftVersionRange()
acceptableMinecraftVersionRange
in interface ModContainer
public Certificate getSigningCertificate()
getSigningCertificate
in interface ModContainer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |