Class VariablesManager
java.lang.Object
rocks.gravili.notquests.paper.managers.registering.VariablesManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddVariable(Variable<?> Variable, cloud.commandframework.context.CommandContext<org.bukkit.command.CommandSender> context) doubleevaluateExpression(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 StringgetVariableType(Class<? extends Variable> variable) voidvoidregisterVariable(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
-