Interface CommandExecutive


public interface CommandExecutive
Main interface used by CommandNodes as 'a method to run when someone executes me'.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Runs when a CommandNode that has this executive gets executed.
  • Method Details

    • onExecute

      void onExecute(CommandExecuteContext context)
      Runs when a CommandNode that has this executive gets executed.
      Parameters:
      context - Context of the command run event. All the information is from Command.execute(CommandSender, String, String[]).