Class VariablesManager
java.lang.Object
rocks.gravili.notquests.paper.managers.registering.VariablesManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addVariable
(Variable<?> Variable, cloud.commandframework.context.CommandContext<org.bukkit.command.CommandSender> context) double
evaluateExpression
(String expression, org.bukkit.entity.Player player, Object... objects) getVariableClass
(String type) final Variable<?>
getVariableFromString
(String variableString) final Collection<String>
final Collection<Class<? extends Variable<?>>>
final String
getVariableType
(Class<? extends Variable> variable) void
void
registerVariable
(String identifier, Class<? extends Variable<?>> Variable) cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender>
registerVariableCommands
(String variableString, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> builder)
-
Constructor Details
-
VariablesManager
-
-
Method Details
-
registerDefaultVariables
public void registerDefaultVariables() -
registerVariableCommands
public cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> registerVariableCommands(String variableString, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> builder) -
registerVariable
-
getVariableClass
-
getVariableType
-
getVariablesAndIdentifiers
-
getVariables
-
getVariableIdentifiers
-
addVariable
public void addVariable(Variable<?> Variable, cloud.commandframework.context.CommandContext<org.bukkit.command.CommandSender> context) -
getVariableFromString
-
evaluateExpression
-