public class CommandTreeHelp extends CommandTreeBase
Modifier and Type | Class and Description |
---|---|
static class |
CommandTreeHelp.HelpSubCommand |
CommandBase.CoordinateArg
Constructor and Description |
---|
CommandTreeHelp(CommandTreeBase parent) |
Modifier and Type | Method and Description |
---|---|
void |
execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
java.lang.String |
getName() |
int |
getRequiredPermissionLevel() |
java.lang.String |
getUsage(ICommandSender sender) |
addSubcommand, getCommandMap, getSortedCommandList, getSubCommand, getSubCommands, getTabCompletions, isUsernameIndex
buildString, checkPermission, compareTo, convertArgToBlockState, convertArgToBlockStatePredicate, doesStringStartWith, entityToNBT, getAliases, getBlockByText, getChatComponentFromNthArg, getChatComponentFromNthArg, getCommandSenderAsPlayer, getEntity, getEntity, getEntityList, getEntityName, getItemByText, getListOfStringsMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, getPlayerName, getPlayers, getTabCompletionCoordinate, getTabCompletionCoordinateXZ, join, joinNiceString, joinNiceStringFromCollection, notifyCommandListener, notifyCommandListener, parseBlockPos, parseBoolean, parseCoordinate, parseCoordinate, parseDouble, parseDouble, parseDouble, parseDouble, parseDouble, parseInt, parseInt, parseInt, parseLong, parseLong, setCommandListener, toSyntaxException
private final ICommand parent
public CommandTreeHelp(CommandTreeBase parent)
public int getRequiredPermissionLevel()
getRequiredPermissionLevel
in class CommandBase
public java.lang.String getName()
public java.lang.String getUsage(ICommandSender sender)
public void execute(MinecraftServer server, ICommandSender sender, java.lang.String[] args) throws CommandException
execute
in interface ICommand
execute
in class CommandTreeBase
CommandException