YATS/Forge Documentation
|
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< ArtifactVersion > | getRequirements () |
List< ArtifactVersion > | getDependencies () |
List< ArtifactVersion > | getDependants () |
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 |
cpw.mods.fml.common.InjectedModContainer.InjectedModContainer | ( | ModContainer | mc, |
File | source | ||
) |
VersionRange cpw.mods.fml.common.InjectedModContainer.acceptableMinecraftVersionRange | ( | ) |
Implements cpw.mods.fml.common.ModContainer.
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 | ( | ) |
Implements cpw.mods.fml.common.ModContainer.
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 | ( | ) |
Implements cpw.mods.fml.common.ModContainer.
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 | ( | ) |
Implements cpw.mods.fml.common.ModContainer.
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 | ( | ) |
Implements cpw.mods.fml.common.ModContainer.
boolean cpw.mods.fml.common.InjectedModContainer.isNetworkMod | ( | ) |
Implements cpw.mods.fml.common.ModContainer.
boolean cpw.mods.fml.common.InjectedModContainer.matches | ( | Object | mod) |
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
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 | ( | ) |
final ModContainer cpw.mods.fml.common.InjectedModContainer.wrappedContainer |