|
||||||||||
| 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 ModContainerpublic List<ArtifactVersion> getDependants()
ModContainer
getDependants in interface ModContainerpublic List<ArtifactVersion> getDependencies()
ModContainer
getDependencies in interface ModContainerpublic Set<ArtifactVersion> getRequirements()
ModContainer
getRequirements in interface ModContainerpublic ModMetadata getMetadata()
ModContainer
getMetadata in interface ModContainerpublic Object getMod()
ModContainer
getMod in interface ModContainerpublic String getModId()
ModContainer
getModId in interface ModContainerpublic String getName()
ModContainer
getName in interface ModContainerpublic String getSortingRules()
ModContainer
getSortingRules in interface ModContainerpublic File getSource()
ModContainer
getSource in interface ModContainerpublic String getVersion()
ModContainer
getVersion in interface ModContainerpublic boolean matches(Object mod)
ModContainer
matches in interface ModContainerpublic void setEnabledState(boolean enabled)
ModContainer
setEnabledState in interface ModContainer
public boolean registerBus(com.google.common.eventbus.EventBus bus,
LoadController controller)
ModContainer
registerBus in interface ModContainerpublic ArtifactVersion getProcessedVersion()
getProcessedVersion in interface ModContainerpublic boolean isImmutable()
isImmutable in interface ModContainerpublic boolean isNetworkMod()
isNetworkMod in interface ModContainerpublic String getDisplayVersion()
getDisplayVersion in interface ModContainerpublic VersionRange acceptableMinecraftVersionRange()
acceptableMinecraftVersionRange in interface ModContainerpublic Certificate getSigningCertificate()
getSigningCertificate in interface ModContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||