Package org.cyclops.cyclopscore.init
Class ModBaseVersionable<T extends ModBaseVersionable>
java.lang.Object
org.cyclops.cyclopscore.init.ModBase<T>
org.cyclops.cyclopscore.init.ModBaseVersionable<T>
- All Implemented Interfaces:
IModVersion
- Direct Known Subclasses:
CyclopsCore
public abstract class ModBaseVersionable<T extends ModBaseVersionable>
extends ModBase<T>
implements IModVersion
A
ModBase
which is also a IModVersion
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.cyclops.cyclopscore.init.ModBase
ModBase.EnumReferenceKey<T>
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.init.ModBase
REFKEY_CRASH_ON_INVALID_RECIPE, REFKEY_CRASH_ON_MODCOMPAT_CRASH, REFKEY_INFOBOOK_REWARDS, REFKEY_RETROGEN, REFKEY_TEXTURE_PATH_GUI, REFKEY_TEXTURE_PATH_MODELS, REFKEY_TEXTURE_PATH_SKINS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetInfo()
boolean
boolean
void
setVersionInfo
(String version, String info, String updateUrl) Methods inherited from class org.cyclops.cyclopscore.init.ModBase
constructBaseCommand, constructCapabilityConstructorRegistry, constructClientProxy, constructCommonProxy, constructConfigHandler, constructDefaultCreativeModeTab, constructDefaultCreativeModeTabConfig, constructIMCHandler, constructLoggerHelper, constructModCompatLoader, constructPacketHandler, constructRegistryManager, equals, get, getContainer, getModName, getProxy, getReferenceValue, hasDefaultCreativeModeTab, hashCode, loadModCompats, log, log, onConfigsRegister, onRegisterKeyMappings, onServerAboutToStart, onServerStarted, onServerStarting, onServerStopping, putGenericReference, registerDefaultCreativeTabEntry, registerWorldStorage, setup, setupClient, toString
-
Constructor Details
-
ModBaseVersionable
-
-
Method Details
-
setVersionInfo
- Specified by:
setVersionInfo
in interfaceIModVersion
-
isVersionInfo
public boolean isVersionInfo()- Specified by:
isVersionInfo
in interfaceIModVersion
-
getVersion
- Specified by:
getVersion
in interfaceIModVersion
-
getInfo
- Specified by:
getInfo
in interfaceIModVersion
-
getUpdateUrl
- Specified by:
getUpdateUrl
in interfaceIModVersion
-
needsUpdate
public boolean needsUpdate()- Specified by:
needsUpdate
in interfaceIModVersion
-