Package net.tnemc.plugincore.core
Class PluginEngine
java.lang.Object
net.tnemc.plugincore.core.PluginEngine
PluginEngine
- Since:
- 0.0.1.0
- Author:
- creatorfromhell
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
build()
@Nullable ComponentBuilder
Retrieves the ComponentBuilder associated with the provided name, and returns a new instance for building from.builders()
revxrsal.commands.Lamp.Builder
<? extends revxrsal.commands.command.CommandActor> command()
abstract <T extends revxrsal.commands.command.CommandActor>
StringcommandHelpWriter
(revxrsal.commands.command.ExecutableCommand<T> command, T actor) net.tnemc.item.providers.HelperMethods
helper()
void
initComponents
(Platform platform, String version) Initializes all components with the provided platform and version.void
initRegistries
(Platform platform, String version) Initializes the registries for all components with the provided platform and version.net.tnemc.menu.core.MenuHandler
menu()
void
void
void
void
void
queries()
abstract void
registerCallbacks
(CallbackManager callbackManager) Used to registerCallbacks
during initialization.abstract void
Used to register the command handlers.abstract void
Used to register commands.abstract void
abstract void
abstract void
abstract void
void
storage()
update()
abstract String
version()
abstract String
-
Constructor Details
-
PluginEngine
public PluginEngine()
-
-
Method Details
-
versionCheckSite
-
version
- Returns:
- The current version for this plugin.
-
build
- Returns:
- The build for this version.
-
registerConfigs
-
initComponents
Initializes all components with the provided platform and version.- Parameters:
platform
- the platform to initialize the components forversion
- the Minecraft version string to initialize the components with
-
initRegistries
Initializes the registries for all components with the provided platform and version.- Parameters:
platform
- the platform to initialize the registries forversion
- the Minecraft version string to initialize the registries with
-
registerPluginChannels
-
registerStorage
-
registerCommandHandler
Used to register the command handlers. -
commandHelpWriter
public abstract <T extends revxrsal.commands.command.CommandActor> String commandHelpWriter(revxrsal.commands.command.ExecutableCommand<T> command, T actor) -
registerCommands
Used to register commands. -
registerMenuHandler
-
registerCallbacks
Used to registerCallbacks
during initialization. -
registerUpdateChecker
-
components
-
builders
-
queries
-
transactions
-
builder
Retrieves the ComponentBuilder associated with the provided name, and returns a new instance for building from.- Parameters:
name
- the name of the ComponentBuilder to retrieve- Returns:
- the new instance of the ComponentBuilder if present in the builders map to start building from, null otherwise
-
storage
-
command
-
helper
-
update
-
postConfigs
-
postStorage
-
postCommands
-
postEnable
-
postDisable
-