Interface CommandExecutor<T extends CommandSource>

Type Parameters:
T - the command source

public interface CommandExecutor<T extends CommandSource>
Handles executing a command.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(T source, Command command, String[] args)
    Executes the given Command with the given CommandSource.
  • Method Details

    • execute

      void execute(T source, Command command, String[] args)
      Executes the given Command with the given CommandSource.
      Parameters:
      source - the command source
      command - the command
      args - the arguments