net.minecraft.command

## Interface ICommandManager

- All Known Implementing Classes:
    CommandHandler, ServerCommandManager

      public interface ICommandManager

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `executeCommand(ICommandSender icommandsender, String s)`
    `Map` | `getCommands()` returns a map of string to commads.
    `List` | `getPossibleCommands(ICommandSender icommandsender)` returns all commands that the commandSender can use
    `List` | `getPossibleCommands(ICommandSender icommandsender, String s)` Performs a "begins with" string match on each token in par2.

- - ### Method Detail

    - #### executeCommand

          int executeCommand(ICommandSender icommandsender,
                           String s)

    - #### getPossibleCommands

          List getPossibleCommands(ICommandSender icommandsender,
                                 String s)

      Performs a "begins with" string match on each token in par2. Only returns commands that par1 can use.

    - #### getPossibleCommands

          List getPossibleCommands(ICommandSender icommandsender)

      returns all commands that the commandSender can use

    - #### getCommands

          Map getCommands()

      returns a map of string to commads. All commands are returned, not just ones which someone has permission to use.