java.lang.Object
rocks.gravili.notquests.spigot.managers.registering.ActionManager

public class ActionManager extends Object
  • Constructor Details

    • ActionManager

      public ActionManager(NotQuests main)
  • Method Details

    • registerDefaultActions

      public void registerDefaultActions()
    • registerAction

      public void registerAction(String identifier, Class<? extends Action> action)
    • getActionClass

      public final Class<? extends Action> getActionClass(String type)
    • getActionType

      public final String getActionType(Class<? extends Action> action)
    • getActionsAndIdentifiers

      public final HashMap<String,Class<? extends Action>> getActionsAndIdentifiers()
    • getActions

      public final Collection<Class<? extends Action>> getActions()
    • getActionIdentifiers

      public final Collection<String> getActionIdentifiers()
    • addAction

      public void addAction(Action action, cloud.commandframework.context.CommandContext<org.bukkit.command.CommandSender> context)
    • executeActionWithConditions

      public void executeActionWithConditions(Action action, QuestPlayer questPlayer, net.kyori.adventure.audience.Audience audience, boolean silent, Object... objects)