public class MinecraftDummyContainer extends DummyModContainer
ModContainer.Disableable
EMPTY_PROPERTIES
Constructor and Description |
---|
MinecraftDummyContainer(java.lang.String actualMCVersion) |
Modifier and Type | Method and Description |
---|---|
java.security.cert.Certificate |
getSigningCertificate() |
java.io.File |
getSource()
The location on the file system which this mod came from
|
VersionRange |
getStaticVersionRange() |
boolean |
isImmutable() |
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, getCustomResourcePackClass, getDependants, getDependencies, getDisplayVersion, getGuiClassName, getMetadata, getMod, getModId, getName, getOwnedPackages, getProcessedVersion, getRequirements, getSharedModDescriptor, getSortingRules, getUpdateUrl, getVersion, matches, setClassVersion, setEnabledState, shouldLoadInEnvironment, toString
public MinecraftDummyContainer(java.lang.String actualMCVersion)
public boolean isImmutable()
isImmutable
in interface ModContainer
isImmutable
in class DummyModContainer
public java.io.File getSource()
ModContainer
getSource
in interface ModContainer
getSource
in class DummyModContainer
public boolean registerBus(com.google.common.eventbus.EventBus bus, LoadController controller)
ModContainer
registerBus
in interface ModContainer
registerBus
in class DummyModContainer
public VersionRange getStaticVersionRange()
@Nullable public java.security.cert.Certificate getSigningCertificate()
getSigningCertificate
in interface ModContainer
getSigningCertificate
in class DummyModContainer