Contents
Class TimeModule
java.lang.Object
com.hypixel.hytale.server.core.plugin.PluginBase
com.hypixel.hytale.server.core.plugin.JavaPlugin
com.hypixel.hytale.server.core.modules.time.TimeModule
- All Implemented Interfaces:
CommandOwner
A time module plugin, for managing time-related systems and resources.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PluginManifestThe manifest for the time module plugin.Fields inherited from class PluginBase
METRICS_REGISTRY -
Constructor Summary
ConstructorsConstructorDescriptionTimeModule(JavaPluginInit init) Default Constructor for aTimeModuleinstance. -
Method Summary
Methods inherited from class JavaPlugin
getClassLoader, getFile, getTypeMethods inherited from class PluginBase
getAssetRegistry, getBasePermission, getChunkStoreRegistry, getClientFeatureRegistry, getCodecRegistry, getCodecRegistry, getCodecRegistry, getCommandRegistry, getDataDirectory, getEntityRegistry, getEntityStoreRegistry, getEventRegistry, getIdentifier, getLogger, getManifest, getName, getState, getTaskRegistry, isDisabled, isEnabled, preLoad
-
Field Details
-
MANIFEST
The manifest for the time module plugin.
-
-
Constructor Details
-
TimeModule
Default Constructor for aTimeModuleinstance.- Parameters:
init- The plugin initialization step for this plugin
-
-
Method Details
-
get
- Returns:
- the static instance for this plugin.
-
getWorldTimeResourceType
- Returns:
- the resource type for the
WorldTimeResourceresource.
-
getTimeResourceType
- Returns:
- the resource type for the
TimeResourceresource.
-