public class MCPDummyContainer extends DummyModContainer
ModContainer.Disableable
EMPTY_PROPERTIES
Constructor and Description |
---|
MCPDummyContainer(ModMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
ModContainer.Disableable |
canBeDisabled() |
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, getClassVersion, getCustomModProperties, getCustomResourcePackClass, getDependants, getDependencies, getDisplayVersion, getGuiClassName, getMetadata, getMod, getModId, getName, getOwnedPackages, getProcessedVersion, getRequirements, getSharedModDescriptor, getSigningCertificate, getSortingRules, getSource, getUpdateUrl, getVersion, isImmutable, matches, setClassVersion, setEnabledState, shouldLoadInEnvironment, toString
public MCPDummyContainer(ModMetadata metadata)
public boolean registerBus(com.google.common.eventbus.EventBus bus, LoadController controller)
ModContainer
registerBus
in interface ModContainer
registerBus
in class DummyModContainer
public ModContainer.Disableable canBeDisabled()
canBeDisabled
in interface ModContainer
canBeDisabled
in class DummyModContainer