net.minecraft.src
Class CommandServerMessage
java.lang.Object
net.minecraft.src.CommandBase
net.minecraft.src.CommandServerMessage
- All Implemented Interfaces:
- Comparable, ICommand
public class CommandServerMessage
- extends CommandBase
Methods inherited from class net.minecraft.src.CommandBase |
compareNameTo, compareTo, doesStringStartWith, getCommandSenderAsPlayer, getCommandUsage, getListOfStringsFromIterableMatchingLastWord, getListOfStringsMatchingLastWord, joinNiceString, joinString, notifyAdmins, notifyAdmins, parseInt, parseIntBounded, parseIntWithMin, setAdminCommander |
CommandServerMessage
public CommandServerMessage()
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