Class LifecycleCommandInstaller
java.lang.Object
com.ultikits.ultitools.command.engine.LifecycleCommandInstaller
Installs the only registrar callback while the framework is enabling.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLifecycleCommandInstaller(Supplier<io.papermc.paper.plugin.lifecycle.event.LifecycleEventManager<org.bukkit.plugin.Plugin>> lifecycle, CommandBindings bindings, Logger logger) -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) boolean
-
Field Details
-
lifecycle
private final Supplier<io.papermc.paper.plugin.lifecycle.event.LifecycleEventManager<org.bukkit.plugin.Plugin>> lifecycle -
bindings
-
logger
-
installed
private boolean installed
-
-
Constructor Details
-
LifecycleCommandInstaller
LifecycleCommandInstaller(Supplier<io.papermc.paper.plugin.lifecycle.event.LifecycleEventManager<org.bukkit.plugin.Plugin>> lifecycle, CommandBindings bindings, Logger logger)
-
-
Method Details
-
ensureInstalled
void ensureInstalled() -
isInstalled
boolean isInstalled()
-