YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
cpw.mods.fml.common.InjectedModContainer Class Reference
Inheritance diagram for cpw.mods.fml.common.InjectedModContainer:
cpw.mods.fml.common.ModContainer

Public Member Functions

 InjectedModContainer (ModContainer mc, File source)
 
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 isNetworkMod ()
 
boolean isImmutable ()
 
String getDisplayVersion ()
 
VersionRange acceptableMinecraftVersionRange ()
 
WorldAccessContainer getWrappedWorldAccessContainer ()
 
Certificate getSigningCertificate ()
 
String toString ()
 

Public Attributes

final ModContainer wrappedContainer
 

Constructor & Destructor Documentation

cpw.mods.fml.common.InjectedModContainer.InjectedModContainer ( ModContainer  mc,
File  source 
)

Member Function Documentation

VersionRange cpw.mods.fml.common.InjectedModContainer.acceptableMinecraftVersionRange ( )
void cpw.mods.fml.common.InjectedModContainer.bindMetadata ( MetadataCollection  mc)

Attach this mod to it's metadata from the supplied metadata collection

Implements cpw.mods.fml.common.ModContainer.

List<ArtifactVersion> cpw.mods.fml.common.InjectedModContainer.getDependants ( )

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

Implements cpw.mods.fml.common.ModContainer.

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

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

Implements cpw.mods.fml.common.ModContainer.

String cpw.mods.fml.common.InjectedModContainer.getDisplayVersion ( )
ModMetadata cpw.mods.fml.common.InjectedModContainer.getMetadata ( )

The metadata for this mod

Implements cpw.mods.fml.common.ModContainer.

Object cpw.mods.fml.common.InjectedModContainer.getMod ( )

Get the actual mod object

Implements cpw.mods.fml.common.ModContainer.

String cpw.mods.fml.common.InjectedModContainer.getModId ( )

The globally unique modid for this mod

Implements cpw.mods.fml.common.ModContainer.

String cpw.mods.fml.common.InjectedModContainer.getName ( )

A human readable name

Implements cpw.mods.fml.common.ModContainer.

ArtifactVersion cpw.mods.fml.common.InjectedModContainer.getProcessedVersion ( )
Set<ArtifactVersion> cpw.mods.fml.common.InjectedModContainer.getRequirements ( )

A list of the modids that this mod requires loaded prior to loading

Implements cpw.mods.fml.common.ModContainer.

Certificate cpw.mods.fml.common.InjectedModContainer.getSigningCertificate ( )
String cpw.mods.fml.common.InjectedModContainer.getSortingRules ( )

A representative string encapsulating the sorting preferences for this mod

Implements cpw.mods.fml.common.ModContainer.

File cpw.mods.fml.common.InjectedModContainer.getSource ( )

The location on the file system which this mod came from

Implements cpw.mods.fml.common.ModContainer.

String cpw.mods.fml.common.InjectedModContainer.getVersion ( )

A human readable version identifier

Implements cpw.mods.fml.common.ModContainer.

WorldAccessContainer cpw.mods.fml.common.InjectedModContainer.getWrappedWorldAccessContainer ( )
boolean cpw.mods.fml.common.InjectedModContainer.isImmutable ( )
boolean cpw.mods.fml.common.InjectedModContainer.isNetworkMod ( )
boolean cpw.mods.fml.common.InjectedModContainer.matches ( Object  mod)

Does this mod match the supplied mod

Parameters
mod

Implements cpw.mods.fml.common.ModContainer.

boolean cpw.mods.fml.common.InjectedModContainer.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

Implements cpw.mods.fml.common.ModContainer.

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

Set the enabled/disabled state of this mod

Implements cpw.mods.fml.common.ModContainer.

String cpw.mods.fml.common.InjectedModContainer.toString ( )

Member Data Documentation

final ModContainer cpw.mods.fml.common.InjectedModContainer.wrappedContainer

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