net.minecraft.command
Interface ICommandManager

All Known Implementing Classes:
CommandHandler, ServerCommandManager

public interface ICommandManager


Method Summary
 void executeCommand(ICommandSender var1, String var2)
           
 Map getCommands()
          returns a map of string to commads.
 List getPossibleCommands(ICommandSender var1)
          returns all commands that the commandSender can use
 List getPossibleCommands(ICommandSender var1, String var2)
          Performs a "begins with" string match on each token in par2.
 

Method Detail

executeCommand

void executeCommand(ICommandSender var1,
                    String var2)

getPossibleCommands

List getPossibleCommands(ICommandSender var1,
                         String var2)
Performs a "begins with" string match on each token in par2. Only returns commands that par1 can use.


getPossibleCommands

List getPossibleCommands(ICommandSender var1)
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.