net.minecraftforge.common
Class ForgeDummyContainer
java.lang.Object
cpw.mods.fml.common.DummyModContainer
net.minecraftforge.common.ForgeDummyContainer
- All Implemented Interfaces:
- ModContainer
public class ForgeDummyContainer
- extends DummyModContainer
Method Summary |
void |
preInit(FMLPreInitializationEvent evt)
|
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 |
bindMetadata, getDependants, getDependencies, getDisplayVersion, getMetadata, getMod, getModId, getName, getProcessedVersion, getRequirements, getSortingRules, getSource, getVersion, isImmutable, isNetworkMod, matches, setEnabledState |
ForgeDummyContainer
public ForgeDummyContainer()
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
preInit
public void preInit(FMLPreInitializationEvent evt)