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 a Command.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the arguments after the command alias.
    Returns the source to execute the command for.
  • Method Details

    • 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