|
YATS/Forge Documentation
|
Public Member Functions | |
| int | executeCommand (ICommandSender par1ICommandSender, String par2Str) |
| ICommand | registerCommand (ICommand par1ICommand) |
| List | getPossibleCommands (ICommandSender par1ICommandSender, String par2Str) |
| List | getPossibleCommands (ICommandSender par1ICommandSender) |
| Map | getCommands () |
| int net.minecraft.command.CommandHandler.executeCommand | ( | ICommandSender | par1ICommandSender, |
| String | par2Str | ||
| ) |
Implements net.minecraft.command.ICommandManager.
| Map net.minecraft.command.CommandHandler.getCommands | ( | ) |
returns a map of string to commads. All commands are returned, not just ones which someone has permission to use.
Implements net.minecraft.command.ICommandManager.
| List net.minecraft.command.CommandHandler.getPossibleCommands | ( | ICommandSender | par1ICommandSender, |
| String | par2Str | ||
| ) |
Performs a "begins with" string match on each token in par2. Only returns commands that par1 can use.
Implements net.minecraft.command.ICommandManager.
| List net.minecraft.command.CommandHandler.getPossibleCommands | ( | ICommandSender | par1ICommandSender) |
returns all commands that the commandSender can use
Implements net.minecraft.command.ICommandManager.
adds the command and any aliases it has to the internal map of available commands