- getAliases(String, String...) - Static method in interface com.mrivanplays.commandworker.core.CommandManager
-
Creates the aliases with the fallback prefix bukkit is creating normally, returns all the
aliases with which command x would get registered on bukkit.
- getAliases() - Method in class com.mrivanplays.commandworker.core.RegisteredCommand
-
Returns the aliases (names) of the registered command.
- getArgument() - Method in class com.mrivanplays.commandworker.core.argument.parser.ArgumentData
-
Returns the
Argument
, data for is held here.
- getArgumentByName(String) - Method in class com.mrivanplays.commandworker.core.LiteralNode
-
Returns
Optional
value of the argument with the name specified.
- getArgumentIndex(String) - Method in class com.mrivanplays.commandworker.core.argument.parser.ArgumentHolder
-
Returns the
IndexRange
of the specified argument name, if the argument was defined in
the command structure.
- getArguments() - Method in class com.mrivanplays.commandworker.core.LiteralNode
-
Returns unmodifiable copy of the base
Arguments
with their children.
- getArgumentsByIndex(int) - Method in class com.mrivanplays.commandworker.core.LiteralNode
-
Returns unmodifiable list of all the arguments, held by this index.
- getArgumentType() - Method in interface com.mrivanplays.commandworker.core.argument.Argument
-
Returns the brigadier argument type, if the argument is required.
- getArgumentType() - Method in class com.mrivanplays.commandworker.core.argument.RequiredArgument
-
- getChildren() - Method in interface com.mrivanplays.commandworker.core.argument.Argument
-
Returns unmodifiable copy of the children this argument is holding.
- getChildren() - Method in class com.mrivanplays.commandworker.core.argument.LiteralArgument
-
- getChildren() - Method in class com.mrivanplays.commandworker.core.argument.RequiredArgument
-
- getCommand() - Method in class com.mrivanplays.commandworker.core.RegisteredCommand
-
Returns the
Command
, held by this RegisteredCommand
- getCommandStructure() - Method in class com.mrivanplays.commandworker.core.argument.parser.ArgumentHolder
-
Returns the command structure of the arguments held by this argument holder.
- getCommandStructure() - Method in class com.mrivanplays.commandworker.core.RegisteredCommand
-
Returns the cached
LiteralNode
of the represented command, which is representing the
command structure.
- getCommandSyntaxException() - Method in class com.mrivanplays.commandworker.core.argument.parser.ArgumentData
-
Returns the thrown command syntax exception while the argument was parsed.
- getEnd() - Method in class com.mrivanplays.commandworker.core.argument.parser.IndexRange
-
Returns the ending index of the range, or if it's not a range - -1
- getIndex() - Method in class com.mrivanplays.commandworker.core.argument.parser.ArgumentData
-
- getIndex() - Method in class com.mrivanplays.commandworker.core.argument.parser.IndexRange
-
Returns the index if this object doesn't represent a range, or the starting index if this
object is holding a range.
- getInput() - Method in class com.mrivanplays.commandworker.core.argument.parser.ArgumentHolder
-
Returns the sender argument input.
- getLastArgument() - Method in class com.mrivanplays.commandworker.core.argument.parser.ArgumentHolder
-
Returns the last argument, for which we have a value.
- getName() - Method in interface com.mrivanplays.commandworker.core.argument.Argument
-
Returns the name of the argument.
- getName() - Method in class com.mrivanplays.commandworker.core.argument.LiteralArgument
-
- getName() - Method in class com.mrivanplays.commandworker.core.argument.RequiredArgument
-
- getParsedValue() - Method in class com.mrivanplays.commandworker.core.argument.parser.ArgumentData
-
Returns the parsed value of the held argument.
- getPermissionCheckFunction() - Method in class com.mrivanplays.commandworker.core.RegisteredCommand
-
- getRawArgs() - Method in class com.mrivanplays.commandworker.core.argument.parser.ArgumentHolder
-
Returns the arguments in their raw state.
- getRawRequiredArgument(String) - Method in class com.mrivanplays.commandworker.core.argument.parser.ArgumentHolder
-
Returns the specified required argument's name's argument if is typed in its raw state.
- getRawValue() - Method in class com.mrivanplays.commandworker.core.argument.parser.ArgumentData
-
Returns the raw value of the held argument.
- getRegisteredCommands() - Method in class com.mrivanplays.commandworker.core.AbstractCommandManager
-
- getRegisteredCommands() - Method in interface com.mrivanplays.commandworker.core.CommandManager
-
Returns unmodifiable copy of the commands, registered and held by this command manager.
- getRequiredArgument(String, Class<V>) - Method in class com.mrivanplays.commandworker.core.argument.parser.ArgumentHolder
-
Retrieves the required argument with the specified name, which should be parsed to the
specified type.
- getStart() - Method in class com.mrivanplays.commandworker.core.argument.parser.IndexRange
-
Returns the starting index of the range, or if it's not a range - the index.
- getSuggestionsConsumer() - Method in interface com.mrivanplays.commandworker.core.argument.Argument
-
Returns the SuggestionsBuilder
consumer, which is able to modify the suggestions for
this argument.
- getSuggestionsConsumer() - Method in class com.mrivanplays.commandworker.core.argument.RequiredArgument
-