public class FMLModContainer extends Object implements ModContainer
| Constructor and Description | 
|---|
FMLModContainer(String className,
                              File modSource,
                              Map<String,Object> modDescriptor)  | 
| Modifier and Type | Method and Description | 
|---|---|
VersionRange | 
acceptableMinecraftVersionRange()  | 
void | 
bindMetadata(MetadataCollection mc)
Attach this mod to it's metadata from the supplied metadata collection 
 | 
void | 
constructMod(FMLConstructionEvent event)  | 
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 
 | 
void | 
handleModStateEvent(FMLEvent event)  | 
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 
 | 
Properties | 
searchForVersionProperties()  | 
void | 
setEnabledState(boolean enabled)
Set the enabled/disabled state of this mod 
 | 
String | 
toString()  | 
public String getModId()
ModContainergetModId in interface ModContainerpublic String getName()
ModContainergetName in interface ModContainerpublic String getVersion()
ModContainergetVersion in interface ModContainerpublic File getSource()
ModContainergetSource in interface ModContainerpublic ModMetadata getMetadata()
ModContainergetMetadata in interface ModContainerpublic void bindMetadata(MetadataCollection mc)
ModContainerbindMetadata in interface ModContainerpublic Properties searchForVersionProperties()
public void setEnabledState(boolean enabled)
ModContainersetEnabledState in interface ModContainerpublic Set<ArtifactVersion> getRequirements()
ModContainergetRequirements in interface ModContainerpublic List<ArtifactVersion> getDependencies()
ModContainergetDependencies in interface ModContainerpublic List<ArtifactVersion> getDependants()
ModContainergetDependants in interface ModContainerpublic String getSortingRules()
ModContainergetSortingRules in interface ModContainerpublic boolean matches(Object mod)
ModContainermatches in interface ModContainerpublic Object getMod()
ModContainergetMod in interface ModContainerpublic boolean registerBus(com.google.common.eventbus.EventBus bus, LoadController controller)
ModContainerregisterBus in interface ModContainerpublic void constructMod(FMLConstructionEvent event)
public void handleModStateEvent(FMLEvent event)
public 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