Class ConditionsManager

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

public class ConditionsManager extends Object
  • Constructor Details

    • ConditionsManager

      public ConditionsManager(NotQuests main)
  • Method Details

    • registerDefaultConditions

      public void registerDefaultConditions()
    • registerCondition

      public void registerCondition(String identifier, Class<? extends Condition> condition)
    • getConditionClass

      public final Class<? extends Condition> getConditionClass(String type)
    • getConditionType

      public final String getConditionType(Class<? extends Condition> condition)
    • getConditionsAndIdentifiers

      public final HashMap<String,Class<? extends Condition>> getConditionsAndIdentifiers()
    • getConditions

      public final Collection<Class<? extends Condition>> getConditions()
    • getConditionIdentifiers

      public final Collection<String> getConditionIdentifiers()
    • addCondition

      public void addCondition(Condition condition, cloud.commandframework.context.CommandContext<org.bukkit.command.CommandSender> context)
    • getConditionFromString

      public final Condition getConditionFromString(String conditionString)