cpw.mods.fml.common
Class MCPDummyContainer
java.lang.Object
cpw.mods.fml.common.DummyModContainer
cpw.mods.fml.common.MCPDummyContainer
- All Implemented Interfaces:
- ModContainer
public class MCPDummyContainer
- extends DummyModContainer
Method Summary |
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 |
Methods inherited from class cpw.mods.fml.common.DummyModContainer |
acceptableMinecraftVersionRange, bindMetadata, getDependants, getDependencies, getDisplayVersion, getMetadata, getMod, getModId, getName, getProcessedVersion, getRequirements, getSigningCertificate, getSortingRules, getSource, getVersion, isImmutable, isNetworkMod, matches, setEnabledState |
MCPDummyContainer
public MCPDummyContainer(ModMetadata metadata)
registerBus
public boolean registerBus(com.google.common.eventbus.EventBus bus,
LoadController controller)
- Description copied from interface:
ModContainer
- 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
- Specified by:
registerBus
in interface ModContainer
- Overrides:
registerBus
in class DummyModContainer