YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.command.ICommandManager Interface Reference
Inheritance diagram for net.minecraft.command.ICommandManager:
net.minecraft.command.CommandHandler net.minecraft.command.ServerCommandManager

Public Member Functions

int executeCommand (ICommandSender icommandsender, String s)
 
List getPossibleCommands (ICommandSender icommandsender, String s)
 
List getPossibleCommands (ICommandSender icommandsender)
 
Map getCommands ()
 

Member Function Documentation

int net.minecraft.command.ICommandManager.executeCommand ( ICommandSender  icommandsender,
String  s 
)
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.


The documentation for this interface was generated from the following file: