public final class FMLContainer extends DummyModContainer implements WorldAccessContainer
ModContainer.Disableable
EMPTY_PROPERTIES
Constructor and Description |
---|
FMLContainer() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkModLists(java.util.Map<java.lang.String,java.lang.String> modList,
Side side) |
java.lang.Class<?> |
getCustomResourcePackClass() |
NBTTagCompound |
getDataForWriting(SaveHandler handler,
WorldInfo info) |
java.lang.String |
getGuiClassName() |
java.lang.Object |
getMod()
Get the actual mod object
|
java.security.cert.Certificate |
getSigningCertificate() |
java.io.File |
getSource()
The location on the file system which this mod came from
|
void |
modConstruction(FMLConstructionEvent evt) |
void |
modPreinitialization(FMLPreInitializationEvent evt) |
void |
readData(SaveHandler handler,
WorldInfo info,
java.util.Map<java.lang.String,NBTBase> propertyMap,
NBTTagCompound tag) |
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
|
acceptableMinecraftVersionRange, bindMetadata, canBeDisabled, getClassVersion, getCustomModProperties, getDependants, getDependencies, getDisplayVersion, getMetadata, getModId, getName, getOwnedPackages, getProcessedVersion, getRequirements, getSharedModDescriptor, getSortingRules, getUpdateUrl, getVersion, isImmutable, matches, setClassVersion, setEnabledState, shouldLoadInEnvironment, toString
public boolean registerBus(com.google.common.eventbus.EventBus bus, LoadController controller)
ModContainer
registerBus
in interface ModContainer
registerBus
in class DummyModContainer
public void modConstruction(FMLConstructionEvent evt)
public void modPreinitialization(FMLPreInitializationEvent evt)
public boolean checkModLists(java.util.Map<java.lang.String,java.lang.String> modList, Side side)
public NBTTagCompound getDataForWriting(SaveHandler handler, WorldInfo info)
getDataForWriting
in interface WorldAccessContainer
public void readData(SaveHandler handler, WorldInfo info, java.util.Map<java.lang.String,NBTBase> propertyMap, NBTTagCompound tag)
readData
in interface WorldAccessContainer
public java.security.cert.Certificate getSigningCertificate()
getSigningCertificate
in interface ModContainer
getSigningCertificate
in class DummyModContainer
public java.io.File getSource()
ModContainer
getSource
in interface ModContainer
getSource
in class DummyModContainer
public java.lang.Class<?> getCustomResourcePackClass()
getCustomResourcePackClass
in interface ModContainer
getCustomResourcePackClass
in class DummyModContainer
public java.lang.String getGuiClassName()
getGuiClassName
in interface ModContainer
getGuiClassName
in class DummyModContainer
public java.lang.Object getMod()
ModContainer
getMod
in interface ModContainer
getMod
in class DummyModContainer