Package com.velocitypowered.api.command
Interface CommandInvocation<T>
-
- Type Parameters:
T
- the type of the arguments
- All Known Subinterfaces:
RawCommand.Invocation
,SimpleCommand.Invocation
public interface CommandInvocation<T>
Provides information related to the possible execution of aCommand
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
arguments()
Returns the arguments after the command alias.CommandSource
source()
Returns the source to execute the command for.
-
-
-
Method Detail
-
source
CommandSource source()
Returns the source to execute the command for.- Returns:
- the command source
-
arguments
T arguments()
Returns the arguments after the command alias.- Returns:
- the command arguments
-
-