YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
cpw.mods.fml.common.ModContainer Interface Reference
Inheritance diagram for cpw.mods.fml.common.ModContainer:
cpw.mods.fml.common.DummyModContainer cpw.mods.fml.common.FMLModContainer cpw.mods.fml.common.InjectedModContainer cpw.mods.fml.common.modloader.ModLoaderModContainer cpw.mods.fml.common.FMLDummyContainer cpw.mods.fml.common.MCPDummyContainer cpw.mods.fml.common.MinecraftDummyContainer net.minecraftforge.common.ForgeDummyContainer

Public Member Functions

String getModId ()
 
String getName ()
 
String getVersion ()
 
File getSource ()
 
ModMetadata getMetadata ()
 
void bindMetadata (MetadataCollection mc)
 
void setEnabledState (boolean enabled)
 
Set< ArtifactVersiongetRequirements ()
 
List< ArtifactVersiongetDependencies ()
 
List< ArtifactVersiongetDependants ()
 
String getSortingRules ()
 
boolean registerBus (EventBus bus, LoadController controller)
 
boolean matches (Object mod)
 
Object getMod ()
 
ArtifactVersion getProcessedVersion ()
 
boolean isImmutable ()
 
boolean isNetworkMod ()
 
String getDisplayVersion ()
 
VersionRange acceptableMinecraftVersionRange ()
 
Certificate getSigningCertificate ()
 

Detailed Description

The container that wraps around mods in the system.

The philosophy is that individual mod implementation technologies should not impact the actual loading and management of mod code. This interface provides a mechanism by which we can wrap actual mod code so that the loader and other facilities can treat mods at arms length.

Author
cpw

Member Function Documentation

void cpw.mods.fml.common.ModContainer.bindMetadata ( MetadataCollection  mc)
List<ArtifactVersion> cpw.mods.fml.common.ModContainer.getDependants ( )

A list of modids that should be loaded after this one. The special value * indicates to load before any other mod.

Implemented in cpw.mods.fml.common.modloader.ModLoaderModContainer, cpw.mods.fml.common.FMLModContainer, cpw.mods.fml.common.InjectedModContainer, and cpw.mods.fml.common.DummyModContainer.

List<ArtifactVersion> cpw.mods.fml.common.ModContainer.getDependencies ( )

A list of modids that should be loaded prior to this one. The special value * indicates to load after any other mod.

Implemented in cpw.mods.fml.common.modloader.ModLoaderModContainer, cpw.mods.fml.common.FMLModContainer, cpw.mods.fml.common.InjectedModContainer, and cpw.mods.fml.common.DummyModContainer.

String cpw.mods.fml.common.ModContainer.getModId ( )
Set<ArtifactVersion> cpw.mods.fml.common.ModContainer.getRequirements ( )
String cpw.mods.fml.common.ModContainer.getSortingRules ( )
File cpw.mods.fml.common.ModContainer.getSource ( )
String cpw.mods.fml.common.ModContainer.getVersion ( )
boolean cpw.mods.fml.common.ModContainer.matches ( Object  mod)
boolean cpw.mods.fml.common.ModContainer.registerBus ( 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

Parameters
bus
controller

Implemented in cpw.mods.fml.common.modloader.ModLoaderModContainer, cpw.mods.fml.common.FMLModContainer, cpw.mods.fml.common.DummyModContainer, cpw.mods.fml.common.InjectedModContainer, cpw.mods.fml.common.FMLDummyContainer, and cpw.mods.fml.common.MCPDummyContainer.

void cpw.mods.fml.common.ModContainer.setEnabledState ( boolean  enabled)

The documentation for this interface was generated from the following file: