net.minecraft.command
Class CommandServerMessage

java.lang.Object
  extended by net.minecraft.command.CommandBase
      extended by net.minecraft.command.CommandServerMessage
All Implemented Interfaces:
Comparable, ICommand

public class CommandServerMessage
extends CommandBase


Constructor Summary
CommandServerMessage()
           
 
Method Summary
 List addTabCompletionOptions(ICommandSender par1ICommandSender, String[] par2ArrayOfStr)
          Adds the strings available in this command to the given list of tab completion options.
 List getCommandAliases()
           
 String getCommandName()
           
 int getRequiredPermissionLevel()
          Return the required permission level for this command.
 boolean isUsernameIndex(int par1)
          Return whether the specified command parameter index is a username parameter.
 void processCommand(ICommandSender par1ICommandSender, String[] par2ArrayOfStr)
           
 
Methods inherited from class net.minecraft.command.CommandBase
canCommandSenderUseCommand, compareNameTo, compareTo, doesStringStartWith, func_82359_c, func_82360_a, func_82361_a, func_82363_b, getCommandSenderAsPlayer, getCommandUsage, getListOfStringsFromIterableMatchingLastWord, getListOfStringsMatchingLastWord, joinNiceString, notifyAdmins, notifyAdmins, parseInt, parseIntBounded, parseIntWithMin, setAdminCommander
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandServerMessage

public CommandServerMessage()
Method Detail

getCommandAliases

public List getCommandAliases()
Specified by:
getCommandAliases in interface ICommand
Overrides:
getCommandAliases in class CommandBase

getCommandName

public String getCommandName()

getRequiredPermissionLevel

public int getRequiredPermissionLevel()
Return the required permission level for this command.

Overrides:
getRequiredPermissionLevel in class CommandBase

processCommand

public void processCommand(ICommandSender par1ICommandSender,
                           String[] par2ArrayOfStr)

addTabCompletionOptions

public List addTabCompletionOptions(ICommandSender par1ICommandSender,
                                    String[] par2ArrayOfStr)
Adds the strings available in this command to the given list of tab completion options.

Specified by:
addTabCompletionOptions in interface ICommand
Overrides:
addTabCompletionOptions in class CommandBase

isUsernameIndex

public boolean isUsernameIndex(int par1)
Return whether the specified command parameter index is a username parameter.

Specified by:
isUsernameIndex in interface ICommand
Overrides:
isUsernameIndex in class CommandBase