Class ObjectiveManager

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

public class ObjectiveManager extends Object
  • Constructor Details

    • ObjectiveManager

      public ObjectiveManager(NotQuests main)
  • Method Details

    • registerDefaultObjectives

      public void registerDefaultObjectives()
    • registerObjective

      public void registerObjective(String identifier, Class<? extends Objective> objective)
    • getObjectiveClass

      public final Class<? extends Objective> getObjectiveClass(String type)
    • getObjectiveType

      public final String getObjectiveType(Class<? extends Objective> objective)
    • getObjectivesAndIdentifiers

      public final HashMap<String,Class<? extends Objective>> getObjectivesAndIdentifiers()
    • getObjectives

      public final Collection<Class<? extends Objective>> getObjectives()
    • getObjectiveIdentifiers

      public final Collection<String> getObjectiveIdentifiers()
    • addObjective

      public void addObjective(Objective objective, cloud.commandframework.context.CommandContext<org.bukkit.command.CommandSender> context)