Class ConditionsManager
java.lang.Object
rocks.gravili.notquests.paper.managers.registering.ConditionsManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCondition
(Condition condition, cloud.commandframework.context.CommandContext<org.bukkit.command.CommandSender> context) getConditionClass
(String type) final Condition
getConditionFromString
(String conditionString) final Collection<String>
final Collection<Class<? extends Condition>>
final String
getConditionType
(Class<? extends Condition> condition) void
registerCondition
(String identifier, Class<? extends Condition> condition) void
-
Constructor Details
-
ConditionsManager
-
-
Method Details
-
registerDefaultConditions
public void registerDefaultConditions() -
registerCondition
-
getConditionClass
-
getConditionType
-
getConditionsAndIdentifiers
-
getConditions
-
getConditionIdentifiers
-
addCondition
public void addCondition(Condition condition, cloud.commandframework.context.CommandContext<org.bukkit.command.CommandSender> context) -
getConditionFromString
-