Package net.minecraft.src
Interface ICommandManager
- All Known Implementing Classes:
CommandHandler,ServerCommandManager
public interface ICommandManager
-
Method Summary
Modifier and TypeMethodDescriptionintexecuteCommand(ICommandSender var1, String var2) returns a map of string to commads.returns all commands that the commandSender can usegetPossibleCommands(ICommandSender var1, String var2) Performs a "begins with" string match on each token in par2.
-
Method Details
-
executeCommand
-
getPossibleCommands
Performs a "begins with" string match on each token in par2. Only returns commands that par1 can use. -
getPossibleCommands
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.
-