public class CommandPardonIp extends CommandBase
CommandBase.CoordinateArg| Constructor and Description |
|---|
CommandPardonIp() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
addTabCompletionOptions(ICommandSender sender,
java.lang.String[] args,
BlockPos pos) |
boolean |
canCommandSenderUseCommand(ICommandSender sender)
Returns true if the given command sender is allowed to use this command.
|
java.lang.String |
getCommandName()
Gets the name of the command
|
java.lang.String |
getCommandUsage(ICommandSender sender)
Gets the usage string for the command.
|
int |
getRequiredPermissionLevel()
Return the required permission level for this command.
|
void |
processCommand(ICommandSender sender,
java.lang.String[] args)
Callback when the command is invoked
|
buildString, compareTo, doesStringStartWith, func_175763_c, func_175768_b, func_175771_a, func_181043_b, getBlockByText, getChatComponentFromNthArg, getChatComponentFromNthArg, getCommandAliases, getCommandSenderAsPlayer, getEntity, getEntityName, getItemByText, getListOfStringsMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, getPlayerName, isUsernameIndex, join, joinNiceString, joinNiceStringFromCollection, notifyOperators, notifyOperators, parseBlockPos, parseBoolean, parseCoordinate, parseCoordinate, parseDouble, parseDouble, parseDouble, parseDouble, parseDouble, parseInt, parseInt, parseInt, parseLong, parseLong, setAdminCommanderpublic java.lang.String getCommandName()
public int getRequiredPermissionLevel()
getRequiredPermissionLevel in class CommandBasepublic boolean canCommandSenderUseCommand(ICommandSender sender)
canCommandSenderUseCommand in interface ICommandcanCommandSenderUseCommand in class CommandBasepublic java.lang.String getCommandUsage(ICommandSender sender)
sender - The command sender that executed the commandpublic void processCommand(ICommandSender sender, java.lang.String[] args) throws CommandException
sender - The command sender that executed the commandargs - The arguments that were passedCommandExceptionpublic java.util.List<java.lang.String> addTabCompletionOptions(ICommandSender sender, java.lang.String[] args, BlockPos pos)
addTabCompletionOptions in interface ICommandaddTabCompletionOptions in class CommandBase