public class RootCommand extends net.minecraft.command.CommandBase implements IModCommand
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
name |
| Constructor and Description |
|---|
RootCommand(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlias(java.lang.String alias) |
void |
addChildCommand(SubCommand child) |
java.util.SortedSet<SubCommand> |
getChildren() |
java.util.List<java.lang.String> |
getCommandAliases() |
java.lang.String |
getCommandName() |
java.lang.String |
getCommandUsage(net.minecraft.command.ICommandSender sender) |
java.lang.String |
getFullCommandString() |
int |
getRequiredPermissionLevel() |
void |
printHelp(net.minecraft.command.ICommandSender sender) |
void |
processCommand(net.minecraft.command.ICommandSender sender,
java.lang.String[] args) |
addTabCompletionOptions, canCommandSenderUseCommand, compareTo, compareTo, doesStringStartWith, func_110665_a, func_110666_a, func_147176_a, func_147178_a, func_152373_a, func_152374_a, func_82360_a, func_96332_d, getBlockByText, getCommandSenderAsPlayer, getItemByText, getListOfStringsFromIterableMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, isUsernameIndex, joinNiceString, joinNiceString, joinNiceStringFromCollection, parseBoolean, parseDouble, parseDoubleBounded, parseDoubleWithMin, parseInt, parseIntBounded, parseIntWithMin, setAdminCommanderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void addChildCommand(SubCommand child)
public void addAlias(java.lang.String alias)
public java.util.SortedSet<SubCommand> getChildren()
getChildren in interface IModCommandpublic java.lang.String getCommandName()
getCommandName in interface net.minecraft.command.ICommandpublic int getRequiredPermissionLevel()
getRequiredPermissionLevel in interface IModCommandgetRequiredPermissionLevel in class net.minecraft.command.CommandBasepublic java.util.List<java.lang.String> getCommandAliases()
getCommandAliases in interface IModCommandgetCommandAliases in interface net.minecraft.command.ICommandgetCommandAliases in class net.minecraft.command.CommandBasepublic java.lang.String getCommandUsage(net.minecraft.command.ICommandSender sender)
getCommandUsage in interface net.minecraft.command.ICommandpublic void processCommand(net.minecraft.command.ICommandSender sender,
java.lang.String[] args)
processCommand in interface net.minecraft.command.ICommandpublic java.lang.String getFullCommandString()
getFullCommandString in interface IModCommandpublic void printHelp(net.minecraft.command.ICommandSender sender)
printHelp in interface IModCommand