net.minecraft.src
Class CommandServerMessage

java.lang.Object
  extended by net.minecraft.src.CommandBase
      extended by net.minecraft.src.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.
 boolean canCommandSenderUseCommand(ICommandSender par1ICommandSender)
          Returns true if the given command sender is allowed to use this command.
 List getCommandAliases()
           
 String getCommandName()
           
 void processCommand(ICommandSender par1ICommandSender, String[] par2ArrayOfStr)
           
 
Methods inherited from class net.minecraft.src.CommandBase
compareNameTo, compareTo, doesStringStartWith, getCommandSenderAsPlayer, getCommandUsage, getListOfStringsFromIterableMatchingLastWord, getListOfStringsMatchingLastWord, joinNiceString, joinString, 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

canCommandSenderUseCommand

public boolean canCommandSenderUseCommand(ICommandSender par1ICommandSender)
Returns true if the given command sender is allowed to use this command.

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

getCommandAliases

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

getCommandName

public String getCommandName()

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