public class CommandPardonPlayer extends CommandBase
CommandBase.CoordinateArg
Constructor and Description |
---|
CommandPardonPlayer() |
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, setAdminCommander
public java.lang.String getCommandName()
public int getRequiredPermissionLevel()
getRequiredPermissionLevel
in class CommandBase
public java.lang.String getCommandUsage(ICommandSender sender)
public boolean canCommandSenderUseCommand(ICommandSender sender)
canCommandSenderUseCommand
in interface ICommand
canCommandSenderUseCommand
in class CommandBase
public void processCommand(ICommandSender sender, java.lang.String[] args) throws CommandException
CommandException
public java.util.List<java.lang.String> addTabCompletionOptions(ICommandSender sender, java.lang.String[] args, BlockPos pos)
addTabCompletionOptions
in interface ICommand
addTabCompletionOptions
in class CommandBase