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 Stringbuild()@Nullable ComponentBuilderRetrieves the ComponentBuilder associated with the provided name, and returns a new instance for building from.builders()revxrsal.commands.Lamp<? 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.HelperMethodshelper()voidinitComponents(Platform platform, String version) Initializes all components with the provided platform and version.voidinitRegistries(Platform platform, String version) Initializes the registries for all components with the provided platform and version.voidload()net.tnemc.menu.core.MenuHandlermenu()voidvoidvoidvoidvoidpostLoad()voidqueries()abstract voidregisterCallbacks(CallbackManager callbackManager) Used to registerCallbacksduring initialization.abstract voidUsed to register the command handlers.abstract voidUsed to register commands.abstract voidabstract voidabstract <A extends revxrsal.commands.command.CommandActor>
@NotNull revxrsal.commands.LampBuilderVisitor<A> Used to register command parameter types.abstract voidabstract voidvoidstorage()update()abstract Stringversion()abstract String
-
Constructor Details
-
PluginEngine
public PluginEngine()
-
-
Method Details
-
load
-
postLoad
-
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) -
registerParameters
@NotNull public abstract <A extends revxrsal.commands.command.CommandActor> @NotNull revxrsal.commands.LampBuilderVisitor<A> registerParameters()Used to register command parameter types. -
registerCommands
Used to register commands. -
registerMenuHandler
-
registerCallbacks
Used to registerCallbacksduring 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
-