Class ActionManager
java.lang.Object
rocks.gravili.notquests.paper.managers.registering.ActionManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAction
(Action action, cloud.commandframework.context.CommandContext<org.bukkit.command.CommandSender> context) void
executeActionWithConditions
(Action action, QuestPlayer questPlayer, org.bukkit.command.CommandSender sender, boolean silent, Object... objects) getActionClass
(String type) final Collection<String>
final Collection<Class<? extends Action>>
final String
getActionType
(Class<? extends Action> action) void
registerAction
(String identifier, Class<? extends Action> action) void
-
Constructor Details
-
ActionManager
-
-
Method Details
-
registerDefaultActions
public void registerDefaultActions() -
registerAction
-
getActionClass
-
getActionType
-
getActionsAndIdentifiers
-
getActions
-
getActionIdentifiers
-
addAction
public void addAction(Action action, cloud.commandframework.context.CommandContext<org.bukkit.command.CommandSender> context) -
executeActionWithConditions
public void executeActionWithConditions(Action action, QuestPlayer questPlayer, org.bukkit.command.CommandSender sender, boolean silent, Object... objects)
-