YATS/Forge Documentation
|
Public Member Functions | |
int | executeCommand (ICommandSender icommandsender, String s) |
List | getPossibleCommands (ICommandSender icommandsender, String s) |
List | getPossibleCommands (ICommandSender icommandsender) |
Map | getCommands () |
int net.minecraft.command.ICommandManager.executeCommand | ( | ICommandSender | icommandsender, |
String | s | ||
) |
Implemented in net.minecraft.command.CommandHandler.
Map net.minecraft.command.ICommandManager.getCommands | ( | ) |
returns a map of string to commads. All commands are returned, not just ones which someone has permission to use.
Implemented in net.minecraft.command.CommandHandler.
List net.minecraft.command.ICommandManager.getPossibleCommands | ( | ICommandSender | icommandsender, |
String | s | ||
) |
Performs a "begins with" string match on each token in par2. Only returns commands that par1 can use.
Implemented in net.minecraft.command.CommandHandler.
List net.minecraft.command.ICommandManager.getPossibleCommands | ( | ICommandSender | icommandsender) |
returns all commands that the commandSender can use
Implemented in net.minecraft.command.CommandHandler.